On Mon, Jun 17, 2019 at 11:30 AM Simon Horman <horms@xxxxxxxxxxxx> wrote: > On Fri, Jun 14, 2019 at 12:53:29PM +0100, Fabrizio Castro wrote: > > Document the support for rcar_canfd on R8A774A1 SoC devices. > > > > Signed-off-by: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx> > > Reviewed-by: Chris Paterson <Chris.Paterson2@xxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > > --- > > Hello Simon, > > > > I think it would make more sense if this patch went through you as it > > sits on series: > > https://lkml.org/lkml/2019/5/9/941 > > > > Do you think that's doable? > > That seems reasonable to me. > > Dave are you happy with me taking this, and 2/6, through > the renesas tree? As the previous change to this file was acked by Dave, and went in through the Renesas tree, have I applied this patch and patch 2/6, and queued it for v5.4. Thanks! > > Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 9 +++++---- > > 1 file changed, 5 insertions(+), 4 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt > > index 32f051f..00afaff 100644 > > --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt > > +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt > > @@ -4,6 +4,7 @@ Renesas R-Car CAN FD controller Device Tree Bindings > > Required properties: > > - compatible: Must contain one or more of the following: > > - "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers. > > + - "renesas,r8a774a1-canfd" for R8A774A1 (RZ/G2M) compatible controller. > > - "renesas,r8a774c0-canfd" for R8A774C0 (RZ/G2E) compatible controller. > > - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller. > > - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller. > > @@ -32,10 +33,10 @@ enable/disable the respective channel. > > Required properties for "renesas,r8a774c0-canfd", "renesas,r8a7795-canfd", > > "renesas,r8a7796-canfd", "renesas,r8a77965-canfd", and "renesas,r8a77990-canfd" > > compatible: > > -In R8A774C0, 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: > > +In R8A774A1, R8A774C0, 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. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx 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