devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H
@ 2025-08-27 23:34 Kuninori Morimoto
  2025-08-28  7:27 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Kuninori Morimoto @ 2025-08-27 23:34 UTC (permalink / raw)
  To: Geert Uytterhoeven, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-renesas-soc, devicetree

Document the compatible values for the Renesas R-Car X5H (R8A78000) SoC

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
v1 -> v2
	- add empty enum to avoid allowing invalid use.

 Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
index 5f9d541d177a..e2fec2afbc6d 100644
--- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
+++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
@@ -473,6 +473,12 @@ properties:
           - const: renesas,r8a779mb
           - const: renesas,r8a7795
 
+      - description: R-Car X5H (R8A78000)
+        items:
+          - enum:
+              - {}               # avoid allowing invalid use. will be replaced to actual board name
+          - const: renesas,r8a78000
+
       - description: RZ/N1D (R9A06G032)
         items:
           - enum:
-- 
2.43.0


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

* Re: [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H
  2025-08-27 23:34 [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H Kuninori Morimoto
@ 2025-08-28  7:27 ` Krzysztof Kozlowski
  2025-08-28 16:41   ` Conor Dooley
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-28  7:27 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Geert Uytterhoeven, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-renesas-soc, devicetree

On Wed, Aug 27, 2025 at 11:34:09PM +0000, Kuninori Morimoto wrote:
> Document the compatible values for the Renesas R-Car X5H (R8A78000) SoC
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> v1 -> v2
> 	- add empty enum to avoid allowing invalid use.

I don't understand why do you need this. Where is any user of it? There
is no such in this patchset, so this must be explicitly explained in the
commit msg.

> 
>  Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> index 5f9d541d177a..e2fec2afbc6d 100644
> --- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> +++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> @@ -473,6 +473,12 @@ properties:
>            - const: renesas,r8a779mb
>            - const: renesas,r8a7795
>  
> +      - description: R-Car X5H (R8A78000)
> +        items:
> +          - enum:
> +              - {}               # avoid allowing invalid use. will be replaced to actual board name

We don't allow such cases because it is pointless.

Otherwise explain in the commit msg why this is needed, why exception is
justified.

You have entire commit msg to explain anything unusual and if you look
at source code you will not notice such syntax for boards, so clearly
this is unusual.

Best regards,
Krzysztof


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

* Re: [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H
  2025-08-28  7:27 ` Krzysztof Kozlowski
@ 2025-08-28 16:41   ` Conor Dooley
  2025-09-01  0:06     ` Kuninori Morimoto
  0 siblings, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2025-08-28 16:41 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Kuninori Morimoto, Geert Uytterhoeven, Rob Herring,
	Krzysztof Kozlowski, linux-renesas-soc, devicetree

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

On Thu, Aug 28, 2025 at 09:27:19AM +0200, Krzysztof Kozlowski wrote:
> On Wed, Aug 27, 2025 at 11:34:09PM +0000, Kuninori Morimoto wrote:
> > Document the compatible values for the Renesas R-Car X5H (R8A78000) SoC
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > ---
> > v1 -> v2
> > 	- add empty enum to avoid allowing invalid use.
> 
> I don't understand why do you need this. Where is any user of it? There
> is no such in this patchset, so this must be explicitly explained in the
> commit msg.
> 
> > 
> >  Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> > index 5f9d541d177a..e2fec2afbc6d 100644
> > --- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> > +++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> > @@ -473,6 +473,12 @@ properties:
> >            - const: renesas,r8a779mb
> >            - const: renesas,r8a7795
> >  
> > +      - description: R-Car X5H (R8A78000)
> > +        items:
> > +          - enum:
> > +              - {}               # avoid allowing invalid use. will be replaced to actual board name
> 
> We don't allow such cases because it is pointless.
> 
> Otherwise explain in the commit msg why this is needed, why exception is
> justified.
> 
> You have entire commit msg to explain anything unusual and if you look
> at source code you will not notice such syntax for boards, so clearly
> this is unusual.

They have a soc driver that binds to the compatible, which is why I
suggested this rather than refusing the patch. I do agree it should be
mentioned though.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H
  2025-08-28 16:41   ` Conor Dooley
@ 2025-09-01  0:06     ` Kuninori Morimoto
  0 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2025-09-01  0:06 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Krzysztof Kozlowski, Geert Uytterhoeven, Rob Herring,
	Krzysztof Kozlowski, linux-renesas-soc, devicetree


Hi Krzysztof, Conor, Geert

> > > v1 -> v2
> > > 	- add empty enum to avoid allowing invalid use.
> > 
> > I don't understand why do you need this. Where is any user of it? There
> > is no such in this patchset, so this must be explicitly explained in the
> > commit msg.
(snip)
> > We don't allow such cases because it is pointless.
> > 
> > Otherwise explain in the commit msg why this is needed, why exception is
> > justified.
> > 
> > You have entire commit msg to explain anything unusual and if you look
> > at source code you will not notice such syntax for boards, so clearly
> > this is unusual.
> 
> They have a soc driver that binds to the compatible, which is why I
> suggested this rather than refusing the patch. I do agree it should be
> mentioned though.

OK, let's skip this patch and post it with both SoC and Board name.
Which was my original plan.


Thank you for your help !!

Best regards
---
Kuninori Morimoto

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

end of thread, other threads:[~2025-09-01  0:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 23:34 [PATCH v2] dt-bindings: soc: renesas: Document R-Car X5H Kuninori Morimoto
2025-08-28  7:27 ` Krzysztof Kozlowski
2025-08-28 16:41   ` Conor Dooley
2025-09-01  0:06     ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).