OSDN Git Service

dt-bindings: input: touchscreen: edt-ft5x06: change reg property
authorJohan Jonker <jbx6244@gmail.com>
Wed, 20 May 2020 07:33:27 +0000 (09:33 +0200)
committerRob Herring <robh@kernel.org>
Fri, 29 May 2020 17:07:38 +0000 (11:07 -0600)
A test with the command below gives this error:

arch/arm/boot/dts/rk3188-bqedison2qc.dt.yaml:
touchscreen@3e: reg:0:0: 56 was expected

The touchscreen chip on 'rk3188-bqedison2qc' and other BQ models
was shipped with different addresses then the binding currently allows.
Change the reg property that any address will pass.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/input/touchscreen/
edt-ft5x06.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml

index 2aac76c..024b262 100644 (file)
@@ -42,7 +42,7 @@ properties:
       - focaltech,ft6236
 
   reg:
-    const: 0x38
+    maxItems: 1
 
   interrupts:
     maxItems: 1