All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
@ 2018-11-18 17:32 Marek Vasut
  2018-11-18 17:32 ` [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Marek Vasut @ 2018-11-18 17:32 UTC (permalink / raw)
  To: devicetree
  Cc: Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	linux-renesas-soc

Document the support for rcar_canfd on R8A77965 SoC devices.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Rob Herring <robh@kernel.org>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
---
 .../devicetree/bindings/net/can/rcar_canfd.txt      | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
index ac71daa46195..4720e916fbdd 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
@@ -6,6 +6,7 @@ Required properties:
   - "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller.
   - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
   - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
+  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
   - "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller.
   - "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller.
 
@@ -26,12 +27,12 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each
 child node supports the "status" property only, which is used to
 enable/disable the respective channel.
 
-Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
-compatible:
-In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
-properties:
+Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
+"renesas,r8a77965-canfd" compatible:
+In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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
+using the below properties:
 
 - assigned-clocks: phandle of canfd clock.
 - assigned-clock-rates: maximum frequency of this clock.
-- 
2.18.0

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

* [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support
  2018-11-18 17:32 [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Marek Vasut
@ 2018-11-18 17:32 ` Marek Vasut
  2018-11-21 10:20   ` Simon Horman
  2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
  2018-12-04 22:56 ` Rob Herring
  2 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2018-11-18 17:32 UTC (permalink / raw)
  To: devicetree
  Cc: Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	linux-renesas-soc

Document the support for rcar_canfd on R8A77990 SoC devices.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Rob Herring <robh@kernel.org>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
To: devicetree@vger.kernel.org
---
 .../devicetree/bindings/net/can/rcar_canfd.txt      | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
index 4720e916fbdd..41049fed5872 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
@@ -9,6 +9,7 @@ Required properties:
   - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
   - "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller.
   - "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller.
+  - "renesas,r8a77990-canfd" for R8A77990 (R-Car E3) compatible controller.
 
   When compatible with the generic version, nodes must list the
   SoC-specific version corresponding to the platform first, followed by the
@@ -27,12 +28,12 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each
 child node supports the "status" property only, which is used to
 enable/disable the respective channel.
 
-Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
-"renesas,r8a77965-canfd" compatible:
-In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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
-using the below properties:
+Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd",
+"renesas,r8a77965-canfd" and "renesas,r8a77990-canfd" compatible:
+In R8A7795, R8A7796, R8A77965 and R8A77990 SoCs, canfd clock 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 using the below properties:
 
 - assigned-clocks: phandle of canfd clock.
 - assigned-clock-rates: maximum frequency of this clock.
-- 
2.18.0

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-18 17:32 [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Marek Vasut
  2018-11-18 17:32 ` [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Marek Vasut
@ 2018-11-18 23:18 ` Wolfram Sang
  2018-11-18 23:21   ` Marek Vasut
                     ` (2 more replies)
  2018-12-04 22:56 ` Rob Herring
  2 siblings, 3 replies; 13+ messages in thread
From: Wolfram Sang @ 2018-11-18 23:18 UTC (permalink / raw)
  To: Marek Vasut
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	linux-renesas-soc

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


> +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.

Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
of course. But Simon, shall we fix that for all CANFD?

> -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
> -compatible:
> -In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
> -properties:
> +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
> +"renesas,r8a77965-canfd" compatible:
> +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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
> +using the below properties:

I think updating this paragraph does not scale. Maybe we should reformat
it the way as for plain CAN, so only in the header the new SoC gets
added? We can fix this incrementally, though, doesn't need to be
addressed within this patch.


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

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
@ 2018-11-18 23:21   ` Marek Vasut
  2018-11-19  8:43   ` Geert Uytterhoeven
  2018-11-19 10:41   ` Simon Horman
  2 siblings, 0 replies; 13+ messages in thread
From: Marek Vasut @ 2018-11-18 23:21 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	linux-renesas-soc

On 11/19/2018 12:18 AM, Wolfram Sang wrote:
> 
>> +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
> 
> Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> of course. But Simon, shall we fix that for all CANFD?
> 
>> -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
>> -compatible:
>> -In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
>> -properties:
>> +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
>> +"renesas,r8a77965-canfd" compatible:
>> +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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
>> +using the below properties:
> 
> I think updating this paragraph does not scale. Maybe we should reformat
> it the way as for plain CAN, so only in the header the new SoC gets
> added? We can fix this incrementally, though, doesn't need to be
> addressed within this patch.

Sure, although I don't expect it to grow much more than this.

-- 
Best regards,
Marek Vasut

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
  2018-11-18 23:21   ` Marek Vasut
@ 2018-11-19  8:43   ` Geert Uytterhoeven
  2018-11-19  9:40     ` Geert Uytterhoeven
  2018-11-19 10:41   ` Simon Horman
  2 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2018-11-19  8:43 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Marek Vasut,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	Linux-Renesas

Hi Wolfram,

On Mon, Nov 19, 2018 at 12:18 AM Wolfram Sang <wsa@the-dreams.de> wrote:
> > +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
>
> Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> of course. But Simon, shall we fix that for all CANFD?

Unfortunately we cannot, due to backwards compatibility.
Hence we keep following existing compatible value conventions for existing
bindings, but follow the recommended way for new devices/bindings.

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] 13+ messages in thread

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-19  8:43   ` Geert Uytterhoeven
@ 2018-11-19  9:40     ` Geert Uytterhoeven
  0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2018-11-19  9:40 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Marek Vasut,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Simon Horman, Wolfram Sang,
	Linux-Renesas

