From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Subject: Re: [PATCH 5/7] arm64: allwinner: h6: Add RTC node Date: Thu, 1 Nov 2018 13:03:43 +0530 Message-ID: References: <20181031183634.29640-1-jagan@amarulasolutions.com> <20181031183634.29640-5-jagan@amarulasolutions.com> Reply-To: jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: Maxime Ripard , Icenowy Zheng , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Jagan Teki List-Id: devicetree@vger.kernel.org On Thu, Nov 1, 2018 at 8:25 AM Chen-Yu Tsai wrote: > > On Thu, Nov 1, 2018 at 2:37 AM Jagan Teki wrote: > > > > From: Jagan Teki > > > > RTC controller is similar to A31, so use the same compatible > > for H6 and update interrupt numbers as per manual. > > No. Unfortunately they are not that compatible. The A31 does not have > the RTC clock output. So everyone got it wrong. :( Plus the clock rate > of the internal RC oscillator varies between SoCs. I'm working on a > series of patches to correct this. Stay tuned. 4 bit, EXT_LOSC_EN of LOSC_CTRL_REG (0x00) seem available in H6. I can see external clock working with WIFI for A31 compatible.