[PATCH v2 1/2] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-22 Thread Dmitry Osipenko
The PCLK clock is running off SCLK, which is a critical clock that is very unlikely to randomly change its rate. It's also a bit clumsy (and apparently incorrect) to query the clock's rate with interrupts being disabled because clk_get_rate() takes a mutex and that's the case during suspend/cpuidle

Re: [PATCH v2 1/2] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-25 Thread Peter De Schrijver
On Tue, Jul 23, 2019 at 05:35:10AM +0300, Dmitry Osipenko wrote: > The PCLK clock is running off SCLK, which is a critical clock that is > very unlikely to randomly change its rate. It's also a bit clumsy (and > apparently incorrect) to query the clock's rate with interrupts being > disabled becaus

Re: [PATCH v2 1/2] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-25 Thread Dmitry Osipenko
25.07.2019 12:36, Peter De Schrijver пишет: > On Tue, Jul 23, 2019 at 05:35:10AM +0300, Dmitry Osipenko wrote: >> The PCLK clock is running off SCLK, which is a critical clock that is >> very unlikely to randomly change its rate. It's also a bit clumsy (and >> apparently incorrect) to query the clo

Re: [PATCH v2 1/2] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-29 Thread Dmitry Osipenko
25.07.2019 14:15, Dmitry Osipenko пишет: > 25.07.2019 12:36, Peter De Schrijver пишет: >> On Tue, Jul 23, 2019 at 05:35:10AM +0300, Dmitry Osipenko wrote: >>> The PCLK clock is running off SCLK, which is a critical clock that is >>> very unlikely to randomly change its rate. It's also a bit clumsy

Re: [PATCH v2 1/2] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-30 Thread Dmitry Osipenko
29.07.2019 16:07, Dmitry Osipenko пишет: > 25.07.2019 14:15, Dmitry Osipenko пишет: >> 25.07.2019 12:36, Peter De Schrijver пишет: >>> On Tue, Jul 23, 2019 at 05:35:10AM +0300, Dmitry Osipenko wrote: The PCLK clock is running off SCLK, which is a critical clock that is very unlikely to ra