Re: [PATCH 2/2] rtc: tegra: Implement clock handling

2017-01-19 Thread Peter De Schrijver
On Thu, Jan 12, 2017 at 05:07:43PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Accessing the registers of the RTC block on Tegra requires the module > clock to be enabled. This only works because the RTC module clock will > be enabled by default during early boot.

Re: [PATCH 2/2] rtc: tegra: Implement clock handling

2017-01-19 Thread Peter De Schrijver
On Thu, Jan 12, 2017 at 05:07:43PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Accessing the registers of the RTC block on Tegra requires the module > clock to be enabled. This only works because the RTC module clock will > be enabled by default during early boot. However, because

[PATCH 2/2] rtc: tegra: Implement clock handling

2017-01-12 Thread Thierry Reding
From: Thierry Reding Accessing the registers of the RTC block on Tegra requires the module clock to be enabled. This only works because the RTC module clock will be enabled by default during early boot. However, because the clock is unused, the CCF will disable it at

[PATCH 2/2] rtc: tegra: Implement clock handling

2017-01-12 Thread Thierry Reding
From: Thierry Reding Accessing the registers of the RTC block on Tegra requires the module clock to be enabled. This only works because the RTC module clock will be enabled by default during early boot. However, because the clock is unused, the CCF will disable it at late_init time. This causes