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: touchscreen: convert eeti bindings to json schema

Convert EETI touchscreen controller device tree binding to json-schema.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250925153144.4082786-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Dario Binacchi and committed by
Dmitry Torokhov
b0b255d6 9712fe00

+14 -32
+14 -2
Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
··· 16 16 - const: eeti,exc80h60 17 17 - const: eeti,exc80h84 18 18 - const: eeti,egalax_ts # Do NOT use for new binding 19 + - const: eeti,exc3000-i2c 20 + deprecated: true 19 21 - items: 20 22 - enum: 21 23 - eeti,exc81w32 22 24 - const: eeti,exc80h84 23 25 reg: 24 - enum: [0x4, 0x2a] 26 + enum: [0x4, 0xa, 0x2a] 25 27 interrupts: 26 28 maxItems: 1 27 29 reset-gpios: ··· 32 30 maxItems: 1 33 31 vdd-supply: 34 32 description: Power supply regulator for the chip 33 + attn-gpios: 34 + deprecated: true 35 + maxItems: 1 36 + description: Phandle to a GPIO to check whether interrupt is still 37 + latched. This is necessary for platforms that lack 38 + support for level-triggered IRQs. 35 39 touchscreen-size-x: true 36 40 touchscreen-size-y: true 37 41 touchscreen-inverted-x: true ··· 59 51 compatible: 60 52 not: 61 53 contains: 62 - const: eeti,egalax_ts 54 + enum: 55 + - eeti,egalax_ts 56 + - eeti,exc3000-i2c 63 57 then: 64 58 properties: 65 59 reg: 66 60 const: 0x2a 67 61 68 62 wakeup-gpios: false 63 + 64 + attn-gpios: false 69 65 70 66 required: 71 67 - touchscreen-size-x
-30
Documentation/devicetree/bindings/input/touchscreen/eeti.txt
··· 1 - Bindings for EETI touchscreen controller 2 - 3 - Required properties: 4 - - compatible: should be "eeti,exc3000-i2c" 5 - - reg: I2C address of the chip. Should be set to <0xa> 6 - - interrupts: interrupt to which the chip is connected 7 - 8 - Optional properties: 9 - - attn-gpios: A handle to a GPIO to check whether interrupt is still 10 - latched. This is necessary for platforms that lack 11 - support for level-triggered IRQs. 12 - 13 - The following optional properties described in touchscreen.txt are 14 - also supported: 15 - 16 - - touchscreen-inverted-x 17 - - touchscreen-inverted-y 18 - - touchscreen-swapped-x-y 19 - 20 - Example: 21 - 22 - i2c-master { 23 - touchscreen@a { 24 - compatible = "eeti,exc3000-i2c"; 25 - reg = <0xa>; 26 - interrupt-parent = <&gpio>; 27 - interrupts = <123 IRQ_TYPE_EDGE_RISING>; 28 - attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; 29 - }; 30 - };