Re: [PATCH 1/2] dt-bindings: touchscreen: trivial-touch: Drop 'interrupts' requirement for old Ilitek
From: Marek Vasut
Date: Wed Jan 14 2026 - 22:19:22 EST
On 1/13/26 5:35 PM, Frank Li wrote:
Hello Frank,
Done in V2, thanks.+++ b/Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml
@@ -57,13 +57,25 @@ properties:
wakeup-source: true
-allOf:
- - $ref: touchscreen.yaml
-
required:
- compatible
- reg
- - interrupts
+
+allOf:
+ - $ref: touchscreen.yaml
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - ilitek,ili210x
+ - ilitek,ili2117
+ - ilitek,ili2120
+ - ilitek,ili251x
+ then:
+ required:
+ - interrupts
Generally, if there are special requirements, move these to dedicated
yaml file to avoid complex if-else in trivial-touch.yaml.