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>
This commit is contained in:
Matti Vaittinen 2020-04-06 10:30:08 +03:00 committed by Rob Herring
parent ec76f57d62
commit 213d0e4c4e
2 changed files with 6 additions and 2 deletions

View File

@ -123,6 +123,8 @@ examples:
#include <dt-bindings/leds/common.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic: pmic@4b {
compatible = "rohm,bd71837";
reg = <0x4b>;

View File

@ -128,6 +128,8 @@ examples:
#include <dt-bindings/leds/common.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic: pmic@4b {
compatible = "rohm,bd71847";
reg = <0x4b>;