Skip to content
/ linux Public

Commit bc775cc

Browse files
DanielPeng1109Sasha Levin
authored andcommitted
HID: i2c-hid: Add FocalTech FT8112
[ Upstream commit 3d9586f ] Information for touchscreen model HKO/RB116AS01-2 as below: - HID :FTSC1000 - slave address:0X38 - Interface:HID over I2C - Touch control lC:FT8112 - I2C ID: PNP0C50 Signed-off-by: Daniel Peng <Daniel_Peng@pegatron.corp-partner.google.com> Acked-by: Jiri Kosina <jkosina@suse.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://patch.msgid.link/20251117094041.300083-2-Daniel_Peng@pegatron.corp-partner.google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 563a6ab commit bc775cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/hid/i2c-hid/i2c-hid-of-elan.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data = {
159159
.main_supply_name = "vcc33",
160160
};
161161

162+
static const struct elan_i2c_hid_chip_data focaltech_ft8112_chip_data = {
163+
.post_power_delay_ms = 10,
164+
.post_gpio_reset_on_delay_ms = 150,
165+
.hid_descriptor_address = 0x0001,
166+
.main_supply_name = "vcc33",
167+
};
168+
162169
static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = {
163170
.post_power_delay_ms = 1,
164171
.post_gpio_reset_on_delay_ms = 200,
@@ -182,6 +189,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = {
182189
static const struct of_device_id elan_i2c_hid_of_match[] = {
183190
{ .compatible = "elan,ekth6915", .data = &elan_ekth6915_chip_data },
184191
{ .compatible = "elan,ekth6a12nay", .data = &elan_ekth6a12nay_chip_data },
192+
{ .compatible = "focaltech,ft8112", .data = &focaltech_ft8112_chip_data },
185193
{ .compatible = "ilitek,ili9882t", .data = &ilitek_ili9882t_chip_data },
186194
{ .compatible = "ilitek,ili2901", .data = &ilitek_ili2901_chip_data },
187195
{ }

0 commit comments

Comments
 (0)