devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: input: add Raydium I2C touch driver bindings
@ 2016-03-22  6:38 jeffrey.lin
  2016-03-23 15:06 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: jeffrey.lin @ 2016-03-22  6:38 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ,
	dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w,
	djkurtz-F7+t8E8rja9g9hUCZPvPmw, drinkcat-F7+t8E8rja9g9hUCZPvPmw,
	treding-DDmLM1+adcrQT0dZR+AlfA,
	ajaykumar.rs-Sze3O3UU22JBDgjK7y7TUQ,
	dusonlin-9cfG7bMpBgR9nmWX13WWKA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: jeffrey.lin-s3Ivl27awEzQT0dZR+AlfA,
	roger.yang-s3Ivl27awEzQT0dZR+AlfA, KP.li-s3Ivl27awEzQT0dZR+AlfA,
	albert.shieh-s3Ivl27awEzQT0dZR+AlfA

Document the device tree binfings of Raydium I2C touch driver.

Signed-off-by: jeffrey.lin <jeffrey.lin-s3Ivl27awEzQT0dZR+AlfA@public.gmane.org>
---
 .../devicetree/bindings/input/raydium_i2c_ts.txt    | 21 +++++++++++++++++++++
 .../devicetree/bindings/vendor-prefixes.txt         |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/raydium_i2c_ts.txt

diff --git a/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
new file mode 100644
index 0000000..d7631d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
@@ -0,0 +1,21 @@
+Raydium I2C touchscreen
+
+Required properties:
+- compatible:
+    "raydium,rm3xxxx"
+
+- reg: The I2C address of the device
+- interrupts: interrupt to which the chip is connected
+    See ../interrupt-controller/interrupts.txt
+Optional property:
+ - avdd-supply		: Analog power supply needed to power device
+ - vccio-supply		: IO Power source
+
+Example:
+
+	raydium_i2c@39 {
+		compatible = "raydium,rm3xxxx";\
+		reg = <0x39>;
+		interrupt-parent = <&gpio>;
+		interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
+	};
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index af49e0f..5b6224b 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -126,6 +126,7 @@ radxa	Radxa
 raidsonic	RaidSonic Technology GmbH
 ralink	Mediatek/Ralink Technology Corp.
 ramtron	Ramtron International
+raydium Raydium Semiconductor Corp.
 realtek Realtek Semiconductor Corp.
 renesas	Renesas Electronics Corporation
 ricoh	Ricoh Co. Ltd.
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: input: add Raydium I2C touch driver bindings
  2016-03-22  6:38 [PATCH] dt-bindings: input: add Raydium I2C touch driver bindings jeffrey.lin
@ 2016-03-23 15:06 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2016-03-23 15:06 UTC (permalink / raw)
  To: jeffrey.lin
  Cc: pawel.moll, mark.rutland, ijc+devicetree, galak, dmitry.torokhov,
	djkurtz, drinkcat, treding, ajaykumar.rs, dusonlin, devicetree,
	linux-kernel, jeffrey.lin, roger.yang, KP.li, albert.shieh

On Tue, Mar 22, 2016 at 02:38:53PM +0800, jeffrey.lin wrote:
> Document the device tree binfings of Raydium I2C touch driver.

Is there a driver too?

> Signed-off-by: jeffrey.lin <jeffrey.lin@rad-ic.com>
> ---
>  .../devicetree/bindings/input/raydium_i2c_ts.txt    | 21 +++++++++++++++++++++
>  .../devicetree/bindings/vendor-prefixes.txt         |  1 +
>  2 files changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
> 
> diff --git a/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
> new file mode 100644
> index 0000000..d7631d0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt
> @@ -0,0 +1,21 @@
> +Raydium I2C touchscreen
> +
> +Required properties:
> +- compatible:
> +    "raydium,rm3xxxx"

No wildcards in compatible strings please.

> +- reg: The I2C address of the device
> +- interrupts: interrupt to which the chip is connected
> +    See ../interrupt-controller/interrupts.txt
> +Optional property:

properties

> + - avdd-supply		: Analog power supply needed to power device
> + - vccio-supply		: IO Power source
> +
> +Example:
> +
> +	raydium_i2c@39 {

touchscreen@39

> +		compatible = "raydium,rm3xxxx";\

Drop the \

> +		reg = <0x39>;
> +		interrupt-parent = <&gpio>;
> +		interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
> +	};
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index af49e0f..5b6224b 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -126,6 +126,7 @@ radxa	Radxa
>  raidsonic	RaidSonic Technology GmbH
>  ralink	Mediatek/Ralink Technology Corp.
>  ramtron	Ramtron International
> +raydium Raydium Semiconductor Corp.
>  realtek Realtek Semiconductor Corp.
>  renesas	Renesas Electronics Corporation
>  ricoh	Ricoh Co. Ltd.
> -- 
> 2.1.2
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-23 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22  6:38 [PATCH] dt-bindings: input: add Raydium I2C touch driver bindings jeffrey.lin
2016-03-23 15:06 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).