diff mbox series

[3/6] dt-bindings: hwmon: dps650ab: move to trivial devices

Message ID 20210920182114.339419-3-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 dps650ab 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/dps650ab.txt  | 11 -----------
 .../devicetree/bindings/trivial-devices.yaml          |  2 ++
 2 files changed, 2 insertions(+), 11 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/hwmon/dps650ab.txt

Comments

Rob Herring (Arm) Sept. 23, 2021, 9:14 p.m. UTC | #1
On Mon, 20 Sep 2021 20:21:11 +0200, Krzysztof Kozlowski wrote:
> The dps650ab 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/dps650ab.txt  | 11 -----------
>  .../devicetree/bindings/trivial-devices.yaml          |  2 ++
>  2 files changed, 2 insertions(+), 11 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/hwmon/dps650ab.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Guenter Roeck Sept. 24, 2021, 2:06 a.m. UTC | #2
On Mon, Sep 20, 2021 at 08:21:11PM +0200, Krzysztof Kozlowski wrote:
> The dps650ab 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 comments and because it is somewhat unlikely that this
device will need special properties.

Guenter

> ---
>  Documentation/devicetree/bindings/hwmon/dps650ab.txt  | 11 -----------
>  .../devicetree/bindings/trivial-devices.yaml          |  2 ++
>  2 files changed, 2 insertions(+), 11 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/hwmon/dps650ab.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/dps650ab.txt b/Documentation/devicetree/bindings/hwmon/dps650ab.txt
> deleted file mode 100644
> index 76780e795899..000000000000
> --- a/Documentation/devicetree/bindings/hwmon/dps650ab.txt
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -Bindings for Delta Electronics DPS-650-AB power supply
> -
> -Required properties:
> -- compatible : "delta,dps650ab"
> -- reg        : I2C address, one of 0x58, 0x59.
> -
> -Example:
> -	dps650ab@58 {
> -		    compatible = "delta,dps650ab";
> -		    reg = <0x58>;
> -	};
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index 1bbfa98a85d8..b1bad299ec66 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -73,6 +73,8 @@ properties:
>            - dallas,ds4510
>              # Digital Thermometer and Thermostat
>            - dallas,ds75
> +            # Delta Electronics DPS-650-AB power supply
> +          - delta,dps650ab
>            # Delta Electronics DPS920AB 920W 54V Power Supply
>            - delta,dps920ab
>              # 1/4 Brick DC/DC Regulated Power Module
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/dps650ab.txt b/Documentation/devicetree/bindings/hwmon/dps650ab.txt
deleted file mode 100644
index 76780e795899..000000000000
--- a/Documentation/devicetree/bindings/hwmon/dps650ab.txt
+++ /dev/null
@@ -1,11 +0,0 @@ 
-Bindings for Delta Electronics DPS-650-AB power supply
-
-Required properties:
-- compatible : "delta,dps650ab"
-- reg        : I2C address, one of 0x58, 0x59.
-
-Example:
-	dps650ab@58 {
-		    compatible = "delta,dps650ab";
-		    reg = <0x58>;
-	};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 1bbfa98a85d8..b1bad299ec66 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -73,6 +73,8 @@  properties:
           - dallas,ds4510
             # Digital Thermometer and Thermostat
           - dallas,ds75
+            # Delta Electronics DPS-650-AB power supply
+          - delta,dps650ab
           # Delta Electronics DPS920AB 920W 54V Power Supply
           - delta,dps920ab
             # 1/4 Brick DC/DC Regulated Power Module