Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp973670imu; Wed, 28 Nov 2018 02:35:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+F+T6euP4B79+7O/DZ72V2rIH11QToBBG/QZ0RZW0X29xApUvnEKOvP91M4KhN6PjS09y X-Received: by 2002:a63:5d55:: with SMTP id o21mr31920646pgm.92.1543401322063; Wed, 28 Nov 2018 02:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543401322; cv=none; d=google.com; s=arc-20160816; b=WxZp5fUnPhEdQN6KDSFAiUkXic+deTy91HsJerMf8KCj2Qd+H8WEcG+kGMM6qkAc01 Qk7aJN/tRUpE6BgJsYZ/8rF+WuWzjCN3jAuk4r7Mb5unFdzGdSVGU+9lNduhEkMc+w0W Tu4rDY20lNNvJOvaj875H8ZV/9Po0jL10caJIKd8suPA9HNd70wYJ7j8hkbAqLXn9c0P nQ5BRVB0h0/BeKhmE2douTwXucN+WfEVJGZrPu5aZrjp4yWA5Ssmbk2KTjSddDbAa0WI Weg/7Sj3Mq2uDm0ul6Y4IpoRhX+sSiYHo7Do5E+D4elN4jsB+WBz6plR1AKqARXEiwfZ nADw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rxeWzc+ZLOAkK7Gw5ejpB4mCLkjjRIFCUFPFxuyUwKg=; b=e9n5Z2boke94lLlFMt85Pp5xjBkA1Y0WXtonIlbej58rFODXnN55v65/1TFXtjOVen VxWG4ddhqTtXCGqEgvVAky5A9KstQewaCakSbrrnFtEGFzpnOHjDm3y+L9LzKnWmc+GX 9RQiLPCrV0xgXNZ0pH8H6b4DpqJjVRdZ+FVHD4Xzo3n0Bj9NT3YBE04gcTMJS3CiL2nV GNuTG5FZZEcSIgQc+lcriwGzyhXYYDpKk0gr4LSwg7WBxAIflQJG93SU8a2dPi8AkDRW oYToVlOKwsGMFZu9mE18R+DYEWVq6eQi6qSGuwjyoxqYdQvlMzH1AYixZjTrNE+IOrG4 O7tA== 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 u5si6833658plj.129.2018.11.28.02.35.06; Wed, 28 Nov 2018 02:35:22 -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 S1727790AbeK1Ve2 (ORCPT + 99 others); Wed, 28 Nov 2018 16:34:28 -0500 Received: from mail.bootlin.com ([62.4.15.54]:48337 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727413AbeK1Ve2 (ORCPT ); Wed, 28 Nov 2018 16:34:28 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id ED01D206D8; Wed, 28 Nov 2018 11:33:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 1FC4720DD7; Wed, 28 Nov 2018 11:32:19 +0100 (CET) Date: Wed, 28 Nov 2018 11:32:19 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: Alexandre Belloni , Alessandro Zummo , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , 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: Re: [PATCH 04/15] dt-bindings: rtc: sun6i-rtc: Export internal RC oscillator Message-ID: <20181128103219.b625lttcgoluhgz5@flea> References: <20181128093013.24442-1-wens@csie.org> <20181128093013.24442-5-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="booz6elk33kflwpj" Content-Disposition: inline In-Reply-To: <20181128093013.24442-5-wens@csie.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --booz6elk33kflwpj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 28, 2018 at 05:30:01PM +0800, Chen-Yu Tsai wrote: > Experiments showed that on at least the H3/H5/A64 the RTC's internal > oscillator also feeds the CPUS mux in the PRCM. >=20 > 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. >=20 > Signed-off-by: Chen-Yu Tsai > --- > Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Docume= ntation/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: > =20 > 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. > =20 > The RTC provides the following clocks at the given indices: > @@ -32,6 +32,7 @@ The RTC provides the following clocks at the given indi= ces: > - 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 It seems to be required only for a few RTC though (H3, H5 and R40?) Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --booz6elk33kflwpj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/5uswAKCRDj7w1vZxhR xeZMAQDI/0l2TQDQE4latkDeQLbxx81a5mh0WiAiVsYp/WkiZwEAv4zE0ICSI7iK DBVFBjPBy0KOPmmpaH67xLoBPuxG1Q0= =f8qS -----END PGP SIGNATURE----- --booz6elk33kflwpj--