Commit 213d0e4c authored by Matti Vaittinen's avatar Matti Vaittinen Committed by Rob Herring

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: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent ec76f57d
...@@ -123,6 +123,8 @@ examples: ...@@ -123,6 +123,8 @@ examples:
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
i2c { i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic: pmic@4b { pmic: pmic@4b {
compatible = "rohm,bd71837"; compatible = "rohm,bd71837";
reg = <0x4b>; reg = <0x4b>;
......
...@@ -128,6 +128,8 @@ examples: ...@@ -128,6 +128,8 @@ examples:
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
i2c { i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic: pmic@4b { pmic: pmic@4b {
compatible = "rohm,bd71847"; compatible = "rohm,bd71847";
reg = <0x4b>; reg = <0x4b>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment