dt-bindings: input: touchscreen: elants_i2c: convert to YAML
Subsystems (3)
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
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.
Reviewed-by Dmitry Osipenko <[email protected]>
Signed-off-by David Heidelberg <[email protected]>
--- .../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
@@ -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
Quoted 11 lines · David Heidelberg
Convert elants_i2c.txt DT binding to YAML and put into correct directory.
Reviewed-by Dmitry Osipenko <[email protected]>Signed-off-by David Heidelberg <[email protected]>--- .../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
Reviewed-by Rob Herring <[email protected]>
Quoted 13 lines · Rob Herring
Quoted 11 lines · David Heidelberg
Convert elants_i2c.txt DT binding to YAML and put into correct directory.
Reviewed-by Dmitry Osipenko <[email protected]>Signed-off-by David Heidelberg <[email protected]>--- .../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
Reviewed-by Rob Herring <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry