Add VIA VX855 multi-function device support
PATCH 2/3 Add VIA VX855 multi-function device support
This device has GPIO, SPI and I2C capabilities.
The hardware can be found in the OLPC XO-1.5 laptop.
Based on earlier work by Harald Welte.
Signed-off-by Daniel Drake <[email protected]>
--- drivers/mfd/Kconfig | 9 +++ drivers/mfd/Makefile | 1 + drivers/mfd/vx855.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 157 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/vx855.c
Switched to the mfd cells design to allow the individual functions to be registered as platform devices.
I've dropped the SPI driver from the submission.
It presented a headache with the resource system, the commit message in the original version suggests that it might not be complete, and I have no way of testing it. It could be cleanly added later if someone needs it and can finish the work.
drivers/mfd/Kconfig +9 -0
@@ -576,6 +576,15 @@ config MFD_TPS6586X This driver can also be built as a module. If so, the module will be called tps6586x. +config MFD_VX855 + tristate "Support for VIA VX855/VX875 integrated south bridge" + depends on PCI + select MFD_CORE + help + Say yes here to enable support for various functions of the + VIA VX855/VX875 south bridge. You will need to enable the vx855_spi + and/or vx855_gpio drivers for this to do anything useful. + endif # MFD_SUPPORT menu "Multimedia Capabilities Port drivers"
drivers/mfd/Makefile +1 -0
@@ -78,3 +78,4 @@ obj-$(CONFIG_MFD_RDC321X) += rdc321x-southbridge.o obj-$(CONFIG_MFD_JANZ_CMODIO) += janz-cmodio.o obj-$(CONFIG_MFD_JZ4740_ADC) += jz4740-adc.o obj-$(CONFIG_MFD_TPS6586X) += tps6586x.o +obj-$(CONFIG_MFD_VX855) += vx855.o
drivers/mfd/vx855.c new file +147 -0
147 lines not on this page · raw message
Signature · 1 line
1.7.2.3