Skip to contentSkip to conversation

dt-bindings: can: rcar_can: document r8a77990 support

PATCH In review Marek Vasut 5 participants 11 messages Nov 18, 2018 – Aug 21, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: can: rcar_can: document r8a77990 support

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/net/can/rcar_can.txt +2 -1
index 9936b9ee67c3..d962138d5b50 100644
@@ -16,6 +16,7 @@ Required properties:
 	      "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC.
 	      "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC.
 	      "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC.
+	      "renesas,can-r8a77990" if CAN controller is a part of R8A77990 SoC.
 	      "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device.
 	      "renesas,rcar-gen2-can" for a generic R-Car Gen2 or RZ/G1
 	      compatible device.
@@ -37,7 +38,7 @@ Required properties:
 - pinctrl-0: pin control group to be used for this controller.
 - pinctrl-names: must be "default".
 
-Required properties for R8A7795, R8A7796 and R8A77965:
+Required properties for R8A7795, R8A7796, R8A77965 and R8A77990:
 For the denoted SoCs, "clkp2" can be CANFD clock. This is a div6 clock and can
 be used by both CAN and CAN FD controller at the same time. It needs to be
 scaled to maximum frequency if any of these controllers use it. This is done
Signature · 1 line
2.18.0
#1 lore raw
Quoted 21 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/net/can/rcar_can.txt +0 -0
index 9936b9ee67c3..d962138d5b50 100644

Documentation/devicetree/bindings/net/can/rcar_can.txt Required properties: · line 18

Quoted 3 lines
Documentation/devicetree/bindings/net/can/rcar_can.txt +0 -0
@@ -16,6 +16,7 @@ Required properties:
 	      "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC.
 	      "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC.
 	      "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC.

I was wondering why you didn't have a patch adding support for R8A77965. I see it is already added here but can't find a tree where this line exists (no linus/master or renesas-drivers/master). Did you maybe forgot to send out a patch?

Quoted 16 lines
Documentation/devicetree/bindings/net/can/rcar_can.txt +2 -1
+	      "renesas,can-r8a77990" if CAN controller is a part of R8A77990 SoC.
 	      "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device.
 	      "renesas,rcar-gen2-can" for a generic R-Car Gen2 or RZ/G1
 	      compatible device.
@@ -37,7 +38,7 @@ Required properties:
 - pinctrl-0: pin control group to be used for this controller.
 - pinctrl-names: must be "default".
 
-Required properties for R8A7795, R8A7796 and R8A77965:
+Required properties for R8A7795, R8A7796, R8A77965 and R8A77990:
 For the denoted SoCs, "clkp2" can be CANFD clock. This is a div6 clock and can
 be used by both CAN and CAN FD controller at the same time. It needs to be
 scaled to maximum frequency if any of these controllers use it. This is done
Signature · 1 line
2.18.0
#2 lore raw
Quoted 17 lines · Wolfram Sang
Quoted 16 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 13 lines

Documentation/devicetree/bindings/net/can/rcar_can.txt Required properties: · line 18

Quoted 8 lines
Documentation/devicetree/bindings/net/can/rcar_can.txt +0 -0
index 9936b9ee67c3..d962138d5b50 100644
@@ -16,6 +16,7 @@ Required properties:
 	      "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC.
 	      "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC.
 	      "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC.

I was wondering why you didn't have a patch adding support for R8A77965. I see it is already added here but can't find a tree where this line exists (no linus/master or renesas-drivers/master). Did you maybe forgot to send out a patch?

Try and grep for 'renesas,rcar-gen3-can' , the drivers are in drivers/net/can/rcar/ . They both match on the generic compatible.

Signature · 2 lines
Best regards,
Marek Vasut
#3 lore raw

Hi Marek, Wolfram,

Quoted 20 lines · Marek Vasut
Quoted 7 lines · Wolfram Sang
Quoted 5 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Quoted 11 lines

Documentation/devicetree/bindings/net/can/rcar_can.txt Required properties: · line 18

Quoted 6 lines
Documentation/devicetree/bindings/net/can/rcar_can.txt +0 -0
@@ -16,6 +16,7 @@ Required properties:
           "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC.
           "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC.
           "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC.

