diff mbox series

dt-bindings: BD718x7 - add missing I2C bus properties

Message ID 20200406073008.GA13084@localhost.localdomain
State Accepted, archived
Headers show
Series dt-bindings: BD718x7 - add missing I2C bus properties | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Matti Vaittinen April 6, 2020, 7:30 a.m. UTC
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>
---

This patch was created against Lee's for-mfd-next branch. Please let
me know if this was not feasible.

 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml | 4 +++-
 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)


base-commit: d2923aa4535664ae5c46c3a093985afd18fec118

Comments

Rob Herring (Arm) April 9, 2020, 4:36 p.m. UTC | #1
On Mon, 6 Apr 2020 10:30:08 +0300, Matti Vaittinen wrote:
> 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>
> ---
> 
> This patch was created against Lee's for-mfd-next branch. Please let
> me know if this was not feasible.
> 
>  Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml | 4 +++-
>  Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml | 4 +++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 

Applied, thanks.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
index aa922c560fcc..65018a019e1d 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
@@ -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>;
diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
index 402e40dfe0b8..77bcca2d414f 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
@@ -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>;