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

Rob Herring posted 1 patch 4 years, 5 months ago
Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
Posted by Rob Herring 4 years, 5 months ago
Each independent example should be a separate entry. This allows for
'interrupts' to have different cell sizes.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
index 98c6fcf7bf26..018e1b944424 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
@@ -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>;
-- 
2.32.0

Re: [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
Posted by Rob Herring 4 years, 5 months ago
On Tue, 18 Jan 2022 19:52:34 -0600, Rob Herring wrote:
> Each independent example should be a separate entry. This allows for
> 'interrupts' to have different cell sizes.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied, thanks!
Re: [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
Posted by Chris Packham 4 years, 5 months ago
Hi Rob,

On 19/01/22 14:52, Rob Herring wrote:
> Each independent example should be a separate entry. This allows for
> 'interrupts' to have different cell sizes.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> ---
>   Documentation/devicetree/bindings/i2c/i2c-mpc.yaml | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
> index 98c6fcf7bf26..018e1b944424 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
> +++ b/Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
> @@ -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>;