dt-bindings: BD718x7 - add missing I2C bus properties
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 6 Apr 2020 07:30:08 +0000 (10:30 +0300)
committerRob Herring <robh@kernel.org>
Tue, 14 Apr 2020 20:41:13 +0000 (15:41 -0500)
The DT example needs #address-cells and #size-cells for I2C bus or
validity checker will generate warnings. Add these properties in
BD71837 and BD71847 binding examples.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml

index aa922c560fccbdf6041599d2ee6661cd5b95bd86..65018a019e1db316b442bfe32ac025e2225d33ff 100644 (file)
@@ -123,7 +123,9 @@ examples:
     #include <dt-bindings/leds/common.h>
 
     i2c {
-      pmic: pmic@4b {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        pmic: pmic@4b {
             compatible = "rohm,bd71837";
             reg = <0x4b>;
             interrupt-parent = <&gpio1>;
index 402e40dfe0b85b0200aca2b9534f4d5e9b56979c..77bcca2d414f8bda4ed4fe49c2ad183e0b1b3875 100644 (file)
@@ -128,7 +128,9 @@ examples:
     #include <dt-bindings/leds/common.h>
 
     i2c {
-      pmic: pmic@4b {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        pmic: pmic@4b {
             compatible = "rohm,bd71847";
             reg = <0x4b>;
             interrupt-parent = <&gpio1>;