dt-bindings: input: i2c-hid: Introduce FocalTech FT8112
Subsystems (3)
PATCH v6 1/2 dt-bindings: input: i2c-hid: Introduce FocalTech FT8112
From: Daniel Peng <[email protected]>
Create new binding file for the FocalTech FT8112 due to new touchscreen chip. Confirm its compatible, reg for the device via vendor, and set the interrupt and reset gpio to map for Skywalker platform.
FocalTech FT8112 also uses vcc33/vccio power supply.
---
Changes in v6:
- Remove the commit description for the incorrect section.
.../bindings/input/focaltech,ft8112.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/focaltech,ft8112.yaml
Documentation/devicetree/bindings/input/focaltech,ft8112.yaml new file +66 -0
@@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/focaltech,ft8112.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FocalTech FT8112 touchscreen controller + +maintainers: + - Daniel Peng <[email protected]> + +description: + Supports the FocalTech FT8112 touchscreen controller. + This touchscreen controller uses the i2c-hid protocol with a reset GPIO. + +allOf: + - $ref: /schemas/input/touchscreen/touchscreen.yaml# + +properties: + compatible: + enum: + - focaltech,ft8112 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + panel: true + + reset-gpios: + maxItems: 1 + + vcc33-supply: true + + vccio-supply: true + +required: + - compatible + - reg + - interrupts + - vcc33-supply + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + #include <dt-bindings/interrupt-controller/irq.h> + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@38 { + compatible = "focaltech,ft8112"; + reg = <0x38>; + + interrupt-parent = <&pio>; + interrupts = <15 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 126 GPIO_ACTIVE_LOW>; + vcc33-supply = <&pp3300_tchscr_x>; + }; + };
Signature · 1 line
2.34.1
PATCH v6 2/2 HID: i2c-hid: Add FocalTech FT8112
From: Daniel Peng <[email protected]>
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
---
Changes in v6:
- No changed with the v5 due to relation chain.
drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/hid/i2c-hid/i2c-hid-of-elan.c +8 -0
@@ -168,6 +168,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data = { .power_after_backlight = true, }; +static const struct elan_i2c_hid_chip_data focaltech_ft8112_chip_data = { + .post_power_delay_ms =10 , + .post_gpio_reset_on_delay_ms =150 , + .hid_descriptor_address =0x0001 , + .main_supply_name ="vcc33" , +}; +static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = { .post_power_delay_ms =1 , .post_gpio_reset_on_delay_ms =200 ,
@@ -191,6 +198,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = {static const struct of_device_id elan_i2c_hid_of_match[] = { { .compatible ="elan,ekth6915" , .data = &elan_ekth6915_chip_data }, { .compatible ="elan,ekth6a12nay" , .data = &elan_ekth6a12nay_chip_data }, + { .compatible ="focaltech,ft8112" , .data = &focaltech_ft8112_chip_data }, { .compatible ="ilitek,ili9882t" , .data = &ilitek_ili9882t_chip_data }, { .compatible ="ilitek,ili2901" , .data = &ilitek_ili2901_chip_data }, { }
Signature · 1 line
2.34.1
Re: [PATCH v6 2/2] HID: i2c-hid: Add FocalTech FT8112
Hi,
Quoted 10 lines · On Mon, Nov 17, 2025 at 1:40 AM <[email protected]>…
From: Daniel Peng <[email protected]>
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
Quoted 8 lines
Signed-off-by Daniel Peng <[email protected]>---
Changes in v6:
- No changed with the v5 due to relation chain.drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 1 file changed, 8 insertions(+)
There are no differences between this patch and previous versions that I gave my Reviewed-by on. You should be carrying my Reviewed-by: tag so I don't need to keep replying. In any case:
-Doug
Dmitry Torokhov
maintainerRe: [PATCH v6 2/2] HID: i2c-hid: Add FocalTech FT8112
In reply to [email protected]Quoted 10 lines · On Mon, Nov 17, 2025 at 05:40:41PM +0800…
From: Daniel Peng <[email protected]>
Information for touchscreen model HKO/RB116AS01-2 as below:
- HID :FTSC1000
- slave address:0X38
- Interface:HID over I2C
- Touch control lC:FT8112
- I2C ID: PNP0C50Signed-off-by Daniel Peng <[email protected]>
Jiri, Benjamin, do you want to take it (and the binding) through the HID tree or should I take it through input?
Quoted 27 lines
---
Changes in v6:
- No changed with the v5 due to relation chain.drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/hid/i2c-hid/i2c-hid-of-elan.c +7
-0@@ -168,6 +168,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data = { .power_after_backlight = true, }; +static const struct elan_i2c_hid_chip_data focaltech_ft8112_chip_data = { + .post_power_delay_ms =10 , + .post_gpio_reset_on_delay_ms =150 , + .hid_descriptor_address =0x0001 , + .main_supply_name ="vcc33" , +}; +static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = { .post_power_delay_ms =1 , .post_gpio_reset_on_delay_ms =200 ,
drivers/hid/i2c-hid/i2c-hid-of-elan.c static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = { · line 204
Quoted 7 lines
drivers/hid/i2c-hid/i2c-hid-of-elan.c +1
-0@@ -191,6 +198,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = {static const struct of_device_id elan_i2c_hid_of_match[] = { { .compatible ="elan,ekth6915" , .data = &elan_ekth6915_chip_data }, { .compatible ="elan,ekth6a12nay" , .data = &elan_ekth6a12nay_chip_data }, + { .compatible ="focaltech,ft8112" , .data = &focaltech_ft8112_chip_data }, { .compatible ="ilitek,ili9882t" , .data = &ilitek_ili9882t_chip_data }, { .compatible ="ilitek,ili2901" , .data = &ilitek_ili2901_chip_data }, { }
Thanks.
Signature · 1 line
Dmitry
Re: [PATCH v6 2/2] HID: i2c-hid: Add FocalTech FT8112
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · On Mon, Nov 17, 2025 at 05:40:41PM +0800…
From: Daniel Peng <[email protected]>
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
Quoted 4 lines
Quoted 1 line
Signed-off-by Daniel Peng <[email protected]>Jiri, Benjamin, do you want to take it (and the binding) through the HID tree or should I take it through input?
feel free to take it through input.git to make it easier.
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 9 lines · On Mon, 17 Nov 2025 17:40:40 +0800, [email protected]…
From: Daniel Peng <[email protected]>
Create new binding file for the FocalTech FT8112 due to new touchscreen chip. Confirm its compatible, reg for the device via vendor, and set the interrupt and reset gpio to map for Skywalker platform.
FocalTech FT8112 also uses vcc33/vccio power supply.Signed-off-by Daniel Peng <[email protected]>
Quoted 9 lines
---
Changes in v6:
- Remove the commit description for the incorrect section..../bindings/input/focaltech,ft8112.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/focaltech,ft8112.yaml
Dmitry Torokhov
maintainerQuoted 9 lines · On Mon, Nov 17, 2025 at 05:40:40PM +0800…
From: Daniel Peng <[email protected]>
Create new binding file for the FocalTech FT8112 due to new touchscreen chip. Confirm its compatible, reg for the device via vendor, and set the interrupt and reset gpio to map for Skywalker platform.
FocalTech FT8112 also uses vcc33/vccio power supply.Signed-off-by Daniel Peng <[email protected]>
Applied the lot, thank you.
Signature · 1 line
Dmitry