linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add can support to RZ/G2M
@ 2018-09-10 10:43 Fabrizio Castro
  2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
  2018-09-27 10:45 ` [PATCH v2 0/3] Add can support to RZ/G2M Marc Kleine-Budde
  0 siblings, 2 replies; 8+ messages in thread
From: Fabrizio Castro @ 2018-09-10 10:43 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, Rob Herring, Mark Rutland
  Cc: Fabrizio Castro, David S. Miller, Sergei Shtylyov, Simon Horman,
	Magnus Damm, Chris Paterson, linux-can, netdev, devicetree,
	linux-renesas-soc, linux-kernel, Geert Uytterhoeven, Biju Das

Dear All,

this series contains all that's necessary to add CAN support
for RZ/G2M (a.k.a. r8a774a1).

v1-v2:
* applied Geert's comments

Thanks,
Fab

Chris Paterson (1):
  arm64: dts: renesas: r8a774a1: Add CAN nodes

Fabrizio Castro (2):
  can: rcar_can: Fix erroneous registration
  dt-bindings: can: rcar_can: Add r8a774a1 support

 .../devicetree/bindings/net/can/rcar_can.txt       | 18 +++++++++++-----
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi          | 24 ++++++++++++++++++++++
 drivers/net/can/rcar/rcar_can.c                    |  5 ++++-
 3 files changed, 41 insertions(+), 6 deletions(-)

-- 
2.7.4


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

* [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-09-10 10:43 [PATCH v2 0/3] Add can support to RZ/G2M Fabrizio Castro
@ 2018-09-10 10:43 ` Fabrizio Castro
  2018-09-11 13:31   ` Simon Horman
                     ` (2 more replies)
  2018-09-27 10:45 ` [PATCH v2 0/3] Add can support to RZ/G2M Marc Kleine-Budde
  1 sibling, 3 replies; 8+ messages in thread
From: Fabrizio Castro @ 2018-09-10 10:43 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, Rob Herring, Mark Rutland
  Cc: Fabrizio Castro, David S. Miller, Sergei Shtylyov, linux-can,
	linux-kernel, netdev, devicetree, Simon Horman,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

Document RZ/G2M (r8a774a1) SoC specific bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
v1->v2:
* dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
  as per Geert's comments.

This patch applies on top of next-20180910.

 Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt
index 94a7f33..f3b160c 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
@@ -4,6 +4,7 @@ Renesas R-Car CAN controller Device Tree Bindings
 Required properties:
 - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
 	      "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
+	      "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
 	      "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
 	      "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
 	      "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
@@ -16,15 +17,21 @@ Required properties:
 	      "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.
-	      "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device.
+	      "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2
+	      compatible device.
 	      When compatible with the generic version, nodes must list the
 	      SoC-specific version corresponding to the platform first
 	      followed by the generic version.
 
 - reg: physical base address and size of the R-Car CAN register map.
 - interrupts: interrupt specifier for the sole interrupt.
-- clocks: phandles and clock specifiers for 3 CAN clock inputs.
-- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk".
+- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2
+	  devices.
+	  phandles and clock specifiers for 3 CAN clock inputs for every other
+	  SoC.
+- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk".
+	       3 clock input name strings for every other SoC: "clkp1", "clkp2",
+	       "can_clk".
 - pinctrl-0: pin control group to be used for this controller.
 - pinctrl-names: must be "default".
 
@@ -41,8 +48,9 @@ using the below properties:
 Optional properties:
 - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are:
 			    <0x0> (default) : Peripheral clock (clkp1)
-			    <0x1> : Peripheral clock (clkp2)
-			    <0x3> : Externally input clock
+			    <0x1> : Peripheral clock (clkp2) (not supported by
+				    RZ/G2 devices)
+			    <0x3> : External input clock
 
 Example
 -------
-- 
2.7.4


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

* Re: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
@ 2018-09-11 13:31   ` Simon Horman
  2018-09-24 16:17   ` Rob Herring
  2018-11-08 11:25   ` Fabrizio Castro
  2 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2018-09-11 13:31 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, Rob Herring,
	Mark Rutland, David S. Miller, Sergei Shtylyov, linux-can,
	linux-kernel, netdev, devicetree, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

On Mon, Sep 10, 2018 at 11:43:14AM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (r8a774a1) SoC specific bindings.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
> v1->v2:
> * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
>   as per Geert's comments.

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>


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

* Re: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
  2018-09-11 13:31   ` Simon Horman
@ 2018-09-24 16:17   ` Rob Herring
  2018-11-08 11:25   ` Fabrizio Castro
  2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-09-24 16:17 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, Mark Rutland,
	David S. Miller, Sergei Shtylyov, linux-can, linux-kernel,
	netdev, devicetree, Simon Horman, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

On Mon, Sep 10, 2018 at 11:43:14AM +0100, Fabrizio Castro wrote:
> Document RZ/G2M (r8a774a1) SoC specific bindings.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
> v1->v2:
> * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
>   as per Geert's comments.
> 
> This patch applies on top of next-20180910.
> 
>  Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v2 0/3] Add can support to RZ/G2M
  2018-09-10 10:43 [PATCH v2 0/3] Add can support to RZ/G2M Fabrizio Castro
  2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
@ 2018-09-27 10:45 ` Marc Kleine-Budde
  1 sibling, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2018-09-27 10:45 UTC (permalink / raw)
  To: Fabrizio Castro, Wolfgang Grandegger, Rob Herring, Mark Rutland
  Cc: David S. Miller, Sergei Shtylyov, Simon Horman, Magnus Damm,
	Chris Paterson, linux-can, netdev, devicetree, linux-renesas-soc,
	linux-kernel, Geert Uytterhoeven, Biju Das


