* [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
@ 2024-08-01 14:03 Geert Uytterhoeven
2024-08-01 19:22 ` Simon Horman
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2024-08-01 14:03 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Fabrizio Castro, linux-can
Cc: netdev, devicetree, linux-renesas-soc, Duy Nguyen,
Geert Uytterhoeven
From: Duy Nguyen <duy.nguyen.rh@renesas.com>
Document support for the CAN-FD Interface on the Renesas R-Car V4M
(R8A779H0) SoC, which supports up to four channels.
The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
but differs in some hardware parameters, as reflected by the Parameter
Status Information part of the Global IP Version Register. However,
none of this parameterization should have any impact on the driver, as
the driver does not access any register that is impacted by the
parameterization (except for the number of channels).
Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
[geert: Clarify R-Car V4M differences]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v3:
- Add more clarification,
v2:
- Drop RFC state now it works.
Changes compared to the BSP:
- Restrict number of channels to four.
---
.../bindings/net/can/renesas,rcar-canfd.yaml | 22 ++++++++++++++-----
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
index d3f45d29fa0a550a..7c5ac5d2e880bbb8 100644
--- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
+++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
@@ -32,6 +32,7 @@ properties:
- enum:
- renesas,r8a779a0-canfd # R-Car V3U
- renesas,r8a779g0-canfd # R-Car V4H
+ - renesas,r8a779h0-canfd # R-Car V4M
- const: renesas,rcar-gen4-canfd # R-Car Gen4
- items:
@@ -163,14 +164,23 @@ allOf:
maxItems: 1
- if:
- not:
- properties:
- compatible:
- contains:
- const: renesas,rcar-gen4-canfd
+ properties:
+ compatible:
+ contains:
+ const: renesas,r8a779h0-canfd
then:
patternProperties:
- "^channel[2-7]$": false
+ "^channel[5-7]$": false
+ else:
+ if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: renesas,rcar-gen4-canfd
+ then:
+ patternProperties:
+ "^channel[2-7]$": false
unevaluatedProperties: false
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
2024-08-01 14:03 [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support Geert Uytterhoeven
@ 2024-08-01 19:22 ` Simon Horman
2024-08-06 17:18 ` Rob Herring (Arm)
2024-08-06 19:15 ` Marc Kleine-Budde
2 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2024-08-01 19:22 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Marc Kleine-Budde, Vincent Mailhol, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Fabrizio Castro, linux-can,
netdev, devicetree, linux-renesas-soc, Duy Nguyen
On Thu, Aug 01, 2024 at 04:03:17PM +0200, Geert Uytterhoeven wrote:
> From: Duy Nguyen <duy.nguyen.rh@renesas.com>
>
> Document support for the CAN-FD Interface on the Renesas R-Car V4M
> (R8A779H0) SoC, which supports up to four channels.
>
> The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
> but differs in some hardware parameters, as reflected by the Parameter
> Status Information part of the Global IP Version Register. However,
> none of this parameterization should have any impact on the driver, as
> the driver does not access any register that is impacted by the
> parameterization (except for the number of channels).
>
> Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
> [geert: Clarify R-Car V4M differences]
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
2024-08-01 14:03 [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support Geert Uytterhoeven
2024-08-01 19:22 ` Simon Horman
@ 2024-08-06 17:18 ` Rob Herring (Arm)
2024-08-06 19:15 ` Marc Kleine-Budde
2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2024-08-06 17:18 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Fabrizio Castro, netdev, Marc Kleine-Budde, Vincent Mailhol,
linux-can, Duy Nguyen, Eric Dumazet, devicetree, David S . Miller,
linux-renesas-soc, Paolo Abeni, Jakub Kicinski, Conor Dooley,
Krzysztof Kozlowski
On Thu, 01 Aug 2024 16:03:17 +0200, Geert Uytterhoeven wrote:
> From: Duy Nguyen <duy.nguyen.rh@renesas.com>
>
> Document support for the CAN-FD Interface on the Renesas R-Car V4M
> (R8A779H0) SoC, which supports up to four channels.
>
> The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
> but differs in some hardware parameters, as reflected by the Parameter
> Status Information part of the Global IP Version Register. However,
> none of this parameterization should have any impact on the driver, as
> the driver does not access any register that is impacted by the
> parameterization (except for the number of channels).
>
> Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
> [geert: Clarify R-Car V4M differences]
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v3:
> - Add more clarification,
>
> v2:
> - Drop RFC state now it works.
>
> Changes compared to the BSP:
> - Restrict number of channels to four.
> ---
> .../bindings/net/can/renesas,rcar-canfd.yaml | 22 ++++++++++++++-----
> 1 file changed, 16 insertions(+), 6 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
2024-08-01 14:03 [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support Geert Uytterhoeven
2024-08-01 19:22 ` Simon Horman
2024-08-06 17:18 ` Rob Herring (Arm)
@ 2024-08-06 19:15 ` Marc Kleine-Budde
2024-08-30 10:18 ` Geert Uytterhoeven
2 siblings, 1 reply; 6+ messages in thread
From: Marc Kleine-Budde @ 2024-08-06 19:15 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Vincent Mailhol, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Fabrizio Castro, linux-can, netdev, devicetree, linux-renesas-soc,
Duy Nguyen
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
On 01.08.2024 16:03:17, Geert Uytterhoeven wrote:
> From: Duy Nguyen <duy.nguyen.rh@renesas.com>
>
> Document support for the CAN-FD Interface on the Renesas R-Car V4M
> (R8A779H0) SoC, which supports up to four channels.
>
> The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
> but differs in some hardware parameters, as reflected by the Parameter
> Status Information part of the Global IP Version Register. However,
> none of this parameterization should have any impact on the driver, as
> the driver does not access any register that is impacted by the
> parameterization (except for the number of channels).
>
> Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
> [geert: Clarify R-Car V4M differences]
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Added to linux-can-next.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
2024-08-06 19:15 ` Marc Kleine-Budde
@ 2024-08-30 10:18 ` Geert Uytterhoeven
2024-08-30 10:41 ` Marc Kleine-Budde
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2024-08-30 10:18 UTC (permalink / raw)
To: Marc Kleine-Budde
Cc: Vincent Mailhol, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Fabrizio Castro, linux-can, netdev, devicetree, linux-renesas-soc,
Duy Nguyen
Hi Marc,
On Tue, Aug 6, 2024 at 9:15 PM Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> On 01.08.2024 16:03:17, Geert Uytterhoeven wrote:
> > From: Duy Nguyen <duy.nguyen.rh@renesas.com>
> >
> > Document support for the CAN-FD Interface on the Renesas R-Car V4M
> > (R8A779H0) SoC, which supports up to four channels.
> >
> > The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
> > but differs in some hardware parameters, as reflected by the Parameter
> > Status Information part of the Global IP Version Register. However,
> > none of this parameterization should have any impact on the driver, as
> > the driver does not access any register that is impacted by the
> > parameterization (except for the number of channels).
> >
> > Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
> > [geert: Clarify R-Car V4M differences]
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Added to linux-can-next.
Looks like you are back from holidays, but haven't pushed linux-can-next
recently?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support
2024-08-30 10:18 ` Geert Uytterhoeven
@ 2024-08-30 10:41 ` Marc Kleine-Budde
0 siblings, 0 replies; 6+ messages in thread
From: Marc Kleine-Budde @ 2024-08-30 10:41 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Vincent Mailhol, David S . Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Fabrizio Castro, linux-can, netdev, devicetree, linux-renesas-soc,
Duy Nguyen
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
On 30.08.2024 12:18:40, Geert Uytterhoeven wrote:
> Hi Marc,
>
> On Tue, Aug 6, 2024 at 9:15 PM Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> > On 01.08.2024 16:03:17, Geert Uytterhoeven wrote:
> > > From: Duy Nguyen <duy.nguyen.rh@renesas.com>
> > >
> > > Document support for the CAN-FD Interface on the Renesas R-Car V4M
> > > (R8A779H0) SoC, which supports up to four channels.
> > >
> > > The CAN-FD module on R-Car V4M is very similar to the one on R-Car V4H,
> > > but differs in some hardware parameters, as reflected by the Parameter
> > > Status Information part of the Global IP Version Register. However,
> > > none of this parameterization should have any impact on the driver, as
> > > the driver does not access any register that is impacted by the
> > > parameterization (except for the number of channels).
> > >
> > > Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com>
> > > [geert: Clarify R-Car V4M differences]
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >
> > Added to linux-can-next.
>
> Looks like you are back from holidays, but haven't pushed linux-can-next
> recently?
I'll update the branch today and send a PR.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-08-30 10:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 14:03 [PATCH v3] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support Geert Uytterhoeven
2024-08-01 19:22 ` Simon Horman
2024-08-06 17:18 ` Rob Herring (Arm)
2024-08-06 19:15 ` Marc Kleine-Budde
2024-08-30 10:18 ` Geert Uytterhoeven
2024-08-30 10:41 ` Marc Kleine-Budde
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).