diff options
author | Michael Zaidman <michael.zaidman@gmail.com> | 2021-02-19 18:36:44 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-03-16 08:22:54 +0100 |
commit | 6a82582d9fa438045191074856f47165334f2777 (patch) | |
tree | b463d88ccc83fb0d439ef4ecd82d37953ef29665 /drivers/hid/Kconfig | |
parent | 69aea9d2843669387d100e353b5113d1adc9502f (diff) | |
download | lwn-6a82582d9fa438045191074856f47165334f2777.tar.gz lwn-6a82582d9fa438045191074856f47165334f2777.zip |
HID: ft260: add usb hid to i2c host bridge driver
The FTDI FT260 chip implements USB to I2C/UART bridges through two
USB HID class interfaces. The first - for I2C, and the second for UART.
Each interface is independent, and the kernel detects it as a separate
USB hidraw device.
This commit adds I2C host adapter support.
Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com>
Tested-by: Aaron Jones (FTDI-UK) <aaron.jones@ftdichip.com
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 786b71ef7738..b279c6130bc2 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -351,6 +351,17 @@ config HID_EZKEY help Support for Ezkey BTC 8193 keyboard. +config HID_FT260 + tristate "FTDI FT260 USB HID to I2C host support" + depends on USB_HID && HIDRAW && I2C + help + Provides I2C host adapter functionality over USB-HID through FT260 + device. The customizable USB descriptor fields are exposed as sysfs + attributes. + + To compile this driver as a module, choose M here: the module + will be called hid-ft260. + config HID_GEMBIRD tristate "Gembird Joypad" depends on HID |