Skip to contentSkip to conversation

dt-bindings: input: touchscreen: elants_i2c: convert to YAML

PATCH Applied David Heidelberg 3 participants 4 messages Apr 23, 2020 – May 11, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover dt-bindings: input: touchscreen: elants_i2c: convert to YAML

Depends elants_i2c series from Michal [1].

[1] https://patchwork.kernel.org/project/linux-input/list/?series=270071

David Heidelberg (1):
dt-bindings: input: touchscreen: elants_i2c: convert to YAML

 .../devicetree/bindings/input/elants_i2c.txt  | 34 ---------
 .../input/touchscreen/elan,elants_i2c.yaml    | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/elants_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 dt-bindings: input: touchscreen: elants_i2c: convert to YAML

Convert elants_i2c.txt DT binding to YAML and put into correct directory.

---
 .../devicetree/bindings/input/elants_i2c.txt  | 34 ---------
 .../input/touchscreen/elan,elants_i2c.yaml    | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/elants_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
Documentation/devicetree/bindings/input/elants_i2c.txt deleted +0 -34
deleted file mode 100644
index 5edac8be0802..000000000000
@@ -1,34 +0,0 @@
-Elantech I2C Touchscreen
-
-Required properties:
-- compatible: must be "elan,ekth3500".
-- reg: I2C address of the chip.
-- interrupts: interrupt to which the chip is connected (see interrupt
-  binding[0]).
-
-Optional properties:
-- wakeup-source: touchscreen can be used as a wakeup source.
-- pinctrl-names: should be "default" (see pinctrl binding [1]).
-- pinctrl-0: a phandle pointing to the pin settings for the device (see
-  pinctrl binding [1]).
-- reset-gpios: reset gpio the chip is connected to.
-- vcc33-supply: a phandle for the regulator supplying 3.3V power.
-- vccio-supply: a phandle for the regulator supplying IO power.
-
-[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
-[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
-
-Example:
-	&i2c1 {
-		/* ... */
-
-		touchscreen@10 {
-			compatible = "elan,ekth3500";
-			reg = <0x10>;
-			interrupt-parent = <&gpio4>;
-			interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
-			wakeup-source;
-		};
-
-		/* ... */
-	};
Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml new file +69 -0

69 lines not on this page · raw message

Signature · 1 line
2.26.2
maintainer Reviewed-by on v1 1/1
#2 lore raw
Quoted 11 lines · David Heidelberg

Convert elants_i2c.txt DT binding to YAML and put into correct directory.

---
 .../devicetree/bindings/input/elants_i2c.txt  | 34 ---------
 .../input/touchscreen/elan,elants_i2c.yaml    | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/elants_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
maintainer Applied
#3 lore raw
Quoted 13 lines · Rob Herring
Quoted 11 lines · David Heidelberg

Convert elants_i2c.txt DT binding to YAML and put into correct directory.

---
 .../devicetree/bindings/input/elants_i2c.txt  | 34 ---------
 .../input/touchscreen/elan,elants_i2c.yaml    | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 34 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/elants_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml
Quoted 1 line

Applied, thank you.

Signature · 1 line
Dmitry