Message ID | 20180601173527.18051-1-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 430F4602BC for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 1 Jun 2018 17:36:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31EBE28D6E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 1 Jun 2018 17:36:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2676E28D7B; Fri, 1 Jun 2018 17:36:07 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5912A28D6E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 1 Jun 2018 17:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=jYZK9e37FIPPZ4ivCb1U6xpzChyk2+J4tjOrZtdvGzc=; b=QtN KqnizBr6vWbO2w16uytjq8XCUomvuiAHaEFGCAm+vdDFiMt7AnZMqcFoYCE+XgHubrx5nOgGu/FIe V1nJBV3X/HkY+TgNwni4VGs/S6w7CLgEP6eU92jLIjD0CAvgpT3V547YlQAMDb8X7UeYCMOL7K/Ga BmauGJdqVx6ap8PY8qZhZ7Zfnbx2FRr5E6297VzW78eYXGRtSw6bCO8Qk4+LzRyQDduTpLw6VC1E0 1lGmSeYFCheah3UhQsWIPc9mtqXqkOhRN4C4VAV7enKn2X5WcKVAL6yIOqMfx6vFDiTxWGVnuHjOq Z6tuvE5KEq56E9YDpwrLwFVroENj2bg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOny0-0002ex-33; Fri, 01 Jun 2018 17:35:56 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOnxv-0002cL-6p for linux-arm-kernel@lists.infradead.org; Fri, 01 Jun 2018 17:35:53 +0000 Received: by mail-pl0-x241.google.com with SMTP id f1-v6so15277390plt.6 for <linux-arm-kernel@lists.infradead.org>; Fri, 01 Jun 2018 10:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=OaQSxNazxL8tiik00JYkueL/NOMCw4nYt/3EbzB/q9E=; b=gSapstgjna0AayW2bXLH6JpMzBgR8n5XgNvz3Ihz23fgT3r5nFg3zz+RWoU6/c13wp 9ZIPF9+ryudArlUjuBk271HN5G9jZJYsUBIqyf0LB3nRw53gFBhORzh8O7z7T0QWjT3X AQb+8/QvGG57Hn3FI53Z3ddkoFeT+FkMb2WRQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OaQSxNazxL8tiik00JYkueL/NOMCw4nYt/3EbzB/q9E=; b=mLMXrAUrh4yS5pWBBPNEVCmLsW4Ead9MpgT4yEZt9n1uDeZMyTLgqrafL7EHUN15i3 3gCpG7EdABRoGsQ84B4Y3WJG/RfUniAjzQjvyC9yft4+m/yBDZ+TT/kjrsJB3U1aXi4w YanniwHnSEyvh+Sgs00rBFWZRpcnOKJPFhyOXln4mBaWp/AbrXeQ5aRaZG1AVjSDyQfF PglTMvfSiRAyGOrC0qLYKiFjdtR0Kcv/ijH36puE0UekTqTrOgVotrg2wmYnCK4f0RWE cNEaNa/3iQeqfl+KYEK5K3HVvPiyfCv2adRqHuk/O4qtl6bcNHGKfJFDNvXq1V+WTPTF Ppng== X-Gm-Message-State: ALKqPwcQY6XXG/VaPujLPaqz+Kt1EvGgzMkRgL+TFLgx99jAOA8vrwpn pnXR0fumnsxU6ZGr6pJQSv5cGw== X-Google-Smtp-Source: ADUXVKK6GDJps1+nazgHcENiYpTTsXnr0Dw+BTnd4bsxmo5BUq4JxmLKdU0Rq57Ka5OxSC/EsBsAWw== X-Received: by 2002:a17:902:24a5:: with SMTP id w34-v6mr11954977pla.52.1527874540008; Fri, 01 Jun 2018 10:35:40 -0700 (PDT) Received: from localhost.localdomain ([115.97.190.51]) by smtp.gmail.com with ESMTPSA id v16-v6sm118764143pfk.164.2018.06.01.10.35.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jun 2018 10:35:39 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@free-electrons.com>, Chen-Yu Tsai <wens@csie.org>, Michael Trimarchi <michael@amarulasolutions.com>, Icenowy Zheng <icenowy@aosc.io> Subject: [PATCH v3 1/2] arm64: allwinner: a64: Add RTC clock to phandle 32kHz external oscillator Date: Fri, 1 Jun 2018 23:05:26 +0530 Message-Id: <20180601173527.18051-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180601_103551_749940_148C38AF X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jagan Teki <jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1b2ef28c42bd..82516aec4153 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -634,6 +634,9 @@ reg = <0x01f00000 0x54>; interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + clock-output-names = "rtc-osc32k", "rtc-osc32k-out"; + clocks = <&osc32k>; + #clock-cells = <1>; }; r_intc: interrupt-controller@1f00c00 {
Outside of SOC few chips need external clock source through RTC example Wifi chip. So RTC clock nodes to phandle 32kHz external oscillator. prefix rtc- with clock-output-names defined in dt-binding to avoid confusion with existing osc32k name. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v3: - squash of previous v2 patch arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 3 +++ 1 file changed, 3 insertions(+)