Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-28 Thread Taniya Das
On 8/28/2018 2:34 AM, Stephen Boyd wrote: Quoting Stephen Boyd (2018-08-23 11:25:41) Quoting Taniya Das (2018-08-22 03:28:31) H. Ok. That won't work then. recalc_rate() better not try to populate the frequency table then or it will not work. So I suppose it needs to fallback to readin

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-27 Thread Stephen Boyd
Quoting Stephen Boyd (2018-08-23 11:25:41) > Quoting Taniya Das (2018-08-22 03:28:31) > > > > > > > > H. Ok. That won't work then. recalc_rate() better not try to > > > populate the frequency table then or it will not work. So I suppose it > > > needs to fallback to reading the registers and

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-23 Thread Stephen Boyd
Quoting Taniya Das (2018-08-22 03:28:31) > > > > > H. Ok. That won't work then. recalc_rate() better not try to > > populate the frequency table then or it will not work. So I suppose it > > needs to fallback to reading the registers and assuming the parent_rate > > coming in is the actual fr

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-22 Thread Taniya Das
On 8/21/2018 9:00 PM, Stephen Boyd wrote: Quoting Taniya Das (2018-08-21 04:36:20) On 8/18/2018 11:31 PM, Taniya Das wrote: Hello Stephen, I will test these changes and get back. On 8/18/2018 7:42 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-08-10 18:53:54)   [v4]    * Add recalc_c

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-21 Thread Stephen Boyd
Quoting Taniya Das (2018-08-21 04:36:20) > On 8/18/2018 11:31 PM, Taniya Das wrote: > > Hello Stephen, > > > > I will test these changes and get back. > > > > On 8/18/2018 7:42 AM, Stephen Boyd wrote: > >> Quoting Taniya Das (2018-08-10 18:53:54) > >>>   [v4] > >>>    * Add recalc_clk_ops to calc

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-21 Thread Taniya Das
Hello Stephen, Thanks for the changes, I have tested the changes and would require the change mentioned below for this to work. On 8/18/2018 11:31 PM, Taniya Das wrote: Hello Stephen, I will test these changes and get back. On 8/18/2018 7:42 AM, Stephen Boyd wrote: Quoting Taniya Das (2018

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-18 Thread Taniya Das
Hello Stephen, I will test these changes and get back. On 8/18/2018 7:42 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-08-10 18:53:54) [v4] * Add recalc_clk_ops to calculate the clock frequency reading the current perf state, also add CLK_GET_RATE_NOCACHE flag. * Cleanup 'goto'

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-17 Thread Stephen Boyd
Quoting Taniya Das (2018-08-10 18:53:54) > [v4] > * Add recalc_clk_ops to calculate the clock frequency reading the current > perf state, also add CLK_GET_RATE_NOCACHE flag. > * Cleanup 'goto' during mode check in 'clk_rcg2_calculate_freq'. > * cleanup return from function 'com_cc_regist

[PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-10 Thread Taniya Das
[v4] * Add recalc_clk_ops to calculate the clock frequency reading the current perf state, also add CLK_GET_RATE_NOCACHE flag. * Cleanup 'goto' during mode check in 'clk_rcg2_calculate_freq'. * cleanup return from function 'com_cc_register_rcg_dfs'. [v3] * Rename clk_rcg2_calculate_m