Re: [PATCH 1/2] dt-bindings: hwmon: max31827: use supply pin name

From: Rob Herring
Date: Fri Sep 22 2023 - 17:12:10 EST


On Thu, Sep 21, 2023 at 05:20:03PM +0300, Antoniu Miclaus wrote:
> The actual hardware pin name for the supply of max31827 is vdd.
> Update the dt-binding to reflect the hardware properties accordingly.

Changing this breaks the ABI. I see the old one wasn't used by the
driver, but that's just one driver potentially. You need some
justification here why it's okay to break the ABI.

>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/hwmon/adi,max31827.yaml | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> index 2dc8b07b4d3b..21f2d350373b 100644
> --- a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> @@ -27,7 +27,7 @@ properties:
> reg:
> maxItems: 1
>
> - vref-supply:
> + vdd-supply:
> description:
> Must have values in the interval (1.6V; 3.6V) in order for the device to
> function correctly.
> @@ -35,7 +35,7 @@ properties:
> required:
> - compatible
> - reg
> - - vref-supply
> + - vdd-supply
>
> additionalProperties: false
>
> @@ -48,7 +48,7 @@ examples:
> temperature-sensor@42 {
> compatible = "adi,max31827";
> reg = <0x42>;
> - vref-supply = <&reg_vdd>;
> + vdd-supply = <&reg_vdd>;
> };
> };
> ...
> --
> 2.42.0
>