* Input: melfas_mip4 - add devicetree binding documentations
@ 2016-10-06 6:45 Sangwon Jee
2016-10-07 23:29 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Sangwon Jee @ 2016-10-06 6:45 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, jeesw
Add devicetree binding documentations.
Signed-off-by: Sangwon Jee <jeesw@melfas.com>
---
.../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
diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
new file mode 100644
index 0000000..4e4dfbe
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
@@ -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>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 99029cf..1457fd4 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -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.
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Input: melfas_mip4 - add devicetree binding documentations
2016-10-06 6:45 Input: melfas_mip4 - add devicetree binding documentations Sangwon Jee
@ 2016-10-07 23:29 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2016-10-07 23:29 UTC (permalink / raw)
To: Sangwon Jee; +Cc: linux-input
On Thu, Oct 06, 2016 at 03:45:34PM +0900, Sangwon Jee wrote:
> Add devicetree binding documentations.
>
> Signed-off-by: Sangwon Jee <jeesw@melfas.com>
Applied, thank you.
> ---
> .../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
>
> diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
> new file mode 100644
> index 0000000..4e4dfbe
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt
> @@ -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>;
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 99029cf..1457fd4 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -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.
> --
> 1.9.1
>
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-07 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 6:45 Input: melfas_mip4 - add devicetree binding documentations Sangwon Jee
2016-10-07 23:29 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.