From: Michael Zaidman <michael.zaidman@gmail.com>
To: jikos@kernel.org, benjamin.tissoires@redhat.com, wsa@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
linux-i2c@vger.kernel.org,
Michael Zaidman <michael.zaidman@gmail.com>
Subject: [PATCH 0/1] HID: ft260: add usb hid to i2c host bridge driver
Date: Sat, 13 Feb 2021 02:02:33 +0200 [thread overview]
Message-ID: <20210213000234.14948-1-michael.zaidman@gmail.com> (raw)
The FT260 is a USB device that 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 hidraw device.
This commit adds I2C host adapter support, enabling a wide range of
standard userspace tools and applications that do not implement HID
protocol, to access the I2C client devices via FT260 I2C controller.
The driver was tested with different I2C client devices, Linux
kernels, and Linux userspace tools.
For data transfer, the FT260 implements one Interrupt IN and one
Interrupt OUT pipes per interface. For configuration and control,
the FT260 exposes the HID class commands through the Control pipe.
Commands and responses are FT260 specific and documented in the
AN_394_User_Guide_for_FT260.pdf on the https://www.ftdichip.com.
Michael Zaidman (1):
HID: ft260: add usb hid to i2c host bridge driver
MAINTAINERS | 7 +
drivers/hid/Kconfig | 11 +
drivers/hid/Makefile | 2 +
drivers/hid/hid-ft260.c | 1097 +++++++++++++++++++++++++++++++++++++++
drivers/hid/hid-ids.h | 1 +
5 files changed, 1118 insertions(+)
create mode 100644 drivers/hid/hid-ft260.c
base-commit: 07f7e57c63aaa2afb4ea31edef05e08699a63a00
--
2.25.1
next reply other threads:[~2021-02-13 0:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 0:02 Michael Zaidman [this message]
2021-02-13 0:02 ` [PATCH 1/1] " Michael Zaidman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210213000234.14948-1-michael.zaidman@gmail.com \
--to=michael.zaidman@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wsa@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®