From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70D9BC31E57 for ; Mon, 17 Jun 2019 09:30:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D980208E3 for ; Mon, 17 Jun 2019 09:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726286AbfFQJaa (ORCPT ); Mon, 17 Jun 2019 05:30:30 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:37536 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbfFQJa3 (ORCPT ); Mon, 17 Jun 2019 05:30:29 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id A000825B7A8; Mon, 17 Jun 2019 19:30:27 +1000 (AEST) Received: by reginn.horms.nl (Postfix, from userid 7100) id A3D6F94024A; Mon, 17 Jun 2019 11:30:25 +0200 (CEST) Date: Mon, 17 Jun 2019 11:30:25 +0200 From: Simon Horman To: Fabrizio Castro , "David S. Miller" Cc: Geert Uytterhoeven , Wolfgang Grandegger , Marc Kleine-Budde , Rob Herring , Mark Rutland , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH 1/6] dt-bindings: can: rcar_canfd: document r8a774a1 support Message-ID: <20190617093023.nhvrvujg52gcglko@verge.net.au> References: <1560513214-28031-1-git-send-email-fabrizio.castro@bp.renesas.com> <1560513214-28031-2-git-send-email-fabrizio.castro@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560513214-28031-2-git-send-email-fabrizio.castro@bp.renesas.com> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org 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 > Reviewed-by: Chris Paterson > --- > 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? > > Thanks, > Fab > > 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. > -- > 2.7.4 >