Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-09 Thread Ondřej Jirman
On Fri, Aug 09, 2019 at 01:39:30AM +0200, Alexandre Belloni wrote: > On 08/08/2019 14:12:37+0200, Ondřej Jirman wrote: > > On Wed, Aug 07, 2019 at 12:55:02PM +0200, Alexandre Belloni wrote: > > > Hi, > > > > > > On 06/08/2019 20:30:45+0200, Ondřej Jirman wrote: > > > > Maybe whether XO or DCXO is

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-08 Thread Alexandre Belloni
On 08/08/2019 14:12:37+0200, Ondřej Jirman wrote: > On Wed, Aug 07, 2019 at 12:55:02PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 06/08/2019 20:30:45+0200, Ondřej Jirman wrote: > > > Maybe whether XO or DCXO is used also matters if you want to do some fine > > > tunning of DCXO (control re

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-08 Thread Ondřej Jirman
On Wed, Aug 07, 2019 at 12:55:02PM +0200, Alexandre Belloni wrote: > Hi, > > On 06/08/2019 20:30:45+0200, Ondřej Jirman wrote: > > Maybe whether XO or DCXO is used also matters if you want to do some fine > > tunning of DCXO (control register has pletny of options), but that's > > probably > > be

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-07 Thread Chen-Yu Tsai
On Wed, Aug 7, 2019 at 6:55 PM Alexandre Belloni wrote: > > Hi, > > On 06/08/2019 20:30:45+0200, Ondřej Jirman wrote: > > Maybe whether XO or DCXO is used also matters if you want to do some fine > > tunning of DCXO (control register has pletny of options), but that's > > probably > > better done

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-07 Thread Alexandre Belloni
Hi, On 06/08/2019 20:30:45+0200, Ondřej Jirman wrote: > Maybe whether XO or DCXO is used also matters if you want to do some fine > tunning of DCXO (control register has pletny of options), but that's probably > better done in u-boot. And there's still no need to read HOSC source from DT. > The dr

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-06 Thread Ondřej Jirman
On Tue, Aug 06, 2019 at 08:30:45PM +0200, megous hlavni wrote: > On Mon, Apr 15, 2019 at 04:18:12PM +0800, Chen-Yu Tsai wrote: > > On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi > > wrote: > > > > > > From: Ondrej Jirman > > > > > > I went through the datasheets for H6 and H5, and compare

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-08-06 Thread Ondřej Jirman
On Mon, Apr 15, 2019 at 04:18:12PM +0800, Chen-Yu Tsai wrote: > On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi > wrote: > > > > From: Ondrej Jirman > > > > I went through the datasheets for H6 and H5, and compared the differences. > > RTCs are largely similar, but not entirely compatible.

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread 'Ondřej Jirman' via linux-sunxi
On Mon, Apr 15, 2019 at 10:35:47PM +0800, Chen-Yu Tsai wrote: > On Mon, Apr 15, 2019 at 10:22 PM 'Ondřej Jirman' via linux-sunxi > wrote: > > > > Hi ChenYu, > > > > On Mon, Apr 15, 2019 at 04:18:12PM +0800, Chen-Yu Tsai wrote: > > > On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi > > > wro

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread Chen-Yu Tsai
On Mon, Apr 15, 2019 at 10:33 PM Maxime Ripard wrote: > > On Mon, Apr 15, 2019 at 04:22:22PM +0200, Ondřej Jirman wrote: > > DT would still probably need a re-work in the future, if the PRCM clock > > modeling the gate would be needed. > > Just reacting to that bit. > > I know we're pretty bad at

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread Chen-Yu Tsai
On Mon, Apr 15, 2019 at 10:22 PM 'Ondřej Jirman' via linux-sunxi wrote: > > Hi ChenYu, > > On Mon, Apr 15, 2019 at 04:18:12PM +0800, Chen-Yu Tsai wrote: > > On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi > > wrote: > > > > > > From: Ondrej Jirman > > > > > > I went through the datasheets

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread Maxime Ripard
On Mon, Apr 15, 2019 at 04:22:22PM +0200, Ondřej Jirman wrote: > DT would still probably need a re-work in the future, if the PRCM clock > modeling the gate would be needed. Just reacting to that bit. I know we're pretty bad at this, and the documentation doesn't make it any easier, but if you ha

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread 'Ondřej Jirman' via linux-sunxi
Hi ChenYu, On Mon, Apr 15, 2019 at 04:18:12PM +0800, Chen-Yu Tsai wrote: > On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi > wrote: > > > > From: Ondrej Jirman > > > > I went through the datasheets for H6 and H5, and compared the differences. > > RTCs are largely similar, but not entirely

Re: [linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-15 Thread Chen-Yu Tsai
On Fri, Apr 12, 2019 at 8:07 PM megous via linux-sunxi wrote: > > From: Ondrej Jirman > > I went through the datasheets for H6 and H5, and compared the differences. > RTCs are largely similar, but not entirely compatible. Incompatibilities > are in details not yet implemented by the rtc driver th

[linux-sunxi] [PATCH 0/3] Add basic support for RTC on Allwinner H6 SoC

2019-04-12 Thread megous via linux-sunxi
From: Ondrej Jirman I went through the datasheets for H6 and H5, and compared the differences. RTCs are largely similar, but not entirely compatible. Incompatibilities are in details not yet implemented by the rtc driver though. I also corrected the clock tree in H6 DTSI. There's a small detail