On Mon, Apr 2, 2018 at 9:32 AM, Andrew Lunn wrote:
>> The 'use case' we have been using this in for a couple years is that
>> users who want to use this watchdog will enable it externally (we have
>> a command in the bootloader) and if enabled the kernel driver (that
>> I'm proposing here which we
On Tue, Apr 3, 2018 at 9:47 AM, Andrew Lunn wrote:
> On Tue, Apr 03, 2018 at 08:48:27AM -0700, Tim Harvey wrote:
>> On Wed, Mar 28, 2018 at 8:14 AM, Tim Harvey wrote:
>> > The Gateworks System Controller (GSC) is an I2C slave controller
>> > implemented with an MS
On Wed, Mar 28, 2018 at 8:14 AM, Tim Harvey wrote:
> 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
> - R
On Fri, Mar 30, 2018 at 11:19 AM, Guenter Roeck wrote:
> On Fri, Mar 30, 2018 at 10:49:38AM -0700, Tim Harvey wrote:
>> On Thu, Mar 29, 2018 at 6:07 PM, Guenter Roeck wrote:
>> > On Wed, Mar 28, 2018 at 08:14:03AM -0700, Tim Harvey wrote:
>> >> Signed-off-by: Tim Ha
On Thu, Mar 29, 2018 at 6:07 PM, Guenter Roeck wrote:
> On Wed, Mar 28, 2018 at 08:14:03AM -0700, Tim Harvey wrote:
>> Signed-off-by: Tim Harvey
>> ---
>> drivers/watchdog/Kconfig | 10
>> drivers/watchdog/Makefile | 1 +
>>
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 add
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
>&g
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
>>
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
using custom protocol
- Interrupt controller with tamper detect, user pushbotton
- Watchdog controller capable of full board power-cycle
- Power Control capable of full board power-cycle
see http://trac.gateworks.com/wiki/gsc for more details
Cc: Randy Dunlap
Signed-off-by: Tim Harvey
-
of of to own function
- use strlcpy to ensure null termination
- fix static array sizes and removed unnecessary initializers
- dynamically allocate channels
- fix fan input label
- support platform data
Tim Harvey (4):
dt-bindings: mfd: Add Gateworks System Controller bindings
mfd: add Gate
d-off-by: Tim Harvey
---
v3:
- add voltage_raw input type and supporting fields
- add channel validation to is_visible function
- remove unnecessary channel validation from read/write functions
v2:
- change license comment style
- remove DEBUG
- simplify regmap_bulk_read err check
- remove break
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
On Fri, Mar 9, 2018 at 3:14 PM, Rob Herring wrote:
> On Mon, Mar 05, 2018 at 02:02:38PM -0800, Tim Harvey wrote:
>> This patch adds documentation of device-tree bindings for the
>> Gateworks System Controller (GSC).
>>
>> Signed-off-by: Tim Harvey
>> ---
>>
On Sat, Mar 10, 2018 at 10:45 AM, Dmitry Torokhov
wrote:
> On Mon, Mar 05, 2018 at 02:02:41PM -0800, Tim Harvey wrote:
>> Add support for dispatching Linux Input events for the various interrupts
>> the Gateworks System Controller provides.
>>
>> Cc: Dmitry Torokhov
&
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
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
d-off-by: Tim Harvey
---
v2:
- change license comment style
- remove DEBUG
- simplify regmap_bulk_read err check
- remove break after returns in switch statement
- fix fan setpoint buffer address
- remove unnecessary parens
- consistently use struct device *dev pointer
- change license/comment block
- RTC (enumating DS1672)
- HWMON
- Interrupt controller with tamper detect, user pushbotton
- Watchdog controller capable of full board power-cycle
- Power Control capable of full board power-cycle
see http://trac.gateworks.com/wiki/gsc for more details
Tim Harvey (4):
dt-bindings: mfd
using custom protocol
- Interrupt controller with tamper detect, user pushbotton
- Watchdog controller capable of full board power-cycle
- Power Control capable of full board power-cycle
see http://trac.gateworks.com/wiki/gsc for more details
Cc: Randy Dunlap
Signed-off-by: Tim Harvey
-
On Tue, Feb 27, 2018 at 6:05 PM, Guenter Roeck wrote:
> On 02/27/2018 05:21 PM, 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
>> volta
On Wed, Feb 28, 2018 at 10:53 AM, Andrew Lunn wrote:
>> + dev_err(&client->dev, ">> 0x%02x %d\n", reg, ret);
>> + return ret;
>> + }
>> + dev_dbg(&client->dev, ">> 0x%02x=0x%02x (%d)\n", reg, val, retry);
>> +
>> +return 0;
>
> Hi Tim
>
> There appears to be
On Tue, Feb 27, 2018 at 6:00 PM, Randy Dunlap wrote:
> On 02/27/2018 05:21 PM, Tim Harvey wrote:
>> The Gateworks System Controller (GSC) is an I2C slave controller
>> implemented with an MSP430 micro-controller whose firmware embeds the
>> following features:
>> - I/O
On Tue, Feb 27, 2018 at 8:54 PM, Dmitry Torokhov
wrote:
> Hi Tim,
Hi Dmitry - thanks for the review!
>
> On Tue, Feb 27, 2018 at 05:21:14PM -0800, Tim Harvey wrote:
>> Add support for dispatching Linux Input events for the various interrupts
>> the Gateworks Syste
On Wed, Feb 28, 2018 at 6:44 AM, Andrew Lunn wrote:
> On Tue, Feb 27, 2018 at 05:21:10PM -0800, Tim Harvey wrote:
>> This series adds support for the Gateworks System Controller used on
>> Gateworks
>> Laguna, Ventana, and Newport product families.
>>
>> The GSC
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 | 69 +++
1 file changed, 69 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Add support for dispatching Linux Input events for the various interrupts
the Gateworks System Controller provides.
Signed-off-by: Tim Harvey
---
drivers/input/misc/Kconfig | 6 ++
drivers/input/misc/Makefile| 1 +
drivers/input/misc/gsc-input.c | 196
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.
Signed-off-by: Tim H
using custom protocol
- Interrupt controller with tamper detect, user pushbotton
- Watchdog controller capable of full board power-cycle
- Power Control capable of full board power-cycle
see http://trac.gateworks.com/wiki/gsc for more details
Signed-off-by: Tim Harvey
---
drivers/mfd/Kc
- RTC (enumating DS1672)
- HWMON
- Interrupt controller with tamper detect, user pushbotton
- Watchdog controller capable of full board power-cycle
- Power Control capable of full board power-cycle
see http://trac.gateworks.com/wiki/gsc for more details
Tim Harvey (4):
dt-bindings: mfd
30 matches
Mail list logo