Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1199119yba; Thu, 9 May 2019 12:23:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVVCceaTCVGtr3wQisHvX6UH/nGdCA+ueCH7Q2cppPO2+egRA/QWiStljaj4NItcihYrWS X-Received: by 2002:aa7:90ce:: with SMTP id k14mr7625119pfk.239.1557429820501; Thu, 09 May 2019 12:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557429820; cv=none; d=google.com; s=arc-20160816; b=R/93M+gv6vhKiEOOONZiVNGFfwlkHFE6YPaPCIful15S+eRvc5oKy/Oq9cxi5tKaCw Sz4IMsMIAFS4AX2O1Q8Of8YHHA5VrgpJgpOakzjX/yAT6cbEXVcuapfVH9bimGE7fE1C 1PVPYDN1xv5e65ufcihalSDeNp6VSmVQw2Ns9lEXRbyTqrNaskuOo8zdb1iJkhY+32bP ZuPH350L8A119SU3NxBOinhPmR8JxaHM0x5+MMEYuYL+lTGYz0agYgDsoB3vUINoKHJU LcKdb32daRrqY5aeDGF+pb+NSmZkDOKirxIWkPJI7mfWkIuFtiQ+i1V/RgHHxdl29M3C mq+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=fzr6e+cnh5faQg+OQSAIBkDgT7PTP/KcxIuguo0g4So=; b=gkE1q6g/B3qgALdV3UVmL/+O0zzeSMqTlGyS+JyMNnrCev4bqqnnBBs9IjMu+myvIN grX0kaugpzmcHxojam0SiOffbJBVRBW7f9hs8MQxM9ZXaMLB+qhNTBscs8oWfFOMaGEh rD5tOqpHl/8PYUI+kBY1A2IUrtC7jEZHCSxGzI8z8fiP6TQFqNCJwTfiJJ6yD78Tgf+J nDQHwSyCG06FHU5BJtzf2hHj4blbJw3pfzIrExmH+YIKptkcmzT6f3Uz11lv8zU5pUW7 M5MMYTvCQcCqVItNRVFTtSSuUVM5Gwxp+khxGbPrzH63F9oE+rJyn/9L+K0DA4RFcVQT 71qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d192si4055830pgc.480.2019.05.09.12.23.24; Thu, 09 May 2019 12:23:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbfEITUx (ORCPT + 99 others); Thu, 9 May 2019 15:20:53 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:53620 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727038AbfEITUx (ORCPT ); Thu, 9 May 2019 15:20:53 -0400 X-IronPort-AV: E=Sophos;i="5.60,450,1549897200"; d="scan'208";a="15462925" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 May 2019 04:20:50 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.36.196]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 72D2F415F3D5; Fri, 10 May 2019 04:20:47 +0900 (JST) From: Fabrizio Castro To: Wolfgang Grandegger , Marc Kleine-Budde , Rob Herring , Mark Rutland Cc: Fabrizio Castro , "David S. Miller" , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH repost 5/5] dt-bindings: can: rcar_canfd: document r8a774c0 support Date: Thu, 9 May 2019 20:20:22 +0100 Message-Id: <1557429622-31676-6-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557429622-31676-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1557429622-31676-1-git-send-email-fabrizio.castro@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the support for rcar_canfd on R8A774C0 SoC devices. Signed-off-by: Fabrizio Castro Reviewed-by: Chris Paterson Reviewed-by: Simon Horman Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt index 41049fe..32f051f 100644 --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt @@ -3,7 +3,8 @@ 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 compatible controller. + - "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers. + - "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. - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller. @@ -28,12 +29,13 @@ 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", -"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: +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: - assigned-clocks: phandle of canfd clock. - assigned-clock-rates: maximum frequency of this clock. -- 2.7.4