[PATCH v1] hwmon, via-cputem: support new centaur CPUs

2018-03-28 Thread David Wang
Newer centaur CPUs(Family == 7) also support this cpu temperature sensor. Signed-off-by: David Wang --- drivers/hwmon/via-cputemp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index 07a0cb0..2f5bd50 100644 --- a/drivers/hwm

[PATCH] hwmon, via-cputemp: support new centaur CPUs

2018-03-28 Thread David Wang
Signed-off-by: David Wang --- drivers/hwmon/via-cputemp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index 07a0cb0..aa0d040 100644 --- a/drivers/hwmon/via-cputemp.c +++ b/drivers/hwmon/via-cputemp.c @@ -136,6 +136,11 @@ sta

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

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 1:23 PM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 12:17:34PM -0700, Tim Harvey wrote: >> On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: >> > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: >> >> This patch adds documentation of device-tree bindings

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

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 01:23:59PM -0700, Tim Harvey wrote: > On Wed, Mar 28, 2018 at 10:00 AM, Guenter Roeck wrote: > > On Wed, Mar 28, 2018 at 08:14:02AM -0700, Tim Harvey wrote: > >> The Gateworks System Controller has a hwmon sub-component that exposes > >> up to 16 ADC's, some of which are te

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

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 10:00 AM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 08:14:02AM -0700, 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 confi

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

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 12:17:34PM -0700, Tim Harvey wrote: > On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: > > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: > >> This patch adds documentation of device-tree bindings for the > >> Gateworks System Controller (GSC). > >> > >> S

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

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: >> This patch adds documentation of device-tree bindings for the >> Gateworks System Controller (GSC). >> >> Signed-off-by: Tim Harvey >> --- >> v3: >> - replaced _ with - >> - re

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

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 08:14:02AM -0700, 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 v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: > This patch adds documentation of device-tree bindings for the > Gateworks System Controller (GSC). > > Signed-off-by: Tim Harvey > --- > v3: > - replaced _ with - > - remove input bindings > - added full description of hwmon > - fi

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 04:28:30PM +0100, Lee Jones wrote: > On Wed, 28 Mar 2018, Guenter Roeck wrote: > > > On 03/28/2018 03:06 AM, Lee Jones wrote: > > > On Tue, 27 Mar 2018, Guenter Roeck wrote: > > > > > > > On 03/27/2018 07:19 AM, Andrey Gusakov wrote: > > > > > The uid and die temperature c

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Lee Jones
On Tue, 27 Mar 2018, Andrey Gusakov wrote: > The uid and die temperature can be read out on the ADIN7 using > input mux. Map uid and die temperature sensor to channels 16 > and 17. > > Signed-off-by: Andrey Gusakov > --- > Changes in v3: > - comment style fixes > Changes in v2: > - suport both m

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Lee Jones
On Wed, 28 Mar 2018, Guenter Roeck wrote: > On 03/28/2018 03:06 AM, Lee Jones wrote: > > On Tue, 27 Mar 2018, Guenter Roeck wrote: > > > > > On 03/27/2018 07:19 AM, Andrey Gusakov wrote: > > > > The uid and die temperature can be read out on the ADIN7 using > > > > input mux. Map uid and die temp

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

2018-03-28 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey --- v3: - replaced _ with - - remove input bindings - added full description of hwmon - fix unit address of hwmon child nodes --- .../devicetree/bindings/mfd/gateworks-

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

2018-03-28 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

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

2018-03-28 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 v3 3/4] hwmon: add Gateworks System Controller support

2018-03-28 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 v3 4/4] watchdog: add Gateworks System Controller support

2018-03-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/watchdog/Kconfig | 10 drivers/watchdog/Makefile | 1 + drivers/watchdog/gsc_wdt.c | 146 + 3 files changed, 157 insertions(+) create mode 100644 drivers/watchdog/gsc_wdt.c diff --git a/drivers/watchdog

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Guenter Roeck
On 03/28/2018 03:06 AM, Lee Jones wrote: On Tue, 27 Mar 2018, Guenter Roeck wrote: On 03/27/2018 07:19 AM, Andrey Gusakov wrote: The uid and die temperature can be read out on the ADIN7 using input mux. Map uid and die temperature sensor to channels 16 and 17. Signed-off-by: Andrey Gusakov

Re: [PATCH v3] hwmon: MC13783: add uid and die temperature sensor inputs

2018-03-28 Thread Lee Jones
On Tue, 27 Mar 2018, Guenter Roeck wrote: > On 03/27/2018 07:19 AM, Andrey Gusakov wrote: > > The uid and die temperature can be read out on the ADIN7 using > > input mux. Map uid and die temperature sensor to channels 16 > > and 17. > > > > Signed-off-by: Andrey Gusakov > > Applied to hwmon-ne