* [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant
@ 2025-03-26 8:59 Wolfram Sang
2025-03-26 18:01 ` Conor Dooley
0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2025-03-26 8:59 UTC (permalink / raw)
To: linux-renesas-soc
Cc: Miquel Raynal, Wolfram Sang, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Jarkko Nikula, linux-i2c, devicetree
So far, no differences are known, so it can fallback to the default
compatible.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
If everyone is OK with this patch, does anyone mind if I shortcut it
into the v6.15 mergewindow? It is just a documentation update and would
simplify upstreaming the I2C chain for this board. One dependency less.
.../devicetree/bindings/i2c/snps,designware-i2c.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
index e5d05263c45a..87eea87bdd52 100644
--- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
@@ -27,6 +27,11 @@ properties:
oneOf:
- description: Generic Synopsys DesignWare I2C controller
const: snps,designware-i2c
+ - description: Renesas RZ/N1D I2C controller
+ items:
+ - const: renesas,r9a06g032-i2c
+ - const: renesas,rzn1-i2c
+ - const: snps,designware-i2c
- description: Microsemi Ocelot SoCs I2C controller
items:
- const: mscc,ocelot-i2c
--
2.47.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant
2025-03-26 8:59 [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant Wolfram Sang
@ 2025-03-26 18:01 ` Conor Dooley
2025-03-26 21:37 ` Wolfram Sang
0 siblings, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2025-03-26 18:01 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-renesas-soc, Miquel Raynal, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Jarkko Nikula, linux-i2c, devicetree
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
On Wed, Mar 26, 2025 at 09:59:12AM +0100, Wolfram Sang wrote:
> So far, no differences are known, so it can fallback to the default
> compatible.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>
> If everyone is OK with this patch, does anyone mind if I shortcut it
> into the v6.15 mergewindow? It is just a documentation update and would
> simplify upstreaming the I2C chain for this board. One dependency less.
>
> .../devicetree/bindings/i2c/snps,designware-i2c.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
> index e5d05263c45a..87eea87bdd52 100644
> --- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
> @@ -27,6 +27,11 @@ properties:
> oneOf:
> - description: Generic Synopsys DesignWare I2C controller
> const: snps,designware-i2c
> + - description: Renesas RZ/N1D I2C controller
> + items:
> + - const: renesas,r9a06g032-i2c
> + - const: renesas,rzn1-i2c
I don't really understand the rzn1/r9a06g032 difference here. Why are
both needed?
> + - const: snps,designware-i2c
> - description: Microsemi Ocelot SoCs I2C controller
> items:
> - const: mscc,ocelot-i2c
> --
> 2.47.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant
2025-03-26 18:01 ` Conor Dooley
@ 2025-03-26 21:37 ` Wolfram Sang
2025-03-26 22:07 ` Conor Dooley
0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2025-03-26 21:37 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-renesas-soc, Miquel Raynal, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Jarkko Nikula, linux-i2c, devicetree
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
> > + - const: renesas,r9a06g032-i2c
> > + - const: renesas,rzn1-i2c
>
> I don't really understand the rzn1/r9a06g032 difference here. Why are
> both needed?
From our experience with Renesas R-Car, we concluded to have a binding
for the SoC and one for the family it belongs to.
For example, the already upstream watchdog bindings:
- items:
- enum:
- renesas,r9a06g032-wdt # RZ/N1D
- const: renesas,rzn1-wdt # RZ/N1
I could add the comments here as well if that helps?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant
2025-03-26 21:37 ` Wolfram Sang
@ 2025-03-26 22:07 ` Conor Dooley
0 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2025-03-26 22:07 UTC (permalink / raw)
To: Wolfram Sang, linux-renesas-soc, Miquel Raynal, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Geert Uytterhoeven, Magnus Damm, Jarkko Nikula, linux-i2c,
devicetree
[-- Attachment #1: Type: text/plain, Size: 805 bytes --]
On Wed, Mar 26, 2025 at 10:37:01PM +0100, Wolfram Sang wrote:
>
> > > + - const: renesas,r9a06g032-i2c
> > > + - const: renesas,rzn1-i2c
> >
> > I don't really understand the rzn1/r9a06g032 difference here. Why are
> > both needed?
>
> From our experience with Renesas R-Car, we concluded to have a binding
> for the SoC and one for the family it belongs to.
>
> For example, the already upstream watchdog bindings:
>
> - items:
> - enum:
> - renesas,r9a06g032-wdt # RZ/N1D
> - const: renesas,rzn1-wdt # RZ/N1
>
> I could add the comments here as well if that helps?
I think that would be helpful, to explain the relationship between the
devices. With it
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-26 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26 8:59 [PATCH] dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant Wolfram Sang
2025-03-26 18:01 ` Conor Dooley
2025-03-26 21:37 ` Wolfram Sang
2025-03-26 22:07 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox