Skip to content
/ linux Public

Commit 4799372

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 534dbb6 commit 4799372

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
@@ -168,6 +168,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data = {
168168
.power_after_backlight = true,
169169
};
170170

171+
static const struct elan_i2c_hid_chip_data focaltech_ft8112_chip_data = {
172+
.post_power_delay_ms = 10,
173+
.post_gpio_reset_on_delay_ms = 150,
174+
.hid_descriptor_address = 0x0001,
175+
.main_supply_name = "vcc33",
176+
};
177+
171178
static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = {
172179
.post_power_delay_ms = 1,
173180
.post_gpio_reset_on_delay_ms = 200,
@@ -191,6 +198,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = {
191198
static const struct of_device_id elan_i2c_hid_of_match[] = {
192199
{ .compatible = "elan,ekth6915", .data = &elan_ekth6915_chip_data },
193200
{ .compatible = "elan,ekth6a12nay", .data = &elan_ekth6a12nay_chip_data },
201+
{ .compatible = "focaltech,ft8112", .data = &focaltech_ft8112_chip_data },
194202
{ .compatible = "ilitek,ili9882t", .data = &ilitek_ili9882t_chip_data },
195203
{ .compatible = "ilitek,ili2901", .data = &ilitek_ili2901_chip_data },
196204
{ }

0 commit comments

Comments
 (0)