[-- Attachment #1.1: Type: text/plain, Size: 532 bytes --]

On 09/10/2018 12:43 PM, Fabrizio Castro wrote:
> Dear All,
> 
> this series contains all that's necessary to add CAN support
> for RZ/G2M (a.k.a. r8a774a1).
> 
> v1-v2:
> * applied Geert's comments

Added 1/3 and 2/3 to linux-can.

Tnx.
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* RE: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
  2018-09-11 13:31   ` Simon Horman
  2018-09-24 16:17   ` Rob Herring
@ 2018-11-08 11:25   ` Fabrizio Castro
  2018-11-08 12:46     ` Simon Horman
  2 siblings, 1 reply; 8+ messages in thread
From: Fabrizio Castro @ 2018-11-08 11:25 UTC (permalink / raw)
  To: Fabrizio Castro, Wolfgang Grandegger, Marc Kleine-Budde,
	Rob Herring, Mark Rutland
  Cc: David S. Miller, Sergei Shtylyov, linux-can, linux-kernel,
	netdev, devicetree, Simon Horman, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

Dear All,

Who is the best person to take this patch?

Thanks,
Fab

> From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Sent: 10 September 2018 11:43
> Subject: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
>
> Document RZ/G2M (r8a774a1) SoC specific bindings.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> ---
> v1->v2:
> * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
>   as per Geert's comments.
>
> This patch applies on top of next-20180910.
>
>  Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> index 94a7f33..f3b160c 100644
> --- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
> +++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> @@ -4,6 +4,7 @@ Renesas R-Car CAN controller Device Tree Bindings
>  Required properties:
>  - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
>        "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
> +      "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
>        "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
>        "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
>        "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
> @@ -16,15 +17,21 @@ Required properties:
>        "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.
> -      "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device.
> +      "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2
> +      compatible device.
>        When compatible with the generic version, nodes must list the
>        SoC-specific version corresponding to the platform first
>        followed by the generic version.
>
>  - reg: physical base address and size of the R-Car CAN register map.
>  - interrupts: interrupt specifier for the sole interrupt.
> -- clocks: phandles and clock specifiers for 3 CAN clock inputs.
> -- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk".
> +- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2
> +  devices.
> +  phandles and clock specifiers for 3 CAN clock inputs for every other
> +  SoC.
> +- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk".
> +       3 clock input name strings for every other SoC: "clkp1", "clkp2",
> +       "can_clk".
>  - pinctrl-0: pin control group to be used for this controller.
>  - pinctrl-names: must be "default".
>
> @@ -41,8 +48,9 @@ using the below properties:
>  Optional properties:
>  - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are:
>      <0x0> (default) : Peripheral clock (clkp1)
> -    <0x1> : Peripheral clock (clkp2)
> -    <0x3> : Externally input clock
> +    <0x1> : Peripheral clock (clkp2) (not supported by
> +    RZ/G2 devices)
> +    <0x3> : External input clock
>
>  Example
>  -------
> --
> 2.7.4




Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

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

* Re: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-11-08 11:25   ` Fabrizio Castro
@ 2018-11-08 12:46     ` Simon Horman
  2018-11-08 14:05       ` Fabrizio Castro
  0 siblings, 1 reply; 8+ messages in thread
From: Simon Horman @ 2018-11-08 12:46 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, Rob Herring,
	Mark Rutland, David S. Miller, Sergei Shtylyov, linux-can,
	linux-kernel, netdev, devicetree, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

On Thu, Nov 08, 2018 at 11:25:23AM +0000, Fabrizio Castro wrote:
> Dear All,
> 
> Who is the best person to take this patch?

I believe this one is for Marc.

> Thanks,
> Fab
> 
> > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > Sent: 10 September 2018 11:43
> > Subject: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
> >
> > Document RZ/G2M (r8a774a1) SoC specific bindings.
> >
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
> > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> > ---
> > v1->v2:
> > * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
> >   as per Geert's comments.
> >
> > This patch applies on top of next-20180910.
> >
> >  Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++-----
> >  1 file changed, 13 insertions(+), 5 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > index 94a7f33..f3b160c 100644
> > --- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > +++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > @@ -4,6 +4,7 @@ Renesas R-Car CAN controller Device Tree Bindings
> >  Required properties:
> >  - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
> >        "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
> > +      "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
> >        "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
> >        "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
> >        "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
> > @@ -16,15 +17,21 @@ Required properties:
> >        "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.
> > -      "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device.
> > +      "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2
> > +      compatible device.
> >        When compatible with the generic version, nodes must list the
> >        SoC-specific version corresponding to the platform first
> >        followed by the generic version.
> >
> >  - reg: physical base address and size of the R-Car CAN register map.
> >  - interrupts: interrupt specifier for the sole interrupt.
> > -- clocks: phandles and clock specifiers for 3 CAN clock inputs.
> > -- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk".
> > +- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2
> > +  devices.
> > +  phandles and clock specifiers for 3 CAN clock inputs for every other
> > +  SoC.
> > +- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk".
> > +       3 clock input name strings for every other SoC: "clkp1", "clkp2",
> > +       "can_clk".
> >  - pinctrl-0: pin control group to be used for this controller.
> >  - pinctrl-names: must be "default".
> >
> > @@ -41,8 +48,9 @@ using the below properties:
> >  Optional properties:
> >  - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are:
> >      <0x0> (default) : Peripheral clock (clkp1)
> > -    <0x1> : Peripheral clock (clkp2)
> > -    <0x3> : Externally input clock
> > +    <0x1> : Peripheral clock (clkp2) (not supported by
> > +    RZ/G2 devices)
> > +    <0x3> : External input clock
> >
> >  Example
> >  -------
> > --
> > 2.7.4
> 
> 
> 
> 
> Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
> 

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

* RE: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
  2018-11-08 12:46     ` Simon Horman
@ 2018-11-08 14:05       ` Fabrizio Castro
  0 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2018-11-08 14:05 UTC (permalink / raw)
  To: Simon Horman, Marc Kleine-Budde, Rob Herring
  Cc: Wolfgang Grandegger, Mark Rutland, David S. Miller,
	Sergei Shtylyov, linux-can, linux-kernel, netdev, devicetree,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

Thank you Simon for getting back to me.

Marc, does this patch look ok to you?

Thanks,
Fab

> Subject: Re: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
>
> On Thu, Nov 08, 2018 at 11:25:23AM +0000, Fabrizio Castro wrote:
> > Dear All,
> >
> > Who is the best person to take this patch?
>
> I believe this one is for Marc.
>
> > Thanks,
> > Fab
> >
> > > From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > > Sent: 10 September 2018 11:43
> > > Subject: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support
> > >
> > > Document RZ/G2M (r8a774a1) SoC specific bindings.
> > >
> > > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > > Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
> > > Reviewed-by: Biju Das <biju.das@bp.renesas.com>
> > > ---
> > > v1->v2:
> > > * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description
> > >   as per Geert's comments.
> > >
> > > This patch applies on top of next-20180910.
> > >
> > >  Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++-----
> > >  1 file changed, 13 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt
> b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > > index 94a7f33..f3b160c 100644
> > > --- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > > +++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
> > > @@ -4,6 +4,7 @@ Renesas R-Car CAN controller Device Tree Bindings
> > >  Required properties:
> > >  - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
> > >        "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
> > > +      "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
> > >        "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
> > >        "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
> > >        "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
> > > @@ -16,15 +17,21 @@ Required properties:
> > >        "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.
> > > -      "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device.
> > > +      "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2
> > > +      compatible device.
> > >        When compatible with the generic version, nodes must list the
> > >        SoC-specific version corresponding to the platform first
> > >        followed by the generic version.
> > >
> > >  - reg: physical base address and size of the R-Car CAN register map.
> > >  - interrupts: interrupt specifier for the sole interrupt.
> > > -- clocks: phandles and clock specifiers for 3 CAN clock inputs.
> > > -- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk".
> > > +- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2
> > > +  devices.
> > > +  phandles and clock specifiers for 3 CAN clock inputs for every other
> > > +  SoC.
> > > +- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk".
> > > +       3 clock input name strings for every other SoC: "clkp1", "clkp2",
> > > +       "can_clk".
> > >  - pinctrl-0: pin control group to be used for this controller.
> > >  - pinctrl-names: must be "default".
> > >
> > > @@ -41,8 +48,9 @@ using the below properties:
> > >  Optional properties:
> > >  - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are:
> > >      <0x0> (default) : Peripheral clock (clkp1)
> > > -    <0x1> : Peripheral clock (clkp2)
> > > -    <0x3> : Externally input clock
> > > +    <0x1> : Peripheral clock (clkp2) (not supported by
> > > +    RZ/G2 devices)
> > > +    <0x3> : External input clock
> > >
> > >  Example
> > >  -------
> > > --
> > > 2.7.4
> >
> >
> >
> >
> > Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England
> & Wales under Registered No. 04586709.
> >



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

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

end of thread, other threads:[~2018-11-08 14:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10 10:43 [PATCH v2 0/3] Add can support to RZ/G2M Fabrizio Castro
2018-09-10 10:43 ` [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Fabrizio Castro
2018-09-11 13:31   ` Simon Horman
2018-09-24 16:17   ` Rob Herring
2018-11-08 11:25   ` Fabrizio Castro
2018-11-08 12:46     ` Simon Horman
2018-11-08 14:05       ` Fabrizio Castro
2018-09-27 10:45 ` [PATCH v2 0/3] Add can support to RZ/G2M 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).