From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 06/15] rtc: sun6i: Add support for different variants Date: Wed, 28 Nov 2018 11:22:12 +0100 Message-ID: <20181128102212.4sodbbk6uu52nug3@flea> References: <20181128093013.24442-1-wens@csie.org> <20181128093013.24442-7-wens@csie.org> Reply-To: maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="abq6ote33gmac3x6" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20181128093013.24442-7-wens-jdAy2FN1RRM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: Alexandre Belloni , Alessandro Zummo , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rtc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --abq6ote33gmac3x6 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Wed, Nov 28, 2018 at 05:30:03PM +0800, Chen-Yu Tsai wrote: > Amongst the Allwinner SoCs that have seen some kind of coverage by the > linux-sunxi community, whether it be mainline Linux or U-boot support, > or just available datasheets, most newer chips use the RTC design first > seen in the A31 (sun6i). > > Overall there have been some minor differences. This patch covers the > following: > > - average clock rate of the internal RC oscillator > + presence of fixed and adjustable prescaler for this clock > - availability of an external (to the SoC) clock output > > One major difference regarding the H6 is the 24 MHz crystal is now > routed through the RTC, as a digitally compensated oscillator (DCXO). > This is not covered in this patch and will be supported later. > > Other differences are either unrelated to RTC or clock functionality, > such as boot or crypto related registers, or the driver simply doesn't > use the feature in question. One example of the latter is the > calibration function for the RC oscillator. We consider this clock to > be very bad and avoid using it. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --abq6ote33gmac3x6--