From patchwork Thu Nov 24 16:13:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 9445989 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 49D9560235 for ; Thu, 24 Nov 2016 16:13:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C86F2808C for ; Thu, 24 Nov 2016 16:13:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 313AF280D0; Thu, 24 Nov 2016 16:13:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B01E82808C for ; Thu, 24 Nov 2016 16:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbcKXQNx (ORCPT ); Thu, 24 Nov 2016 11:13:53 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:36026 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752592AbcKXQNw (ORCPT ); Thu, 24 Nov 2016 11:13:52 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 25 Nov 2016 01:13:50 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id B45F26ADB4; Fri, 25 Nov 2016 01:13:50 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id AB0AE18070; Fri, 25 Nov 2016 01:13:50 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 9B6ED1806F; Fri, 25 Nov 2016 01:13:50 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id BAC13473; Fri, 25 Nov 2016 01:13:50 +0900 X-IronPort-AV: E=Sophos;i="5.31,543,1473087600"; d="scan'208";a="226225555" Received: from unknown (HELO localhost.localdomain) ([172.29.42.205]) by relmlii1.idc.renesas.com with ESMTP; 25 Nov 2016 01:13:47 +0900 From: Chris Paterson To: Simon Horman Cc: Marc Kleine-Budde , Rob Herring , Mark Rutland , Geert Uytterhoeven , Ramesh Shanmugasundaram , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson Subject: [PATCH v2 1/3] arm64: dts: r8a7796: Add CAN external clock support Date: Thu, 24 Nov 2016 16:13:39 +0000 Message-Id: <1480004021-4037-2-git-send-email-chris.paterson2@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480004021-4037-1-git-send-email-chris.paterson2@renesas.com> References: <1479903243-1860-1-git-send-email-chris.paterson2@renesas.com> <1480004021-4037-1-git-send-email-chris.paterson2@renesas.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds external CAN clock node for r8a7796. This clock can be used as fCAN clock of CAN and CAN FD controller. Based on a patch for r8a7795 by Ramesh Shanmugasundaram. Signed-off-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Acked-by: Marc Kleine-Budde --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index c34c684..61d165b 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -69,6 +69,13 @@ clock-frequency = <0>; }; + /* External CAN clock - to be overridden by boards that provide it */ + can_clk: can { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + /* External SCIF clock - to be overridden by boards that provide it */ scif_clk: scif { compatible = "fixed-clock";