[PATCH v2 0/4] Add support for the Gateworks System Controller
From: Tim Harvey
Date: Mon Mar 05 2018 - 17:03:55 EST
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 (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: Add Gateworks System Controller bindings
mfd: add Gateworks System Controller core driver
hwmon: add Gateworks System Controller support
input: misc: Add Gateworks System Controller support
Documentation/devicetree/bindings/mfd/gsc.txt | 159 +++++++++++++
drivers/hwmon/Kconfig | 9 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/gsc-hwmon.c | 330 ++++++++++++++++++++++++++
drivers/input/misc/Kconfig | 9 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/gsc-input.c | 180 ++++++++++++++
drivers/mfd/Kconfig | 13 +
drivers/mfd/Makefile | 1 +
drivers/mfd/gsc.c | 330 ++++++++++++++++++++++++++
include/linux/mfd/gsc.h | 82 +++++++
include/linux/platform_data/gsc_hwmon.h | 34 +++
include/linux/platform_data/gsc_input.h | 30 +++
13 files changed, 1179 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/gsc.txt
create mode 100644 drivers/hwmon/gsc-hwmon.c
create mode 100644 drivers/input/misc/gsc-input.c
create mode 100644 drivers/mfd/gsc.c
create mode 100644 include/linux/mfd/gsc.h
create mode 100644 include/linux/platform_data/gsc_hwmon.h
create mode 100644 include/linux/platform_data/gsc_input.h
--
2.7.4