Hi Wolfram,

On Mon, Nov 19, 2018 at 9:43 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> On Mon, Nov 19, 2018 at 12:18 AM Wolfram Sang <wsa@the-dreams.de> wrote:
> > > +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
> >
> > Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> > of course. But Simon, shall we fix that for all CANFD?
>
> Unfortunately we cannot, due to backwards compatibility.
> Hence we keep following existing compatible value conventions for existing
> bindings, but follow the recommended way for new devices/bindings.

So that's what I wrote _before_ my mornin' coffee...

"renesas,r8a77965-canfd" _is_ using the recommended order.
"renesas,can-r8a77965" is not.

But my main argument is still valid, of course.

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] 13+ messages in thread

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
  2018-11-18 23:21   ` Marek Vasut
  2018-11-19  8:43   ` Geert Uytterhoeven
@ 2018-11-19 10:41   ` Simon Horman
  2018-11-19 10:53     ` Wolfram Sang
  2 siblings, 1 reply; 13+ messages in thread
From: Simon Horman @ 2018-11-19 10:41 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Marek Vasut, devicetree, Marek Vasut, Eugeniu Rosca,
	Geert Uytterhoeven, Marc Kleine-Budde, Rob Herring, Wolfram Sang,
	linux-renesas-soc

On Mon, Nov 19, 2018 at 12:18:07AM +0100, Wolfram Sang wrote:
> 
> > +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
> 
> Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> of course. But Simon, shall we fix that for all CANFD?

I think its too late to fix it for existing bindings.
We could move to a new scheme for r8a77965 and beyond,
but that is rather messy. I lean to wards continuing with
using 'canfd' as a suffix.

