mfd: ti-smusbdig: Add support for the TI SM-USB-DIG
Subsystems (2)
PATCH v3 1/2 mfd: ti-smusbdig: Add support for the TI SM-USB-DIG
The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. Add MFD core support.
---
Changes from v2:
- Add missing dependency on USB, thanks kbuild test robot
drivers/mfd/Kconfig | 9 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ti-smusbdig.c | 138 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/ti-smusbdig.h | 75 ++++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 drivers/mfd/ti-smusbdig.c create mode 100644 include/linux/mfd/ti-smusbdig.h
drivers/mfd/Kconfig +9 -0
@@ -1373,6 +1373,15 @@ config MFD_LM3533 additional drivers must be enabled in order to use the LED, backlight or ambient-light-sensor functionality of the device. +config MFD_TI_SMUSBDIG + tristate "Texas Instruments SM-USB-DIG interface adapter" + depends on USB + select MFD_CORE + help + Support for the TI SM-USB-DIG USB to SPI/I2C/1Wire/GPIO adapter. + Additional drivers such as SPI_TI_SMUSBDIG, I2C_TI_SMUSBDIG, etc. must + be enabled in order to use the functionality of the device. + config MFD_TIMBERDALE tristate "Timberdale FPGA" select MFD_CORE
drivers/mfd/Makefile +2 -0
@@ -68,6 +68,8 @@ obj-$(CONFIG_MFD_WM8350_I2C) += wm8350-i2c.o wm8994-objs := wm8994-core.o wm8994-irq.o wm8994-regmap.o obj-$(CONFIG_MFD_WM8994) += wm8994.o +obj-$(CONFIG_MFD_TI_SMUSBDIG) += ti-smusbdig.o + obj-$(CONFIG_TPS6105X) += tps6105x.o obj-$(CONFIG_TPS65010) += tps65010.o obj-$(CONFIG_TPS6507X) += tps6507x.o
drivers/mfd/ti-smusbdig.c new file +138 -0
138 lines not on this page · raw message
include/linux/mfd/ti-smusbdig.h new file +75 -0
75 lines not on this page · raw message
Signature · 1 line
2.8.3
PATCH v3 2/2 i2c: ti-smusbdig: add TI SM-USB-DIG I2C bus driver
Add support for the I2C bus functionality of the TI SM-USB-DIG.
--- drivers/i2c/busses/Kconfig | 10 ++ drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-ti-smusbdig.c | 189 +++++++++++++++++++++++++++++++++++ 3 files changed, 200 insertions(+) create mode 100644 drivers/i2c/busses/i2c-ti-smusbdig.c
drivers/i2c/busses/Kconfig +10 -0
@@ -1076,6 +1076,16 @@ config I2C_ROBOTFUZZ_OSIF This driver can also be built as a module. If so, the module will be called i2c-osif. +config I2C_TI_SMUSBDIG + tristate "Texas Instruments SM-USB-DIG I2C interface" + depends on MFD_TI_SMUSBDIG + help + This adds support for the I2C bus functionality of the + TI SM-USB-DIG USB interface adapter. + + This driver can also be built as a module. If so, the module + will be called i2c-ti-smusbdig. + config I2C_TAOS_EVM tristate "TAOS evaluation module" depends on TTY
drivers/i2c/busses/Makefile +1 -0
@@ -103,6 +103,7 @@ obj-$(CONFIG_I2C_DLN2) += i2c-dln2.o obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o obj-$(CONFIG_I2C_PARPORT_LIGHT) += i2c-parport-light.o obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF) += i2c-robotfuzz-osif.o +obj-$(CONFIG_I2C_TI_SMUSBDIG) += i2c-ti-smusbdig.o obj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o obj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o obj-$(CONFIG_I2C_VIPERBOARD) += i2c-viperboard.o
drivers/i2c/busses/i2c-ti-smusbdig.c new file +189 -0
189 lines not on this page · raw message
Signature · 1 line
2.8.3
This requires a USB Ack.
Quoted 5 lines
The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. Add MFD core support.
Signed-off-by Andrew F. Davis <[email protected]>---
Where is the change log from v1 => v2?
Quoted 10 lines
Changes from v2:
- Add missing dependency on USB, thanks kbuild test robotdrivers/mfd/Kconfig | 9 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ti-smusbdig.c | 138 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/ti-smusbdig.h | 75 ++++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 drivers/mfd/ti-smusbdig.c create mode 100644 include/linux/mfd/ti-smusbdig.h
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Quoted 10 lines · Lee Jones
This requires a USB Ack.
Quoted 5 lines
The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. Add MFD core support.
Signed-off-by Andrew F. Davis <[email protected]>---
Where is the change log from v1 => v2?
Looking at a diff of the two it looks like all the changes are related to your v1 feedback:
- Rename sm-usb-dig -> ti-smusbdig
- Inline helper functions in header
- Alphabetize includes
Quoted 11 lines
Quoted 10 lines
Changes from v2:
- Add missing dependency on USB, thanks kbuild test robotdrivers/mfd/Kconfig | 9 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ti-smusbdig.c | 138 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/ti-smusbdig.h | 75 ++++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 drivers/mfd/ti-smusbdig.c create mode 100644 include/linux/mfd/ti-smusbdig.h
Quoted 12 lines · Andrew F. Davis
Quoted 10 lines · Lee Jones
This requires a USB Ack.
Quoted 5 lines
The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. Add MFD core support.
Signed-off-by Andrew F. Davis <[email protected]>---
Where is the change log from v1 => v2?
Quoted 6 lines
Looking at a diff of the two it looks like all the changes are related to your v1 feedback:
- Rename sm-usb-dig -> ti-smusbdig
- Inline helper functions in header
- Alphabetize includes
Please ensure this is added when you submit subsequent sets. It really does help with the review and saves a great deal of time.
Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Changes from v2:
- Add missing dependency on USB, thanks kbuild test robotdrivers/mfd/Kconfig | 9 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ti-smusbdig.c | 138 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/ti-smusbdig.h | 75 ++++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 drivers/mfd/ti-smusbdig.c create mode 100644 include/linux/mfd/ti-smusbdig.h
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog