mfd: ti-smusbdig: Add support for the TI SM-USB-DIG
Subsystems (2)
PATCH v2 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.
--- drivers/mfd/Kconfig | 8 +++ drivers/mfd/Makefile | 2 + drivers/mfd/ti-smusbdig.c | 138 ++++++++++++++++++++++++++++++++++++++++ include/linux/mfd/ti-smusbdig.h | 75 ++++++++++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 drivers/mfd/ti-smusbdig.c create mode 100644 include/linux/mfd/ti-smusbdig.h
drivers/mfd/Kconfig +8 -0
@@ -1373,6 +1373,14 @@ 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" + 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 v2 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
kbuild test robot
build botreproduce:
Hi,
[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.7-rc2 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andrew-F-Davis/mfd-ti-smusbdig-Add-support-for-the-TI-SM-USB-DIG/20160611-012112 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: i386-randconfig-x012-06120748 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
drivers/built-in.o: In function `ti_smusbdig_xfer':
>> (.text+0x3053eb): undefined reference to `usb_interrupt_msg' drivers/built-in.o: In function `ti_smusbdig_xfer': (.text+0x305416): undefined reference to `usb_interrupt_msg' drivers/built-in.o: In function `ti_smusbdig_probe': >> ti-smusbdig.c:(.text+0x3054ac): undefined reference to `usb_get_dev' drivers/built-in.o: In function `ti_smusbdig_driver_init': >> ti-smusbdig.c:(.init.text+0xaf15): undefined reference to `usb_register_driver' drivers/built-in.o: In function `ti_smusbdig_driver_exit': >> ti-smusbdig.c:(.exit.text+0x13fc): undefined reference to `usb_deregister'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
kbuild test robot
build botreproduce:
Hi,
[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.7-rc2 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andrew-F-Davis/mfd-ti-smusbdig-Add-support-for-the-TI-SM-USB-DIG/20160611-012112 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: i386-randconfig-x016-06120748 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
>> ERROR: "usb_deregister" [drivers/mfd/ti-smusbdig.ko] undefined! >> ERROR: "usb_get_dev" [drivers/mfd/ti-smusbdig.ko] undefined! >> ERROR: "usb_interrupt_msg" [drivers/mfd/ti-smusbdig.ko] undefined! >> ERROR: "usb_register_driver" [drivers/mfd/ti-smusbdig.ko] undefined!
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation