lkml.org 
[lkml]   [2023]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/2] dt-bindings: hwmon: adi,ltc2992: correct unit address in example
Date
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(-)

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>;
--
2.34.1
\
 
 \ /
  Last update: 2023-03-26 23:46    [W:0.024 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site