diff mbox series

[v2,1/2] dt-bindings: hwmon: adi,ltc2992: correct unit address in example

Message ID 20230118172237.349111-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] dt-bindings: hwmon: adi,ltc2992: correct unit address in example | expand

Commit Message

Krzysztof Kozlowski Jan. 18, 2023, 5:22 p.m. UTC
lower-case hex is expected for unit addresses:

  adi,ltc2992.example.dts:22.24-38.15: Warning (i2c_bus_reg): /example-0/i2c/ltc2992@6F: I2C bus unit address format error, expected "6f"

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>

---

Changes since v1:
1. Add Rb tag
2. Reorder patches to silence warnings.
---
 Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guenter Roeck Jan. 18, 2023, 6:57 p.m. UTC | #1
On Wed, Jan 18, 2023 at 06:22:36PM +0100, Krzysztof Kozlowski wrote:
> lower-case hex is expected for unit addresses:
> 
>   adi,ltc2992.example.dts:22.24-38.15: Warning (i2c_bus_reg): /example-0/i2c/ltc2992@6F: I2C bus unit address format error, expected "6f"
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied to hwmon-next.

Thanks,
Guenter

> ---
> 
> Changes since v1:
> 1. Add Rb tag
> 2. Reorder patches to silence warnings.
> ---
>  Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
> index 64a8fcb7bc46..ec984248219e 100644
> --- a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
> @@ -59,12 +59,12 @@ examples:
>          #address-cells = <1>;
>          #size-cells = <0>;
>  
> -        ltc2992@6F {
> +        ltc2992@6f {
>                  #address-cells = <1>;
>                  #size-cells = <0>;
>  
>                  compatible = "adi,ltc2992";
> -                reg = <0x6F>;
> +                reg = <0x6f>;
>  
>                  channel@0 {
>                          reg = <0x0>;
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
index 64a8fcb7bc46..ec984248219e 100644
--- a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
+++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml
@@ -59,12 +59,12 @@  examples:
         #address-cells = <1>;
         #size-cells = <0>;
 
-        ltc2992@6F {
+        ltc2992@6f {
                 #address-cells = <1>;
                 #size-cells = <0>;
 
                 compatible = "adi,ltc2992";
-                reg = <0x6F>;
+                reg = <0x6f>;
 
                 channel@0 {
                         reg = <0x0>;