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

2019-07-25 Thread Peter De Schrijver
On Thu, Jul 18, 2019 at 10:45:31AM +0100, Jon Hunter wrote: > > On 08/07/2019 00:08, 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

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

2019-07-18 Thread Dmitry Osipenko
18.07.2019 12:53, Jon Hunter пишет: > > On 18/07/2019 10:45, Jon Hunter wrote: >> >> On 08/07/2019 00:08, 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

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

2019-07-18 Thread Dmitry Osipenko
18.07.2019 12:45, Jon Hunter пишет: > > On 08/07/2019 00:08, 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

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

2019-07-18 Thread Jon Hunter
On 18/07/2019 10:45, Jon Hunter wrote: > > On 08/07/2019 00:08, 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

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

2019-07-18 Thread Jon Hunter
On 08/07/2019 00:08, 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 because clk_get_rate()

[PATCH v1] soc/tegra: pmc: Query PCLK clock rate at probe time

2019-07-07 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