[PATCH 1/2] arm: boot: dts: am4372: add operating points

Nishanth Menon nm at ti.com
Fri May 8 13:12:27 PDT 2015


On 05/08/2015 03:09 PM, Nishanth Menon wrote:
> On 05/08/2015 02:57 PM, Felipe Balbi wrote:
>> By adding operating points, cpufreq-dt has a
>> chance of running and doing something useful.
>>
>> Signed-off-by: Felipe Balbi <balbi at ti.com>
>> ---
>>  arch/arm/boot/dts/am4372.dtsi | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
>> index c80a3e233792..ea1db20f64fc 100644
>> --- a/arch/arm/boot/dts/am4372.dtsi
>> +++ b/arch/arm/boot/dts/am4372.dtsi
>> @@ -38,6 +38,15 @@
>>  			clocks = <&dpll_mpu_ck>;
>>  			clock-names = "cpu";
>>  
>> +			operating-points = <
>> +				/* kHz		uV */
>> +				1000000		1325000 /* OPP_NITRO */
>> +				 800000		1260000 /* OPP_TURBO */
>> +				 720000		1200000 /* OPP_120 */
>> +				 600000		1100000 /* OPP_100 */
>> +				 300000		 950000 /* OPP_50 */
>> +			>;
>> +
>>  			clock-latency = <300000>; /* From omap-cpufreq driver */
>>  		};
>>  	};
>>
> which of these OPPs need AVS? which of these are dependent on Efuse bit
> dependent?
>


You can use
http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-linux-3.14.y/arch/arm/mach-omap2/opp43xx_data.c
for reference.


-- 
Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list