Re: [PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Kenneth Westfield
On Wed, Feb 25, 2015 at 02:32:07PM -0800, Stephen Boyd wrote: > The ahbix clock can never be turned off. To switch the rates we > need to switch the mux off the M/N counter to an always on source > (XO), reprogram the M/N counter to get the rate we want and > finally switch back to the M/N

[PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Stephen Boyd
The ahbix clock can never be turned off. To switch the rates we need to switch the mux off the M/N counter to an always on source (XO), reprogram the M/N counter to get the rate we want and finally switch back to the M/N counter. Add a new ops structure for this type of clock so that we can set

[PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Stephen Boyd
The ahbix clock can never be turned off. To switch the rates we need to switch the mux off the M/N counter to an always on source (XO), reprogram the M/N counter to get the rate we want and finally switch back to the M/N counter. Add a new ops structure for this type of clock so that we can set

Re: [PATCH] clk: qcom: Properly change rates for ahbix clock

2015-02-25 Thread Kenneth Westfield
On Wed, Feb 25, 2015 at 02:32:07PM -0800, Stephen Boyd wrote: The ahbix clock can never be turned off. To switch the rates we need to switch the mux off the M/N counter to an always on source (XO), reprogram the M/N counter to get the rate we want and finally switch back to the M/N counter.