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: exc3000: move eeti,egalax_ts from egalax-ts.txt to eeti,exc3000.yaml

Remove legacy binding egalax-ts.txt file. And add compatible string
eeti,egalax_ts and wakeup-gpios to eeti,exc3000.yaml. "eeti,egalax_ts" is
general compatible string, which is not preferred. But it is compatible
with old devices (older than 10 years) and existing driver in
drivers/input/touchscreen/egalax_ts.c.

Allow address 0x4 for eeti,egalax_ts.

Don't require touchscreen-size-x(y) for eeti,egalax_ts.

Keep the same restriction for existing compatible string.

Fix below DTB_CHECKS warnings:
arch/arm/boot/dts/nxp/imx/imx6dl-gw52xx.dtb: /soc/bus@2100000/i2c@21a8000/egalax_ts@4: failed to match any schema with compatible: ['eeti,egalax_ts']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250904171543.517650-1-Frank.Li@nxp.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Frank Li and committed by
Dmitry Torokhov
618f571a 0fec357a

+24 -24
+24 -6
Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
··· 9 9 maintainers: 10 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 11 12 - allOf: 13 - - $ref: touchscreen.yaml# 14 - 15 12 properties: 16 13 compatible: 17 14 oneOf: 18 15 - const: eeti,exc3000 19 16 - const: eeti,exc80h60 20 17 - const: eeti,exc80h84 18 + - const: eeti,egalax_ts # Do NOT use for new binding 21 19 - items: 22 20 - enum: 23 21 - eeti,exc81w32 24 22 - const: eeti,exc80h84 25 23 reg: 26 - const: 0x2a 24 + enum: [0x4, 0x2a] 27 25 interrupts: 28 26 maxItems: 1 29 27 reset-gpios: 28 + maxItems: 1 29 + wakeup-gpios: 30 30 maxItems: 1 31 31 vdd-supply: 32 32 description: Power supply regulator for the chip ··· 40 40 - compatible 41 41 - reg 42 42 - interrupts 43 - - touchscreen-size-x 44 - - touchscreen-size-y 45 43 46 44 additionalProperties: false 45 + 46 + allOf: 47 + - $ref: touchscreen.yaml# 48 + 49 + - if: 50 + properties: 51 + compatible: 52 + not: 53 + contains: 54 + const: eeti,egalax_ts 55 + then: 56 + properties: 57 + reg: 58 + const: 0x2a 59 + 60 + wakeup-gpios: false 61 + 62 + required: 63 + - touchscreen-size-x 64 + - touchscreen-size-y 47 65 48 66 examples: 49 67 - |
-18
Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
··· 1 - * EETI eGalax Multiple Touch Controller 2 - 3 - Required properties: 4 - - compatible: must be "eeti,egalax_ts" 5 - - reg: i2c slave address 6 - - interrupts: touch controller interrupt 7 - - wakeup-gpios: the gpio pin to be used for waking up the controller 8 - and also used as irq pin 9 - 10 - Example: 11 - 12 - touchscreen@4 { 13 - compatible = "eeti,egalax_ts"; 14 - reg = <0x04>; 15 - interrupt-parent = <&gpio1>; 16 - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 17 - wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 18 - };