All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
@ 2022-01-19  1:52 Rob Herring
  2022-01-23 15:28 ` Rob Herring
  2022-01-30 20:22 ` Chris Packham
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2022-01-19  1:52 UTC (permalink / raw)
  To: Chris Packham; +Cc: linux-i2c, devicetree, linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
  2022-01-19  1:52 [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry Rob Herring
@ 2022-01-23 15:28 ` Rob Herring
  2022-01-30 20:22 ` Chris Packham
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-01-23 15:28 UTC (permalink / raw)
  To: Rob Herring; +Cc: devicetree, linux-kernel, Chris Packham, linux-i2c

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry
  2022-01-19  1:52 [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry Rob Herring
  2022-01-23 15:28 ` Rob Herring
@ 2022-01-30 20:22 ` Chris Packham
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Packham @ 2022-01-30 20:22 UTC (permalink / raw)
  To: Rob Herring; +Cc: linux-i2c, devicetree, linux-kernel

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>;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-30 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  1:52 [PATCH] dt-bindings: i2c: mpc: Make each example a separate entry Rob Herring
2022-01-23 15:28 ` Rob Herring
2022-01-30 20:22 ` Chris Packham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.