Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: Add Parade TC3408 touchscreen controller

The tc3408 touch screen chip same as Elan eKTH6915 controller
has a reset gpio. The difference is that they have different
post_power_delay_ms.

Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260108063524.742464-2-yelangyan@huaqin.corp-partner.google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Langyan Ye and committed by
Dmitry Torokhov
b0ef098d 21a60fcd

+68
+68
Documentation/devicetree/bindings/input/parade,tc3408.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/parade,tc3408.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Parade TC3408 touchscreen controller 8 + 9 + maintainers: 10 + - Langyan Ye <yelangyan@huaqin.corp-partner.google.com> 11 + 12 + description: | 13 + Parade TC3408 is a touchscreen controller supporting the I2C-HID protocol. 14 + It requires a reset GPIO and two power supplies (3.3V and 1.8V). 15 + 16 + allOf: 17 + - $ref: /schemas/input/touchscreen/touchscreen.yaml# 18 + 19 + properties: 20 + compatible: 21 + const: parade,tc3408 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + interrupts: 27 + maxItems: 1 28 + 29 + reset-gpios: 30 + maxItems: 1 31 + 32 + vcc33-supply: 33 + description: The 3.3V supply to the touchscreen. 34 + 35 + vccio-supply: 36 + description: The 1.8V supply to the touchscreen. 37 + 38 + required: 39 + - compatible 40 + - reg 41 + - interrupts 42 + - reset-gpios 43 + - vcc33-supply 44 + - vccio-supply 45 + 46 + unevaluatedProperties: false 47 + 48 + examples: 49 + - | 50 + #include <dt-bindings/gpio/gpio.h> 51 + #include <dt-bindings/interrupt-controller/irq.h> 52 + 53 + i2c { 54 + #address-cells = <1>; 55 + #size-cells = <0>; 56 + 57 + touchscreen: touchscreen@24 { 58 + compatible = "parade,tc3408"; 59 + reg = <0x24>; 60 + 61 + interrupt-parent = <&pio>; 62 + interrupts = <15 IRQ_TYPE_LEVEL_LOW>; 63 + 64 + reset-gpios = <&pio 126 GPIO_ACTIVE_LOW>; 65 + vcc33-supply = <&pp3300_tchscr_x>; 66 + vccio-supply = <&pp1800_tchscr_report_disable>; 67 + }; 68 + };