lkml.org 
[lkml]   [2016]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/6] Add Advantech iManager EC driver set
Date
From: Richard Vidal-Dorsch <richard.dorsch@gmail.com>

The Advantech iManager is an embedded controller (depending on board type,
ITE it8518/it8528) on which a custom firmware runs. All drivers (GPIO, I2C,
HWmon, Watchdog, and backlight) are being managed by the imanager mfd driver.
The imanager mfd driver acts as a 'gateway' and handles all communications
between the EC and sub-drivers (GPIO, I2C, ...). The feature specific
communication portions are split up into core files such as
imanager-ec-[gpio, i2c, ...].

Changes from v2:
I forgot to remove .owner from other drivers too... silly me!
- Remove .owner from platform_driver in:
drivers/gpio/imanager-bl
drivers/gpio/imanager-core.c
drivers/gpio/imanager-i2c.c
drivers/gpio/imanager-hwmon.c

Changes from v1:
- Remove .owner from platform_driver in drivers/gpio/imanager-gpio.c
- Remove .owner from platform_driver in drivers/gpio/imanager-wdt.c
- Replace 2015 by 2016 in all files

Richard Vidal-Dorsch (6):
Add Advantech iManager MFD core driver
Add Advantech iManager GPIO driver
Add Advantech iManager HWmon driver
Add Advantech iManager I2C driver
Add Advantech iManager Backlight driver
Add Advantech iManager Watchdog driver

Documentation/devicetree/bindings/mfd/imanager.txt | 33 +
Documentation/hwmon/imanager | 59 +
Documentation/i2c/busses/i2c-imanager | 48 +
MAINTAINERS | 13 +
drivers/gpio/Kconfig | 8 +
drivers/gpio/Makefile | 2 +
drivers/gpio/imanager-ec-gpio.c | 98 ++
drivers/gpio/imanager-gpio.c | 181 +++
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 2 +
drivers/hwmon/imanager-ec-hwmon.c | 606 +++++++++
drivers/hwmon/imanager-hwmon.c | 1057 +++++++++++++++
drivers/i2c/busses/Kconfig | 11 +
drivers/i2c/busses/Makefile | 2 +
drivers/i2c/busses/imanager-ec-i2c.c | 466 +++++++
drivers/i2c/busses/imanager-i2c.c | 239 ++++
drivers/mfd/Kconfig | 20 +
drivers/mfd/Makefile | 2 +
drivers/mfd/imanager-core.c | 287 +++++
drivers/mfd/imanager-ec.c | 1345 ++++++++++++++++++++
drivers/video/backlight/Kconfig | 12 +
drivers/video/backlight/Makefile | 2 +
drivers/video/backlight/imanager-bl.c | 198 +++
drivers/video/backlight/imanager-ec-bl.c | 118 ++
drivers/watchdog/Kconfig | 12 +
drivers/watchdog/Makefile | 2 +
drivers/watchdog/imanager-ec-wdt.c | 170 +++
drivers/watchdog/imanager-wdt.c | 333 +++++
include/linux/mfd/imanager/backlight.h | 37 +
include/linux/mfd/imanager/core.h | 31 +
include/linux/mfd/imanager/ec.h | 210 +++
include/linux/mfd/imanager/gpio.h | 27 +
include/linux/mfd/imanager/hwmon.h | 120 ++
include/linux/mfd/imanager/i2c.h | 55 +
include/linux/mfd/imanager/wdt.h | 37 +
35 files changed, 5855 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/imanager.txt
create mode 100644 Documentation/hwmon/imanager
create mode 100644 Documentation/i2c/busses/i2c-imanager
create mode 100644 drivers/gpio/imanager-ec-gpio.c
create mode 100644 drivers/gpio/imanager-gpio.c
create mode 100644 drivers/hwmon/imanager-ec-hwmon.c
create mode 100644 drivers/hwmon/imanager-hwmon.c
create mode 100644 drivers/i2c/busses/imanager-ec-i2c.c
create mode 100644 drivers/i2c/busses/imanager-i2c.c
create mode 100644 drivers/mfd/imanager-core.c
create mode 100644 drivers/mfd/imanager-ec.c
create mode 100644 drivers/video/backlight/imanager-bl.c
create mode 100644 drivers/video/backlight/imanager-ec-bl.c
create mode 100644 drivers/watchdog/imanager-ec-wdt.c
create mode 100644 drivers/watchdog/imanager-wdt.c
create mode 100644 include/linux/mfd/imanager/backlight.h
create mode 100644 include/linux/mfd/imanager/core.h
create mode 100644 include/linux/mfd/imanager/ec.h
create mode 100644 include/linux/mfd/imanager/gpio.h
create mode 100644 include/linux/mfd/imanager/hwmon.h
create mode 100644 include/linux/mfd/imanager/i2c.h
create mode 100644 include/linux/mfd/imanager/wdt.h

--
2.7.0

\
 
 \ /
  Last update: 2016-01-11 01:01    [W:0.072 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site