I was wondering why you didn't have a patch adding support for R8A77965. I see it is already added here but can't find a tree where this line exists (no linus/master or renesas-drivers/master). Did you maybe forgot to send out a patch?

Quoted 2 lines

Try and grep for 'renesas,rcar-gen3-can' , the drivers are in drivers/net/can/rcar/ . They both match on the generic compatible.

Marek: I think you misunderstood Wolfram's question. He asked about the DT bindings, not about the driver.

Wolfram: Eugenu's commit 4f145f14f6b98b5a ("dt-bindings: can:
rcar_can: document r8a77965 support") is in next as of next-20181115 . However, it's not part of linux-can-next. Seems to be destined for v4.20 as a fix.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

Reviewed-by on v1 1/1
#7 lore raw
In reply to Marek Vasut
Quoted 12 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
Quoted 3 lines
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
#4 lore raw
In reply to Geert Uytterhoeven
Quoted 3 lines

Marek: I think you misunderstood Wolfram's question. He asked about the DT bindings, not about the driver.

Exactly.

Quoted 4 lines

Wolfram: Eugenu's commit 4f145f14f6b98b5a ("dt-bindings: can:
rcar_can: document r8a77965 support") is in next as of next-20181115 . However, it's not part of linux-can-next. Seems to be destined for v4.20 as a fix.

Thanks, Geert!

#5 lore raw
In reply to Geert Uytterhoeven
Quoted 1 line · Geert Uytterhoeven

Hi Marek, Wolfram,

Hi,

Quoted 21 lines · Marek Vasut
Quoted 20 lines · Wolfram Sang
Quoted 18 lines · Marek Vasut

Documentation/devicetree/bindings/net/can/rcar_can.txt Required properties: · line 18

Quoted 12 lines

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Documentation/devicetree/bindings/net/can/rcar_can.txt +0 -0
@@ -16,6 +16,7 @@ Required properties:
           "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC.
           "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC.
           "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC.

I was wondering why you didn't have a patch adding support for R8A77965. I see it is already added here but can't find a tree where this line exists (no linus/master or renesas-drivers/master). Did you maybe forgot to send out a patch?

Quoted 5 lines
Quoted 2 lines

Try and grep for 'renesas,rcar-gen3-can' , the drivers are in drivers/net/can/rcar/ . They both match on the generic compatible.

Marek: I think you misunderstood Wolfram's question. He asked about the DT bindings, not about the driver.

Ha, yes, I think I did.

Quoted 4 lines

Wolfram: Eugenu's commit 4f145f14f6b98b5a ("dt-bindings: can:
rcar_can: document r8a77965 support") is in next as of next-20181115 . However, it's not part of linux-can-next. Seems to be destined for v4.20 as a fix.

I'm always building on top of next, so that's why I didn't quite understand the question.

Signature · 2 lines
Best regards,
Marek Vasut
#6 lore raw
In reply to Geert Uytterhoeven
Quoted 4 lines · Geert Uytterhoeven

Wolfram: Eugenu's commit 4f145f14f6b98b5a ("dt-bindings: can:
rcar_can: document r8a77965 support") is in next as of next-20181115 . However, it's not part of linux-can-next. Seems to be destined for v4.20 as a fix.

... which has just landed in Linus' tree.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
maintainer Reviewed-by on v1 1/1
#10 lore raw
In reply to Marek Vasut
Quoted 12 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
Quoted 4 lines
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
#8 lore raw
In reply to Simon Horman
Quoted 17 lines · Simon Horman
Quoted 12 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
Quoted 3 lines
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 2 lines

This patch seems to be missing upstream ?

Signature · 2 lines
Best regards,
Marek Vasut
#9 lore raw
Quoted 18 lines · Marek Vasut
Quoted 17 lines · Simon Horman
Quoted 15 lines · Marek Vasut

Document the support for rcar_can on R8A77990 SoC devices. Add R8A77990 to the list of SoCs which require the "assigned-clocks" and "assigned-clock-rates" properties.

Cc Eugeniu Rosca <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Marc Kleine-Budde <[email protected]>
Cc Rob Herring <[email protected]>
Cc Simon Horman <[email protected]>
Cc Wolfram Sang <[email protected]>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 3 lines
Quoted 2 lines

This patch seems to be missing upstream ?

Thanks, queuing in renesas-devel for v5.4.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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