Input: melfas_mip4 - add devicetree binding documentations
Subsystems (3)
Add devicetree binding documentations.
Signed-off-by Sangwon Jee <[email protected]>
--- .../bindings/input/touchscreen/melfas_mip4.txt | 21 +++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt new file +21 -0
@@ -0,0 +1,21 @@ +* MELFAS MIP4 Touchscreen + +Required properties: +- compatible: must be "melfas,mip4_ts" +- reg: I2C slave address of the chip (0x48 or 0x34) +- interrupt-parent: interrupt controller to which the chip is connected +- interrupts: interrupt to which the chip is connected + +Optional properties: +- ce-gpio: GPIO connected to the CE(chip enable) pin of the chip + +Example: + i2c@00000000 { + melfas_mip4_ts@48 { + compatible = "melfas,mip4_ts"; + reg = <0x48>; + interrupt-parent = <&gpio>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + ce-gpio = <&gpio 0 GPIO_ACTIVE_HIGH>; + }; + };
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -143,6 +143,7 @@ marvell Marvell Technology Group Ltd. maxim Maxim Integrated Products mediatek MediaTek Inc. melexis Melexis N.V. +melfas MELFAS Inc. merrii Merrii Technology Co., Ltd. micrel Micrel Inc. microchip Microchip Technology Inc.
Signature · 1 line
1.9.1
Quoted 3 lines · Sangwon Jee
Add devicetree binding documentations.
Signed-off-by Sangwon Jee <[email protected]>
Applied, thank you.
Quoted 48 lines
--- .../bindings/input/touchscreen/melfas_mip4.txt | 21 +++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txtDocumentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt new file +21
-0@@ -0,0 +1,21 @@ +* MELFAS MIP4 Touchscreen + +Required properties: +- compatible: must be "melfas,mip4_ts" +- reg: I2C slave address of the chip (0x48 or 0x34) +- interrupt-parent: interrupt controller to which the chip is connected +- interrupts: interrupt to which the chip is connected + +Optional properties: +- ce-gpio: GPIO connected to the CE(chip enable) pin of the chip + +Example: + i2c@00000000 { + melfas_mip4_ts@48 { + compatible = "melfas,mip4_ts"; + reg = <0x48>; + interrupt-parent = <&gpio>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + ce-gpio = <&gpio 0 GPIO_ACTIVE_HIGH>; + }; + };Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0@@ -143,6 +143,7 @@ marvell Marvell Technology Group Ltd. maxim Maxim Integrated Products mediatek MediaTek Inc. melexis Melexis N.V. +melfas MELFAS Inc. merrii Merrii Technology Co., Ltd. micrel Micrel Inc. microchip Microchip Technology Inc.Signature · 1 line
1.9.1
Signature · 1 line
Dmitry