Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2597229imm; Mon, 10 Sep 2018 03:44:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZM/ybnWR5VOiGD3G/wrE5ATmSGtkvcA2fIAXe0Km6j02PPIVeSnRbeAshJMRUh4UT/QZ3Z X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr22327080pgt.164.1536576299711; Mon, 10 Sep 2018 03:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536576299; cv=none; d=google.com; s=arc-20160816; b=BoI1onN7moF9ujyqbk1NJzzHcGeFROjTdBfwXYLJtoT0zyZVGdhGMUwxtr3SDoKYAm E0jsIpVmrzX4cikunxSZRvwm/DwO/HG+c4zpI7Xq+iwAlMSB1MZbaS6yTSXpbzuhXHV7 dU31zp2XiNp+LHS82amAG8vm5YjXKZEy1twFbwisFdeGuSY9qlhJ5qncTTXt6ebJ2hKC i1beJGNrTHMttreetcOiPLfBcp42uK0gnqTpdJ5uItrZ8LNLg8bs0bGIOHdWl5Hv61AL cTQRP47KDfnZx0ATV6i3dW+LH6quLsMQnspJYpX/BBzaVc2DXlllyU8GvgO1SA1oClV7 ppPQ== 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=p2ndmGx/R3KDOnqu1A3YkfVujeQatmyuDAbX7x9bU5Y=; b=0kBLSZW8dUMLPuYB2fS1UfK33XMjDRIxW1EwdJC6BGydTYWIUnzOzxqOY54nuv3FEj nl3o5pbpJw1zGefedot8nPBUeh6bZ6WTo03iz8i9/fLxJaf2RWQA5dwxSiXvWd8VgNwK 66uvuFNFbwYg2rDy70dl4Tz8MLFwt9lEnBoJ1/4JeRnyGuuY8Gefq2cGC2YPf3emawhW nHzl3QJ0qQVI8eRcL6UE7yRqXMGI98oFPg2LKa9sDY1+qspGNEGhythYqZPV+Dn93pKP Pajsfak1pjGbgKnnITQsUFu1c5nUEKzpPlFkGX2hif1vlN1k+jCkcPfhhmY3RtBMqf7o mLcw== 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 m11-v6si16663333pgk.468.2018.09.10.03.44.44; Mon, 10 Sep 2018 03:44:59 -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 S1728156AbeIJPhB (ORCPT + 99 others); Mon, 10 Sep 2018 11:37:01 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:37544 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727674AbeIJPhB (ORCPT ); Mon, 10 Sep 2018 11:37:01 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 10 Sep 2018 19:43:33 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 27CF881552; Mon, 10 Sep 2018 19:43:33 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.53,355,1531753200"; d="scan'208";a="292075066" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.36.250]) by relmlii2.idc.renesas.com with ESMTP; 10 Sep 2018 19:43:28 +0900 From: Fabrizio Castro To: Wolfgang Grandegger , Marc Kleine-Budde , Rob Herring , Mark Rutland Cc: Fabrizio Castro , "David S. Miller" , Sergei Shtylyov , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 2/3] dt-bindings: can: rcar_can: Add r8a774a1 support Date: Mon, 10 Sep 2018 11:43:14 +0100 Message-Id: <1536576195-11520-3-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536576195-11520-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1536576195-11520-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 RZ/G2M (r8a774a1) SoC specific bindings. Signed-off-by: Fabrizio Castro Signed-off-by: Chris Paterson Reviewed-by: Biju Das --- v1->v2: * dropped "renesas,rzg-gen2-can" and fixed "clocks" property description as per Geert's comments. This patch applies on top of next-20180910. Documentation/devicetree/bindings/net/can/rcar_can.txt | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt index 94a7f33..f3b160c 100644 --- a/Documentation/devicetree/bindings/net/can/rcar_can.txt +++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt @@ -4,6 +4,7 @@ Renesas R-Car CAN controller Device Tree Bindings Required properties: - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC. "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC. + "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC. "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC. "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC. "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC. @@ -16,15 +17,21 @@ Required properties: "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device. "renesas,rcar-gen2-can" for a generic R-Car Gen2 or RZ/G1 compatible device. - "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device. + "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2 + compatible device. When compatible with the generic version, nodes must list the SoC-specific version corresponding to the platform first followed by the generic version. - reg: physical base address and size of the R-Car CAN register map. - interrupts: interrupt specifier for the sole interrupt. -- clocks: phandles and clock specifiers for 3 CAN clock inputs. -- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk". +- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2 + devices. + phandles and clock specifiers for 3 CAN clock inputs for every other + SoC. +- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk". + 3 clock input name strings for every other SoC: "clkp1", "clkp2", + "can_clk". - pinctrl-0: pin control group to be used for this controller. - pinctrl-names: must be "default". @@ -41,8 +48,9 @@ using the below properties: Optional properties: - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are: <0x0> (default) : Peripheral clock (clkp1) - <0x1> : Peripheral clock (clkp2) - <0x3> : Externally input clock + <0x1> : Peripheral clock (clkp2) (not supported by + RZ/G2 devices) + <0x3> : External input clock Example ------- -- 2.7.4