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

From: Guenter Roeck
Date: Thu Sep 23 2021 - 22:06:23 EST


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@xxxxxxxxxxxxx>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

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