RE: [PATCH] cpufreq: qoriq: enhance bus frequency calculation

2017-03-10 Thread Andy Tang
; Subject: Re: [PATCH] cpufreq: qoriq: enhance bus frequency calculation > > On 10-03-17, 01:44, Andy Tang wrote: > > > Will this always work? If yes, then what about dropping the code > > > parsing DT completely ? That is, just rely on clk_get_rate() in all cases. > > >

Re: [PATCH] cpufreq: qoriq: enhance bus frequency calculation

2017-03-10 Thread Viresh Kumar
On 10-03-17, 01:44, Andy Tang wrote: > > Will this always work? If yes, then what about dropping the code parsing DT > > completely ? That is, just rely on clk_get_rate() in all cases. > > > We put all the clock tree configuration in driver, not in dts. > cg-pll0-div1 is hardcoded in driver since

RE: [PATCH] cpufreq: qoriq: enhance bus frequency calculation

2017-03-09 Thread Andy Tang
Tang > Subject: Re: [PATCH] cpufreq: qoriq: enhance bus frequency calculation > > On 09-03-17, 16:15, YuanTian Tang wrote: > > From: Tang Yuantian > > > > On some platforms, property device-type may be missed in soc node in > > dts which caused the bus-frequenc

Re: [PATCH] cpufreq: qoriq: enhance bus frequency calculation

2017-03-09 Thread Viresh Kumar
On 09-03-17, 16:15, YuanTian Tang wrote: > From: Tang Yuantian > > On some platforms, property device-type may be missed in soc node > in dts which caused the bus-frequency can not be obtained correctly. > > This patch enhanced the bus-frequency calculation. When property > device-type is missed