diff mbox series

[v3,1/2] dt-bindings: input: touchscreen: exc3000: add EXC81W32

Message ID 20240710-input-exc3000-exc81w32-v3-1-4272183628b4@pengutronix.de (mailing list archive)
State Mainlined
Commit 87d9d1e3eb5daa45764ea5a5f387ab8b337fcf88
Headers show
Series Input: exc3000 - EXC81W32 controller support | expand

Commit Message

Philipp Zabel July 10, 2024, 10:28 a.m. UTC
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(-)

Comments

Conor Dooley July 10, 2024, 1:52 p.m. UTC | #1
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
>
diff mbox series

Patch

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: