Re: [PATCH v2 3/4] hwmon: add Gateworks System Controller support

2018-03-05 Thread Guenter Roeck
On Mon, Mar 05, 2018 at 02:02:40PM -0800, Tim Harvey wrote: > The Gateworks System Controller has a hwmon sub-component that exposes > up to 16 ADC's, some of which are temperature sensors, others which are > voltage inputs. The ADC configuration (register mapping and name) is > configured via devi

Re: [PATCH] k10temp support for AMD Ryzen w/ Vega gfx

2018-03-05 Thread Guenter Roeck
On Mon, Mar 05, 2018 at 11:38:24PM +0100, René Rebe wrote: > Hi, > > This enables k10temp for the new AMD Ryzen APUs w/ Vega Mobile Gfx. > Tested on Ryzen 5 2500U, the temperature looked plausible. > > Signed-off-by: René Rebe > > PS: 1st RFC - might get white-space damaged, will resend when

[PATCH] k10temp support for AMD Ryzen w/ Vega gfx

2018-03-05 Thread René Rebe
Hi, This enables k10temp for the new AMD Ryzen APUs w/ Vega Mobile Gfx. Tested on Ryzen 5 2500U, the temperature looked plausible. Signed-off-by: René Rebe PS: 1st RFC - might get white-space damaged, will resend when ACKed. Sorry my Xemacs/Mew broke. --- linux-4.15/drivers/hwmon/k10temp.c.v

[PATCH v2 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-05 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/mfd/gsc.txt | 159 ++ 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/m

[PATCH v2 4/4] input: misc: Add Gateworks System Controller support

2018-03-05 Thread Tim Harvey
Add support for dispatching Linux Input events for the various interrupts the Gateworks System Controller provides. Cc: Dmitry Torokhov Signed-off-by: Tim Harvey --- v2: - reword Kconfig - revise license comment block - remove unnecessary read of status register - remove unnecessary setting of i

[PATCH v2 3/4] hwmon: add Gateworks System Controller support

2018-03-05 Thread Tim Harvey
The Gateworks System Controller has a hwmon sub-component that exposes up to 16 ADC's, some of which are temperature sensors, others which are voltage inputs. The ADC configuration (register mapping and name) is configured via device-tree and varies board to board. Cc: Guenter Roeck Signed-off-by

[PATCH v2 0/4] Add support for the Gateworks System Controller

2018-03-05 Thread Tim Harvey
This series adds support for the Gateworks System Controller used on Gateworks Laguna, Ventana, and Newport product families. The GSC is an MSP430 I2C slave controller whose firmware embeds the following features: - I/O expander (16 GPIO's emulating a PCA955x) - EEPROM (enumating AT24) - RTC (e

[PATCH v2 2/4] mfd: add Gateworks System Controller core driver

2018-03-05 Thread Tim Harvey
The Gateworks System Controller (GSC) is an I2C slave controller implemented with an MSP430 micro-controller whose firmware embeds the following features: - I/O expander (16 GPIO's) using PCA955x protocol - Real Time Clock using DS1672 protocol - User EEPROM using AT24 protocol - HWMON using cu