* [PATCH] dt-bindings: i2c: st,stm32-i2c: Make each example a separate entry
@ 2022-01-06 18:30 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-06 18:30 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Pierre-Yves MORDRET
Cc: linux-i2c, devicetree, linux-stm32, linux-arm-kernel, 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/st,stm32-i2c.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index c07289a643d8..46b62e1c9273 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -112,6 +112,9 @@ examples:
clocks = <&rcc 0 149>;
};
+ - |
+ #include <dt-bindings/mfd/stm32f7-rcc.h>
+ #include <dt-bindings/clock/stm32fx-clock.h>
//Example 2 (with st,stm32f7-i2c compatible)
i2c@40005800 {
compatible = "st,stm32f7-i2c";
@@ -124,6 +127,9 @@ examples:
clocks = <&rcc 1 CLK_I2C1>;
};
+ - |
+ #include <dt-bindings/mfd/stm32f7-rcc.h>
+ #include <dt-bindings/clock/stm32fx-clock.h>
//Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] dt-bindings: i2c: st, stm32-i2c: Make each example a separate entry
@ 2022-01-06 18:30 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-06 18:30 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Pierre-Yves MORDRET
Cc: linux-i2c, devicetree, linux-stm32, linux-arm-kernel, 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/st,stm32-i2c.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index c07289a643d8..46b62e1c9273 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -112,6 +112,9 @@ examples:
clocks = <&rcc 0 149>;
};
+ - |
+ #include <dt-bindings/mfd/stm32f7-rcc.h>
+ #include <dt-bindings/clock/stm32fx-clock.h>
//Example 2 (with st,stm32f7-i2c compatible)
i2c@40005800 {
compatible = "st,stm32f7-i2c";
@@ -124,6 +127,9 @@ examples:
clocks = <&rcc 1 CLK_I2C1>;
};
+ - |
+ #include <dt-bindings/mfd/stm32f7-rcc.h>
+ #include <dt-bindings/clock/stm32fx-clock.h>
//Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: i2c: st,stm32-i2c: Make each example a separate entry
2022-01-06 18:30 ` [PATCH] dt-bindings: i2c: st, stm32-i2c: " Rob Herring
@ 2022-01-11 17:50 ` Rob Herring
-1 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-11 17:50 UTC (permalink / raw)
To: Rob Herring
Cc: linux-arm-kernel, Pierre-Yves MORDRET, linux-stm32,
Alexandre Torgue, linux-i2c, Maxime Coquelin, linux-kernel,
devicetree
On Thu, 06 Jan 2022 12:30:36 -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/st,stm32-i2c.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: i2c: st,stm32-i2c: Make each example a separate entry
@ 2022-01-11 17:50 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-11 17:50 UTC (permalink / raw)
To: Rob Herring
Cc: linux-arm-kernel, Pierre-Yves MORDRET, linux-stm32,
Alexandre Torgue, linux-i2c, Maxime Coquelin, linux-kernel,
devicetree
On Thu, 06 Jan 2022 12:30:36 -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/st,stm32-i2c.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-11 17:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 18:30 [PATCH] dt-bindings: i2c: st,stm32-i2c: Make each example a separate entry Rob Herring
2022-01-06 18:30 ` [PATCH] dt-bindings: i2c: st, stm32-i2c: " Rob Herring
2022-01-11 17:50 ` [PATCH] dt-bindings: i2c: st,stm32-i2c: " Rob Herring
2022-01-11 17:50 ` Rob Herring
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.