Re: [PATCH] rtc: sun6i: Fix compatibility with old DT binding

2017-01-31 Thread Alexandre Belloni
On 29/01/2017 at 18:13:43 +0800, Chen-Yu Tsai wrote: > Commit 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator") adds > a new clock for the rtc block with a 2 step probe mechanism. To share > the register region between both the clock and rtc instance, a static > pointer is used to keep the r

[PATCH] rtc: sun6i: Fix compatibility with old DT binding

2017-01-29 Thread Chen-Yu Tsai
Commit 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator") adds a new clock for the rtc block with a 2 step probe mechanism. To share the register region between both the clock and rtc instance, a static pointer is used to keep the related data structure. To preserve compatibility with the ol