Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp923218imu; Wed, 28 Nov 2018 01:35:05 -0800 (PST) X-Google-Smtp-Source: AJdET5crSBEV5xB/cov0je6CZ2ce0kK/XIFY7DfNo00T3x5wXIuuCLNaxaQEBd4nLKtp2HuZcOCK X-Received: by 2002:a62:4886:: with SMTP id q6mr37747124pfi.182.1543397705130; Wed, 28 Nov 2018 01:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397705; cv=none; d=google.com; s=arc-20160816; b=uDVsHrs8xrMTIVIT1BiL4k1V7Q/4TiUoz3JiMoDZRBG5BBTHDF6jLG0N3CjAqJLny1 7y2A4jzwZCqD7zNeq1XvS+teAslsTrYJJoHa6F8BEaBEnY80MAmeqgQruwEoY8xCkKgJ RilQSY6p+7mOe9EzH+dx6arcjkcRX1LDAW5PvNZSzPlJaLOa9YUfPAP+HzMhVTbkFpSQ rhquRs7gWRMBvxrRxs89H+jucQWopSLkFGOAdukUrw6vyGMawmz+YQTNLlo99kWqnr7d qTN1PQAkDQJjuBMYKX6Y87osSn6TSJa7EkYXVTQGVpetJ1YZVTrw8tdTG2h2IktSNJUS nYpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=mxephWHptAK15gqkpH6XCotJ341F7M3/Lc6FjIoxcRo=; b=eV/yU2W2juc4tTmg3pbU8w1QaVmyMPUeamMrbaIxr73PtER4pyx0FzvZLo4kLzbGfM u7BQBNRmVn4u3wKFuUvhP0O32EpbU0cwVEooTod7A3Jcyb8pQTE/Yt8mm3lFE3x2gIbR F0aXRtn1YGvSCZGUd0Lifun8rP3qdw15A2D1h4dybmirmAKkdhkPV0IVVxIRb2yqOaZV M//bTu1jiTCgZjFHi6mUfRNkRI77YvQ1vQjH7mDsBtbLmxX+uDXH8Ck3/eQJk/LFW5ud NMnGxGMKGHfHKjFoSPGmbPUKiDZDhO8cnhSPhOjwFTZ7VYNEP0y2DOIrDq1Yayn8Pf7E 5Baw== 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 q13si6447401pgj.86.2018.11.28.01.34.50; Wed, 28 Nov 2018 01:35:05 -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 S1728469AbeK1UdN (ORCPT + 99 others); Wed, 28 Nov 2018 15:33:13 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:49146 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727955AbeK1Ubc (ORCPT ); Wed, 28 Nov 2018 15:31:32 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 47BB85FD9A; Wed, 28 Nov 2018 17:30:28 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Alexandre Belloni , Alessandro Zummo , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 04/15] dt-bindings: rtc: sun6i-rtc: Export internal RC oscillator Date: Wed, 28 Nov 2018 17:30:01 +0800 Message-Id: <20181128093013.24442-5-wens@csie.org> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181128093013.24442-1-wens@csie.org> References: <20181128093013.24442-1-wens@csie.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Experiments showed that on at least the H3/H5/A64 the RTC's internal oscillator also feeds the CPUS mux in the PRCM. Export this clock through the device tree, instead of having to use a dummy fixed-clock device node, for the PRCM to consume. This will properly describe the relationship between the clocks. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt index 78c4fb472eb7..1bd37faadecb 100644 --- a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt @@ -24,7 +24,7 @@ Required properties: Required properties for new device trees - clocks : phandle to the 32kHz external oscillator -- clock-output-names : names of the two clock outputs. See below. +- clock-output-names : names of the three clock outputs. See below. - #clock-cells : must be equal to 1. The RTC provides the following clocks at the given indices: @@ -32,6 +32,7 @@ The RTC provides the following clocks at the given indices: - 1: LOSC external output, known as X32KFOUT in the datasheet. This clock is not available on the A31 and is deprecated for old device trees still using the "allwinner,sun6i-a31-rtc" compatible. +- 2: InternalOSC, or internal RC oscillator Example: -- 2.20.0.rc1