devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC v6 1/2] DT: Add documentation for gp2ap020a00f sensor
@ 2013-08-21 15:06 Jacek Anaszewski
  2013-08-21 17:37 ` Stephen Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Jacek Anaszewski @ 2013-08-21 15:06 UTC (permalink / raw)
  To: linux-iio
  Cc: devicetree, jic23, kyungmin.park, s.nawrocki, rob.herring,
	pawel.moll, mark.rutland, swarren, ian.campbell, Jacek Anaszewski

This patch adds device tree binding documentation
for the gp2ap020a00f proximity/als sensor.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 .../devicetree/bindings/iio/light/gp2ap020a00f.txt |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/light/gp2ap020a00f.txt

diff --git a/Documentation/devicetree/bindings/iio/light/gp2ap020a00f.txt b/Documentation/devicetree/bindings/iio/light/gp2ap020a00f.txt
new file mode 100644
index 0000000..9231c82
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/gp2ap020a00f.txt
@@ -0,0 +1,21 @@
+* Sharp GP2AP020A00F I2C Proximity/ALS sensor
+
+The proximity detector sensor requires power supply
+for its built-in led. It is also defined by this binding.
+
+Required properties:
+
+  - compatible : should be "sharp,gp2ap020a00f"
+  - reg : the I2C slave address of the light sensor
+  - interrupts : interrupt specifier for the sole interrupt generated
+		 by the device
+  - vled-supply : VLED power supply, as covered in ../regulator/regulator.txt
+
+Example:
+
+gp2ap020a00f@39 {
+	compatible = "sharp,gp2ap020a00f";
+	reg = <0x39>;
+	interrupts = <2 0>;
+	vled-supply = <...>;
+};
-- 
1.7.5.4


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

* Re: [PATCH/RFC v6 1/2] DT: Add documentation for gp2ap020a00f sensor
  2013-08-21 15:06 [PATCH/RFC v6 1/2] DT: Add documentation for gp2ap020a00f sensor Jacek Anaszewski
@ 2013-08-21 17:37 ` Stephen Warren
       [not found]   ` <5214FACA.5090805-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2013-08-21 17:37 UTC (permalink / raw)
  To: Jacek Anaszewski
  Cc: linux-iio, devicetree, jic23, kyungmin.park, s.nawrocki,
	rob.herring, pawel.moll, mark.rutland, ian.campbell

On 08/21/2013 09:06 AM, Jacek Anaszewski wrote:
> This patch adds device tree binding documentation
> for the gp2ap020a00f proximity/als sensor.

Acked-by: Stephen Warren <swarren@nvidia.com>

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

* Re: [PATCH/RFC v6 1/2] DT: Add documentation for gp2ap020a00f sensor
       [not found]   ` <5214FACA.5090805-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2013-09-15 10:07     ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2013-09-15 10:07 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Jacek Anaszewski, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ,
	s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ian.campbell-Sxgqhf6Nn4DQT0dZR+AlfA

On 08/21/13 18:37, Stephen Warren wrote:
> On 08/21/2013 09:06 AM, Jacek Anaszewski wrote:
>> This patch adds device tree binding documentation
>> for the gp2ap020a00f proximity/als sensor.
> 
> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
Applied to the togreg branch of iio.git
(now the driver is ready to go with it!)

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

end of thread, other threads:[~2013-09-15 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 15:06 [PATCH/RFC v6 1/2] DT: Add documentation for gp2ap020a00f sensor Jacek Anaszewski
2013-08-21 17:37 ` Stephen Warren
     [not found]   ` <5214FACA.5090805-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-15 10:07     ` Jonathan Cameron

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).