* [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors
[not found] <5489E47F-47D4-421A-A7EA-E11B0205A842@norphonic.com>
@ 2020-05-18 19:22 ` Eugene Zalkonnikov
2020-05-26 18:35 ` Rob Herring
2020-07-08 8:57 ` Eugene Zaikonnikov
0 siblings, 2 replies; 3+ messages in thread
From: Eugene Zalkonnikov @ 2020-05-18 19:22 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Hartmut Knaack, Lars-Peter Clausen, development, linux-iio,
devicetree, Mark Rutland
Device tree bindings for HDC2010/HDC2080 driver.
Signed-off-by: Eugene Zaikonnikov <eugene.zaikonnikov@norphonic.com>
diff -uprN linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml
--- linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml 1970-01-01 01:00:00.000000000 +0100
+++ linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml 2020-04-24 17:50:58.213007228 +0200
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HDC2010/HDC2080 humidity and temperature iio sensors
+
+maintainers:
+ - Eugene Zaikonnikov <eugene.zaikonnikov@norophonic.com>
+
+description: |
+ Relative humidity and tempereature sensors on I2C bus
+
+ Datasheets are available at:
+ http://www.ti.com/product/HDC2010/datasheet
+ http://www.ti.com/product/HDC2080/datasheet
+
+properties:
+ compatible:
+ enum:
+ - ti,hdc2010
+ - ti,hdc2080
+
+ vdd-supply:
+ maxItems: 1
+
+required:
+ - compatible
+
+examples:
+ - |
+ i2c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ humidity@40 {
+ compatible = "ti,hdc2010";
+ reg = <0x40>;
+ };
+ };
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors
2020-05-18 19:22 ` [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors Eugene Zalkonnikov
@ 2020-05-26 18:35 ` Rob Herring
2020-07-08 8:57 ` Eugene Zaikonnikov
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-05-26 18:35 UTC (permalink / raw)
To: Eugene Zalkonnikov
Cc: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
development, linux-iio, devicetree, Mark Rutland
On Mon, May 18, 2020 at 07:22:54PM +0000, Eugene Zalkonnikov wrote:
> Device tree bindings for HDC2010/HDC2080 driver.
Bindings are for h/w devices, not drivers.
Run 'git log --oneline <path>' and follow convention for $subject lines.
(Hint: dt-bindings: iio: ...)
>
>
> Signed-off-by: Eugene Zaikonnikov <eugene.zaikonnikov@norphonic.com>
>
> diff -uprN linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml
> --- linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml 1970-01-01 01:00:00.000000000 +0100
> +++ linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml 2020-04-24 17:50:58.213007228 +0200
> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
GPL-2.0-only, not or-later please.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: HDC2010/HDC2080 humidity and temperature iio sensors
> +
> +maintainers:
> + - Eugene Zaikonnikov <eugene.zaikonnikov@norophonic.com>
> +
> +description: |
> + Relative humidity and tempereature sensors on I2C bus
> +
> + Datasheets are available at:
> + http://www.ti.com/product/HDC2010/datasheet
> + http://www.ti.com/product/HDC2080/datasheet
> +
> +properties:
> + compatible:
> + enum:
> + - ti,hdc2010
> + - ti,hdc2080
> +
> + vdd-supply:
> + maxItems: 1
> +
> +required:
> + - compatible
> +
> +examples:
> + - |
> + i2c0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + humidity@40 {
> + compatible = "ti,hdc2010";
> + reg = <0x40>;
Not documented.
> + };
> + };
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors
2020-05-18 19:22 ` [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors Eugene Zalkonnikov
2020-05-26 18:35 ` Rob Herring
@ 2020-07-08 8:57 ` Eugene Zaikonnikov
1 sibling, 0 replies; 3+ messages in thread
From: Eugene Zaikonnikov @ 2020-07-08 8:57 UTC (permalink / raw)
To: Rob Herring; +Cc: linux-iio, Jonathan Cameron, devicetree
> On Tue, 26 May 2020 at 12:35:08 -0600, Rob Herring wrote:
[...]
>
> Run 'git log --oneline <path>' and follow convention for $subject lines.
> (Hint: dt-bindings: iio: ...)
The driver is outside source control in this tree, hope it's OK.
Fixing the rest.
--
Regards,
Eugene Zaikonnikov
Norphonic AS
Tel: +47 98 23 97 73
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-08 8:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <5489E47F-47D4-421A-A7EA-E11B0205A842@norphonic.com>
2020-05-18 19:22 ` [PATCH v8 2/2] Device tree bindings for TI HDC20x0 humidity and temperature sensors Eugene Zalkonnikov
2020-05-26 18:35 ` Rob Herring
2020-07-08 8:57 ` Eugene Zaikonnikov
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).