Skip to contentSkip to conversation

dt-bindings: i2c: mpc: Make each example a separate entry

PATCH Applied Rob Herring 2 participants 3 messages Jan 19, 2022 – Jan 30, 2022

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: i2c: mpc: Make each example a separate entry

Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes.

---
 Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/i2c/i2c-mpc.yaml +2 -0
index 98c6fcf7bf26..018e1b944424 100644
@@ -73,6 +73,7 @@ examples:
         clock-frequency = <100000>;
     };
 
+  - |
     /* MPC5200B based board */
     i2c@3d00 {
         #address-cells = <1>;
@@ -84,6 +85,7 @@ examples:
         fsl,preserve-clocking;
     };
 
+  - |
     /* MPC8544 base board */
     i2c@3100 {
         #address-cells = <1>;
Signature · 1 line
2.32.0
author maintainer Applied
#1 lore raw
Quoted 8 lines · Rob Herring

Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes.

---
 Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks!

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Rob Herring

Hi Rob,

Quoted 4 lines · Rob Herring

Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes.

Quoted 24 lines
---
  Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
  1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/i2c/i2c-mpc.yaml +2 -0
index 98c6fcf7bf26..018e1b944424 100644
@@ -73,6 +73,7 @@ examples:
          clock-frequency = <100000>;
      };
 
+  - |
      /* MPC5200B based board */
      i2c@3d00 {
          #address-cells = <1>;
@@ -84,6 +85,7 @@ examples:
          fsl,preserve-clocking;
      };
 
+  - |
      /* MPC8544 base board */
      i2c@3100 {
          #address-cells = <1>;