Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1267697imu; Wed, 16 Jan 2019 16:03:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Ydut8/kftvB9lXpMgw/6bDMA5WJKMXCj2Gh6EEgVYbjAzDyVAUNApvN8aJ2c2qLGHQJjg X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr12769371pla.129.1547683418699; Wed, 16 Jan 2019 16:03:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547683418; cv=none; d=google.com; s=arc-20160816; b=0CAhq61JdI8C4argwP8TNw3UdXnP3msErcum0Gp4gyhtG5qFP7ZvMmiLHFetdgR79j O/Ue+QM3VCv+o3lUOkiVGWdydQ4DEmxWZsdCfYT/TCL85/lu+6zjRp0tOlJNPuro5MtA /M6muy7/lxwPS9R+QDOK7RW5tDKijBKf3i2GZoNrlNg9exk36by18QqeaIW7QzhW3qq5 iHhMlANN77OIhSNPU9ECmrOT12ac3XVSlpumkLHR5+rmDQ+c39Rhf3vQzARwqlbT1i3q UyvmBfn4cBJADgN6yh/GMkY1s3QWQrsiIWU9F2swbCb8uXrUF0/PF14p30oWm67JiW6m pTDw== 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=dgQdzX2FtOk8BoZDZ4fGCjmr9J4/ckQy7EkNybI4hBs=; b=VrK+GhMEllnhATY5yxIZt5/p0UYV0jMrkK2fsEBGdeu+Q1AXsBZo75Ml8+OnijtFn+ XVhqHkAk2e9l8bOSTwgzNDz0IhUuHvoYMVANfM/Kx3H7N9pF74jcLW1fV23v7jH6Komw h1ZP6/WtMBX/paPD4Rng0gjG+el879xXjB+YxT7D+gA96Cy5Z75Vur0+8Ykh+QSblEt/ 6reBqx0UDE9DSBGgyKVR+AtX+NWvoR4oj2plcMyT7TAAM9HTO8DKISP4R0PzeJuPVYNJ ubVIg733TM3lNmp9CBqKSvPi6j7Rg1ciqQIcBXY6CY/0VwjIeHqSVLIWhdWSqZp/Au4/ kbKg== 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 f1si6989439pgq.553.2019.01.16.16.03.22; Wed, 16 Jan 2019 16:03:38 -0800 (PST) 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 S1729313AbfAPSj3 (ORCPT + 99 others); Wed, 16 Jan 2019 13:39:29 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:28788 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729278AbfAPSj2 (ORCPT ); Wed, 16 Jan 2019 13:39:28 -0500 X-IronPort-AV: E=Sophos;i="5.56,487,1539615600"; d="scan'208";a="5355908" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 17 Jan 2019 03:39:26 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.37.13]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id AD3E040F1466; Thu, 17 Jan 2019 03:39:19 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Mark Rutland , Wolfgang Grandegger , Marc Kleine-Budde , Michael Turquette , Stephen Boyd Cc: Fabrizio Castro , Simon Horman , Magnus Damm , "David S. Miller" , Geert Uytterhoeven , Thierry Reding , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Alexandre Belloni , Kevin Hilman , Johan Hovold , Lukasz Majewski , Michal Simek , =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= , Martin Blumenstingl , Ben Whitten , Chris Paterson , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-clk@vger.kernel.org, Biju Das , linux-kernel@vger.kernel.org, ebiharaml@si-linux.co.jp Subject: [PATCH 11/11] dt-bindings: can: rcar_canfd: document r8a774c0 support Date: Wed, 16 Jan 2019 18:37:54 +0000 Message-Id: <1547663874-29411-12-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547663874-29411-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1547663874-29411-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 --- This patch depends on: https://patchwork.kernel.org/patch/10687999/ https://patchwork.kernel.org/patch/10688001/ 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