diff mbox series

[01/29] dt-bindings:iio:humidity:hdc100x Drop separate doc + add to trivial-devices

Message ID 20201011170749.243680-2-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings:iio: Another set of yaml conversions. | expand

Commit Message

Jonathan Cameron Oct. 11, 2020, 5:07 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Very simple binding for this i2c device with no properties beyond
reg and compatible.  Hence doesn't need it's own document.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Matt Ranostay <matt.ranostay@konsulko.com>
---
 .../bindings/iio/humidity/hdc100x.txt           | 17 -----------------
 .../devicetree/bindings/trivial-devices.yaml    | 10 ++++++++++
 2 files changed, 10 insertions(+), 17 deletions(-)

Comments

Matt Ranostay Oct. 12, 2020, 4:29 p.m. UTC | #1
On Sun, Oct 11, 2020 at 10:10 AM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Very simple binding for this i2c device with no properties beyond
> reg and compatible.  Hence doesn't need it's own document.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Matt Ranostay <matt.ranostay@konsulko.com>

Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>

> ---
>  .../bindings/iio/humidity/hdc100x.txt           | 17 -----------------
>  .../devicetree/bindings/trivial-devices.yaml    | 10 ++++++++++
>  2 files changed, 10 insertions(+), 17 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt b/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
> deleted file mode 100644
> index c52333bdfd19..000000000000
> --- a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -* HDC100x temperature + humidity sensors
> -
> -Required properties:
> -  - compatible: Should contain one of the following:
> -       ti,hdc1000
> -       ti,hdc1008
> -       ti,hdc1010
> -       ti,hdc1050
> -       ti,hdc1080
> -  - reg: i2c address of the sensor
> -
> -Example:
> -
> -hdc100x@40 {
> -       compatible = "ti,hdc1000";
> -       reg = <0x40>;
> -};
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index 25cfcc904240..9f8531d4d33e 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -352,6 +352,16 @@ properties:
>            - ti,ads7830
>              # Temperature Monitoring and Fan Control
>            - ti,amc6821
> +            # Temperature and humidity sensor with i2c interface
> +          - ti,hdc1000
> +            # Temperature and humidity sensor with i2c interface
> +          - ti,hdc1008
> +            # Temperature and humidity sensor with i2c interface
> +          - ti,hdc1010
> +            # Temperature and humidity sensor with i2c interface
> +          - ti,hdc1050
> +            # Temperature and humidity sensor with i2c interface
> +          - ti,hdc1080
>              # Temperature sensor with 2-wire interface
>            - ti,lm73
>              # Temperature sensor with integrated fan control
> --
> 2.28.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt b/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
deleted file mode 100644
index c52333bdfd19..000000000000
--- a/Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
+++ /dev/null
@@ -1,17 +0,0 @@ 
-* HDC100x temperature + humidity sensors
-
-Required properties:
-  - compatible: Should contain one of the following:
-	ti,hdc1000
-	ti,hdc1008
-	ti,hdc1010
-	ti,hdc1050
-	ti,hdc1080
-  - reg: i2c address of the sensor
-
-Example:
-
-hdc100x@40 {
-	compatible = "ti,hdc1000";
-	reg = <0x40>;
-};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 25cfcc904240..9f8531d4d33e 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -352,6 +352,16 @@  properties:
           - ti,ads7830
             # Temperature Monitoring and Fan Control
           - ti,amc6821
+            # Temperature and humidity sensor with i2c interface
+          - ti,hdc1000
+            # Temperature and humidity sensor with i2c interface
+          - ti,hdc1008
+            # Temperature and humidity sensor with i2c interface
+          - ti,hdc1010
+            # Temperature and humidity sensor with i2c interface
+          - ti,hdc1050
+            # Temperature and humidity sensor with i2c interface
+          - ti,hdc1080
             # Temperature sensor with 2-wire interface
           - ti,lm73
             # Temperature sensor with integrated fan control