devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/3] dt-bindings: vendor-prefix: add prefix for Lite-On Corp.
       [not found] <42dbbd7568e4216a320c6fd617bd91c1ee045af0.1551037168.git.bobbyeshleman@gmail.com>
@ 2019-02-24 20:33 ` Robert Eshleman
  2019-02-26 22:40   ` Rob Herring
  2019-02-24 20:33 ` [PATCH v2 3/3] dt-bindings: iio: light: Add ap3216c Robert Eshleman
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Eshleman @ 2019-02-24 20:33 UTC (permalink / raw)
  To: bobbyeshleman; +Cc: Rob Herring, Mark Rutland, devicetree, linux-kernel

This patch adds a vendor-prefix for the Lite-On Semiconductor
Corporation.

Signed-off-by: Robert Eshleman <bobbyeshleman@gmail.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 389508584f48..e487a5d95ba9 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -219,6 +219,7 @@ linaro	Linaro Limited
 linksys	Belkin International, Inc. (Linksys)
 linux	Linux-specific binding
 linx	Linx Technologies
+liteon  Lite-On Semiconductor Corporation
 lltc	Linear Technology Corporation
 logicpd	Logic PD, Inc.
 lsi	LSI Corp. (LSI Logic)
-- 
2.20.1

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

* [PATCH v2 3/3] dt-bindings: iio: light: Add ap3216c
       [not found] <42dbbd7568e4216a320c6fd617bd91c1ee045af0.1551037168.git.bobbyeshleman@gmail.com>
  2019-02-24 20:33 ` [PATCH v2 2/3] dt-bindings: vendor-prefix: add prefix for Lite-On Corp Robert Eshleman
@ 2019-02-24 20:33 ` Robert Eshleman
  2019-02-26 22:41   ` Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Eshleman @ 2019-02-24 20:33 UTC (permalink / raw)
  To: bobbyeshleman
  Cc: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Rob Herring, Mark Rutland, linux-iio,
	devicetree, linux-kernel

Adds device tree bindings for the ap3216c ambient light and proximity
sensor.

Signed-off-by: Robert Eshleman <bobbyeshleman@gmail.com>
---
 .../devicetree/bindings/iio/light/ap3216c.txt | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/light/ap3216c.txt

diff --git a/Documentation/devicetree/bindings/iio/light/ap3216c.txt b/Documentation/devicetree/bindings/iio/light/ap3216c.txt
new file mode 100644
index 000000000000..c5ae80c79dd8
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/ap3216c.txt
@@ -0,0 +1,22 @@
+* AP3216C Ambient Light and Proximity Sensor
+
+Required properties:
+  - compatible: should be "liteon,ap3216c"
+  - reg: the I2C address of the sensor (default is <0x1e>)
+
+Optional properties:
+  - interrupts: interrupt mapping for GPIO IRQ. Should be configured with
+    IRQ_TYPE_EDGE_FALLING.
+
+Refer to interrupt-controller/interrupts.txt for generic interrupt client
+node bindings.
+
+Example:
+
+light-sensor@1e {
+	compatible = "liteon,ap3216c";
+	reg = <0x1e>;
+
+	interrupt-parent = <&gpio1>;
+	interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
+};
-- 
2.20.1

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

* Re: [PATCH v2 2/3] dt-bindings: vendor-prefix: add prefix for Lite-On Corp.
  2019-02-24 20:33 ` [PATCH v2 2/3] dt-bindings: vendor-prefix: add prefix for Lite-On Corp Robert Eshleman
@ 2019-02-26 22:40   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-02-26 22:40 UTC (permalink / raw)
  Cc: bobbyeshleman, Mark Rutland, devicetree, linux-kernel

On Sun, 24 Feb 2019 12:33:29 -0800, Robert Eshleman wrote:
> This patch adds a vendor-prefix for the Lite-On Semiconductor
> Corporation.
> 
> Signed-off-by: Robert Eshleman <bobbyeshleman@gmail.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v2 3/3] dt-bindings: iio: light: Add ap3216c
  2019-02-24 20:33 ` [PATCH v2 3/3] dt-bindings: iio: light: Add ap3216c Robert Eshleman
@ 2019-02-26 22:41   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-02-26 22:41 UTC (permalink / raw)
  Cc: bobbyeshleman, Jonathan Cameron, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald-Stadler, Mark Rutland,
	linux-iio, devicetree, linux-kernel

On Sun, 24 Feb 2019 12:33:51 -0800, Robert Eshleman wrote:
> Adds device tree bindings for the ap3216c ambient light and proximity
> sensor.
> 
> Signed-off-by: Robert Eshleman <bobbyeshleman@gmail.com>
> ---
>  .../devicetree/bindings/iio/light/ap3216c.txt | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/light/ap3216c.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2019-02-26 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <42dbbd7568e4216a320c6fd617bd91c1ee045af0.1551037168.git.bobbyeshleman@gmail.com>
2019-02-24 20:33 ` [PATCH v2 2/3] dt-bindings: vendor-prefix: add prefix for Lite-On Corp Robert Eshleman
2019-02-26 22:40   ` Rob Herring
2019-02-24 20:33 ` [PATCH v2 3/3] dt-bindings: iio: light: Add ap3216c Robert Eshleman
2019-02-26 22:41   ` 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).