Add compatible for EXC81W32 touchscreen controllers.
They use the same protocol and have the same resolution as EXC80H84.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
v3: Mark exc81w32 as compatible with exc80h84.
---
.../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
index 9dc25d30a0a8..1c7ae05a8c15 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
@@ -14,10 +14,14 @@ allOf:
properties:
compatible:
- enum:
- - eeti,exc3000
- - eeti,exc80h60
- - eeti,exc80h84
+ oneOf:
+ - const: eeti,exc3000
+ - const: eeti,exc80h60
+ - const: eeti,exc80h84
+ - items:
+ - enum:
+ - eeti,exc81w32
+ - const: eeti,exc80h84
reg:
const: 0x2a
interrupts:
--
2.39.2
On Wed, Jul 10, 2024 at 12:28:31PM +0200, Philipp Zabel wrote: > Add compatible for EXC81W32 touchscreen controllers. > They use the same protocol and have the same resolution as EXC80H84. > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > --- > v3: Mark exc81w32 as compatible with exc80h84. > --- > .../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml > index 9dc25d30a0a8..1c7ae05a8c15 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml > +++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml > @@ -14,10 +14,14 @@ allOf: > > properties: > compatible: > - enum: > - - eeti,exc3000 > - - eeti,exc80h60 > - - eeti,exc80h84 > + oneOf: > + - const: eeti,exc3000 > + - const: eeti,exc80h60 > + - const: eeti,exc80h84 This portion could've remained an enum. Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > + - items: > + - enum: > + - eeti,exc81w32 > + - const: eeti,exc80h84 > reg: > const: 0x2a > interrupts: > > -- > 2.39.2 >
© 2016 - 2025 Red Hat, Inc.