Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235767

Re: [PATCH v2 2/2] iio:light:tsl2563: Add DT support

From Peter Meerwald <pmeerw@pmeerw.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] iio:light:tsl2563: Add DT support
Date 2015-09-30 07:50 +0200
Message-ID <qeir7-4fY-1@gated-at.bofh.it> (permalink)
References <qeenv-6Up-1@gated-at.bofh.it> <qeenw-6Up-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Suresh,

> * Add Device Tree support for the Dyna Image AP3223 ambient light sensor and
> * proximity driver,
> * Document the binding and
> * Add a vendor prefix for Dyna Image

the mail's subject line should read something like
iio: light: Add AP3223 DT support

tsl2563 is a different driver

> v2
> * Seperating the device tree changes from code

Separating

> 
> Signed-off-by: Suresh Rajashekara <sureshraj@google.com>
> ---
>  Documentation/devicetree/bindings/iio/light/ap3223.txt | 18 ++++++++++++++++++
>  Documentation/devicetree/bindings/vendor-prefixes.txt  |  1 +
>  2 files changed, 19 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/light/ap3223.txt
> 
> diff --git a/Documentation/devicetree/bindings/iio/light/ap3223.txt b/Documentation/devicetree/bindings/iio/light/ap3223.txt
> new file mode 100644
> index 0000000..b255d27
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/light/ap3223.txt
> @@ -0,0 +1,18 @@
> +* Dyna Image AP3223 ambient light sensor and proximity sensor
> +
> +http://www.dyna-image.com/english/product/optical-sensor-detail.php?cpid=2&dpid=8
> +
> +Required properties:
> +
> +  - compatible : should be "dynaimage,ap3223"
> +  - reg : the I2C address of the sensor
> +
> +Example:
> +
> +ap3223@1c {
> +	compatible = "dynaimage,ap3223";
> +	reg = <0x1c>;
> +
> +	pinctrl-0 = <&ap3223_pins>;
> +	pinctrl-names = "default";
> +};
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 5f20add..704da45 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -46,6 +46,7 @@ digilent	Diglent, Inc.
>  dlg	Dialog Semiconductor
>  dlink	D-Link Corporation
>  dmo	Data Modul AG
> +dynaimage	Dyna-Image
>  ebv	EBV Elektronik
>  edt	Emerging Display Technologies
>  elan	Elan Microelectronic Corp.
> 

-- 

Peter Meerwald
+43-664-2444418 (mobile)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver Suresh Rajashekara <sureshraj@google.com> - 2015-09-30 03:30 +0200
  [PATCH v2 2/2] iio:light:tsl2563: Add DT support Suresh Rajashekara <sureshraj@google.com> - 2015-09-30 03:30 +0200
    Re: [PATCH v2 2/2] iio:light:tsl2563: Add DT support Peter Meerwald <pmeerw@pmeerw.net> - 2015-09-30 07:50 +0200

csiph-web