> 
> > -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
> > -compatible:
> > -In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
> > -properties:
> > +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
> > +"renesas,r8a77965-canfd" compatible:
> > +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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
> > +using the below properties:
> 
> I think updating this paragraph does not scale. Maybe we should reformat
> it the way as for plain CAN, so only in the header the new SoC gets
> added? We can fix this incrementally, though, doesn't need to be
> addressed within this patch.
> 

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-19 10:41   ` Simon Horman
@ 2018-11-19 10:53     ` Wolfram Sang
  2018-11-21 10:20       ` Simon Horman
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfram Sang @ 2018-11-19 10:53 UTC (permalink / raw)
  To: Simon Horman
  Cc: Marek Vasut, devicetree, Marek Vasut, Eugeniu Rosca,
	Geert Uytterhoeven, Marc Kleine-Budde, Rob Herring, Wolfram Sang,
	linux-renesas-soc

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

On Mon, Nov 19, 2018 at 11:41:39AM +0100, Simon Horman wrote:
> On Mon, Nov 19, 2018 at 12:18:07AM +0100, Wolfram Sang wrote:
> > 
> > > +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
> > 
> > Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> > of course. But Simon, shall we fix that for all CANFD?
> 
> I think its too late to fix it for existing bindings.
> We could move to a new scheme for r8a77965 and beyond,
> but that is rather messy. I lean to wards continuing with
> using 'canfd' as a suffix.

Geert, Simon: OK, thanks for the answers.


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

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-19 10:53     ` Wolfram Sang
@ 2018-11-21 10:20       ` Simon Horman
  0 siblings, 0 replies; 13+ messages in thread
From: Simon Horman @ 2018-11-21 10:20 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Marek Vasut, devicetree, Marek Vasut, Eugeniu Rosca,
	Geert Uytterhoeven, Marc Kleine-Budde, Rob Herring, Wolfram Sang,
	linux-renesas-soc

On Mon, Nov 19, 2018 at 11:53:58AM +0100, Wolfram Sang wrote:
> On Mon, Nov 19, 2018 at 11:41:39AM +0100, Simon Horman wrote:
> > On Mon, Nov 19, 2018 at 12:18:07AM +0100, Wolfram Sang wrote:
> > > 
> > > > +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
> > > 
> > > Eeeks, the 'canfd' is a suffix here not a prefix :( Not your issue,
> > > of course. But Simon, shall we fix that for all CANFD?
> > 
> > I think its too late to fix it for existing bindings.
> > We could move to a new scheme for r8a77965 and beyond,
> > but that is rather messy. I lean to wards continuing with
> > using 'canfd' as a suffix.
> 
> Geert, Simon: OK, thanks for the answers.

I think this is good to go as-is.

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

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

* Re: [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support
  2018-11-18 17:32 ` [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Marek Vasut
@ 2018-11-21 10:20   ` Simon Horman
  2019-02-16 14:00     ` Marek Vasut
  0 siblings, 1 reply; 13+ messages in thread
From: Simon Horman @ 2018-11-21 10:20 UTC (permalink / raw)
  To: Marek Vasut
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Wolfram Sang, linux-renesas-soc

On Sun, Nov 18, 2018 at 06:32:01PM +0100, Marek Vasut wrote:
> Document the support for rcar_canfd on R8A77990 SoC devices.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Marc Kleine-Budde <mkl@pengutronix.de>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-renesas-soc@vger.kernel.org
> To: devicetree@vger.kernel.org

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

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-11-18 17:32 [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Marek Vasut
  2018-11-18 17:32 ` [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Marek Vasut
  2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
@ 2018-12-04 22:56 ` Rob Herring
  2018-12-04 23:44   ` Marek Vasut
  2 siblings, 1 reply; 13+ messages in thread
From: Rob Herring @ 2018-12-04 22:56 UTC (permalink / raw)
  To: Marek Vasut
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Simon Horman, Wolfram Sang, linux-renesas-soc

On Sun, Nov 18, 2018 at 06:32:00PM +0100, Marek Vasut wrote:
> Document the support for rcar_canfd on R8A77965 SoC devices.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Marc Kleine-Budde <mkl@pengutronix.de>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Cc: linux-renesas-soc@vger.kernel.org
> ---
>  .../devicetree/bindings/net/can/rcar_canfd.txt      | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
> index ac71daa46195..4720e916fbdd 100644
> --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
> +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
> @@ -6,6 +6,7 @@ Required properties:
>    - "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller.
>    - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
>    - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
> +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
>    - "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller.
>    - "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller.
>  
> @@ -26,12 +27,12 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each
>  child node supports the "status" property only, which is used to
>  enable/disable the respective channel.
>  
> -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
> -compatible:
> -In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
> -properties:
> +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
> +"renesas,r8a77965-canfd" compatible:
> +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock is a div6 clock and can

Do we have to list the SoCs twice so that the paragraph has to be 
reformatted every time? Just the compatibles above should be enough.

> +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
> +using the below properties:
>  
>  - assigned-clocks: phandle of canfd clock.
>  - assigned-clock-rates: maximum frequency of this clock.
> -- 
> 2.18.0
> 

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

* Re: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support
  2018-12-04 22:56 ` Rob Herring
@ 2018-12-04 23:44   ` Marek Vasut
  0 siblings, 0 replies; 13+ messages in thread
From: Marek Vasut @ 2018-12-04 23:44 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Simon Horman, Wolfram Sang, linux-renesas-soc

On 12/04/2018 11:56 PM, Rob Herring wrote:
> On Sun, Nov 18, 2018 at 06:32:00PM +0100, Marek Vasut wrote:
>> Document the support for rcar_canfd on R8A77965 SoC devices.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
>> Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
>> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
>> Cc: Marc Kleine-Budde <mkl@pengutronix.de>
>> Cc: Rob Herring <robh@kernel.org>
>> Cc: Simon Horman <horms+renesas@verge.net.au>
>> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>> Cc: linux-renesas-soc@vger.kernel.org
>> ---
>>  .../devicetree/bindings/net/can/rcar_canfd.txt      | 13 +++++++------
>>  1 file changed, 7 insertions(+), 6 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
>> index ac71daa46195..4720e916fbdd 100644
>> --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
>> +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
>> @@ -6,6 +6,7 @@ Required properties:
>>    - "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller.
>>    - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
>>    - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
>> +  - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
>>    - "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller.
>>    - "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller.
>>  
>> @@ -26,12 +27,12 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each
>>  child node supports the "status" property only, which is used to
>>  enable/disable the respective channel.
>>  
>> -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
>> -compatible:
>> -In R8A7795 and R8A7796 SoCs, canfd clock 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 using the below
>> -properties:
>> +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and
>> +"renesas,r8a77965-canfd" compatible:
>> +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock is a div6 clock and can
> 
> Do we have to list the SoCs twice so that the paragraph has to be 
> reformatted every time? Just the compatibles above should be enough.

We don't , but that's about it for the SoCs that need this.

>> +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
>> +using the below properties:
>>  
>>  - assigned-clocks: phandle of canfd clock.
>>  - assigned-clock-rates: maximum frequency of this clock.
>> -- 
>> 2.18.0
>>


-- 
Best regards,
Marek Vasut

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

* Re: [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support
  2018-11-21 10:20   ` Simon Horman
@ 2019-02-16 14:00     ` Marek Vasut
  0 siblings, 0 replies; 13+ messages in thread
From: Marek Vasut @ 2019-02-16 14:00 UTC (permalink / raw)
  To: Simon Horman
  Cc: devicetree, Marek Vasut, Eugeniu Rosca, Geert Uytterhoeven,
	Marc Kleine-Budde, Rob Herring, Wolfram Sang, linux-renesas-soc

On 11/21/18 11:20 AM, Simon Horman wrote:
> On Sun, Nov 18, 2018 at 06:32:01PM +0100, Marek Vasut wrote:
>> Document the support for rcar_canfd on R8A77990 SoC devices.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
>> Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
>> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
>> Cc: Marc Kleine-Budde <mkl@pengutronix.de>
>> Cc: Rob Herring <robh@kernel.org>
>> Cc: Simon Horman <horms+renesas@verge.net.au>
>> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
>> Cc: linux-renesas-soc@vger.kernel.org
>> To: devicetree@vger.kernel.org
> 
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

This patchset seems to be missing upstream.

-- 
Best regards,
Marek Vasut

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

end of thread, other threads:[~2019-02-16 14:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-18 17:32 [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Marek Vasut
2018-11-18 17:32 ` [PATCH 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Marek Vasut
2018-11-21 10:20   ` Simon Horman
2019-02-16 14:00     ` Marek Vasut
2018-11-18 23:18 ` [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Wolfram Sang
2018-11-18 23:21   ` Marek Vasut
2018-11-19  8:43   ` Geert Uytterhoeven
2018-11-19  9:40     ` Geert Uytterhoeven
2018-11-19 10:41   ` Simon Horman
2018-11-19 10:53     ` Wolfram Sang
2018-11-21 10:20       ` Simon Horman
2018-12-04 22:56 ` Rob Herring
2018-12-04 23:44   ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.