Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: BD718x7 - add missing I2C bus properties

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>

authored by

Matti Vaittinen and committed by
Rob Herring
213d0e4c ec76f57d

+6 -2
+3 -1
Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
··· 123 123 #include <dt-bindings/leds/common.h> 124 124 125 125 i2c { 126 - pmic: pmic@4b { 126 + #address-cells = <1>; 127 + #size-cells = <0>; 128 + pmic: pmic@4b { 127 129 compatible = "rohm,bd71837"; 128 130 reg = <0x4b>; 129 131 interrupt-parent = <&gpio1>;
+3 -1
Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
··· 128 128 #include <dt-bindings/leds/common.h> 129 129 130 130 i2c { 131 - pmic: pmic@4b { 131 + #address-cells = <1>; 132 + #size-cells = <0>; 133 + pmic: pmic@4b { 132 134 compatible = "rohm,bd71847"; 133 135 reg = <0x4b>; 134 136 interrupt-parent = <&gpio1>;