RE: [PATCH V2 3/4] arm/imx6q: register arm_clk as cpu to clkdev

2011-12-16 Thread Mark Langsdorf
Is there a portable/generic approach for other drivers that may want to use arm-cpufreq.c? arm_clk is not normally defined for my SoC and I don't see an easy way to pull it in. --Mark Langsdorf Calxeda, Inc. From: Richard Zhao [richard.z...@linar

Re: [RFC V1 2/4] dts/imx6q: add cpufreq property

2011-12-15 Thread Mark Langsdorf
79200 39600 19800>; + cpu_volts =<1225000 110 95 85>; + trans_latency =<3000>; }; cpu@1 { The trans_latency value definitely needs to be defined to avoid strange behavior i

Re: [RFC V1 1/4] cpufreq: add arm soc generic cpufreq driver

2011-12-15 Thread Mark Langsdorf
clk); + goto free_freq_table; + } I'd prefer to see clk_get90 replaced with of_clk_get() and get_this_cpu_node() from the clk-cpufreq driver by Jamie Iles that I resubmitted yesterday. The of_clk_get() doesn't require defining an arm_clk structure, so it's slightly