diff mbox series

[4/6] dt-bindings: hwmon: hih6130: move to trivial devices

Message ID 20210920182114.339419-4-krzysztof.kozlowski@canonical.com (mailing list archive)
State Accepted
Headers show
Series [1/6] dt-bindings: hwmon: lm70: move to trivial devices | expand

Commit Message

Krzysztof Kozlowski Sept. 20, 2021, 6:21 p.m. UTC
The hih6130 bindings are trivial, so it can be integrated into trivial
devices bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/hwmon/hih6130.txt  | 12 ------------
 .../devicetree/bindings/trivial-devices.yaml         |  2 ++
 2 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/hwmon/hih6130.txt

Comments

Rob Herring Sept. 23, 2021, 9:14 p.m. UTC | #1
On Mon, 20 Sep 2021 20:21:12 +0200, Krzysztof Kozlowski wrote:
> The hih6130 bindings are trivial, so it can be integrated into trivial
> devices bindings.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  Documentation/devicetree/bindings/hwmon/hih6130.txt  | 12 ------------
>  .../devicetree/bindings/trivial-devices.yaml         |  2 ++
>  2 files changed, 2 insertions(+), 12 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/hwmon/hih6130.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Guenter Roeck Sept. 24, 2021, 2:07 a.m. UTC | #2
On Mon, Sep 20, 2021 at 08:21:12PM +0200, Krzysztof Kozlowski wrote:
> The hih6130 bindings are trivial, so it can be integrated into trivial
> devices bindings.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied, per Rob's feedback (.txt -> .yaml conversion).

Thanks,
Guenter

> ---
>  Documentation/devicetree/bindings/hwmon/hih6130.txt  | 12 ------------
>  .../devicetree/bindings/trivial-devices.yaml         |  2 ++
>  2 files changed, 2 insertions(+), 12 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/hwmon/hih6130.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/hih6130.txt b/Documentation/devicetree/bindings/hwmon/hih6130.txt
> deleted file mode 100644
> index 2c43837af4c2..000000000000
> --- a/Documentation/devicetree/bindings/hwmon/hih6130.txt
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -Honeywell Humidicon HIH-6130 humidity/temperature sensor
> ---------------------------------------------------------
> -
> -Requires node properties:
> -- compatible : "honeywell,hi6130"
> -- reg : the I2C address of the device. This is 0x27.
> -
> -Example:
> -	hih6130@27 {
> -		compatible = "honeywell,hih6130";
> -		reg = <0x27>;
> -	};
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index b1bad299ec66..c9333fb81fdf 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -111,6 +111,8 @@ properties:
>            - mps,mp2888
>              # Monolithic Power Systems Inc. multi-phase controller mp2975
>            - mps,mp2975
> +            # Honeywell Humidicon HIH-6130 humidity/temperature sensor
> +          - honeywell,hi6130
>              # Infineon IR36021 digital POL buck controller
>            - infineon,ir36021
>              # Infineon IR38064 Voltage Regulator
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/hih6130.txt b/Documentation/devicetree/bindings/hwmon/hih6130.txt
deleted file mode 100644
index 2c43837af4c2..000000000000
--- a/Documentation/devicetree/bindings/hwmon/hih6130.txt
+++ /dev/null
@@ -1,12 +0,0 @@ 
-Honeywell Humidicon HIH-6130 humidity/temperature sensor
---------------------------------------------------------
-
-Requires node properties:
-- compatible : "honeywell,hi6130"
-- reg : the I2C address of the device. This is 0x27.
-
-Example:
-	hih6130@27 {
-		compatible = "honeywell,hih6130";
-		reg = <0x27>;
-	};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index b1bad299ec66..c9333fb81fdf 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -111,6 +111,8 @@  properties:
           - mps,mp2888
             # Monolithic Power Systems Inc. multi-phase controller mp2975
           - mps,mp2975
+            # Honeywell Humidicon HIH-6130 humidity/temperature sensor
+          - honeywell,hi6130
             # Infineon IR36021 digital POL buck controller
           - infineon,ir36021
             # Infineon IR38064 Voltage Regulator