Re: [PATCH 8/8] clk/qcom: fix rcg divider value

2023-10-27 Thread Caleb Connolly
On 27/10/2023 13:18, Sumit Garg wrote: > On Wed, 25 Oct 2023 at 19:14, Caleb Connolly > wrote: >> >> >> >> On 24/10/2023 21:23, Caleb Connolly wrote: >>> The RCG divider field takes a value of (2*h - 1) where h is the divisor. >>> This allows fractional dividers to be supported by calculating

Re: [PATCH 8/8] clk/qcom: fix rcg divider value

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 19:14, Caleb Connolly wrote: > > > > On 24/10/2023 21:23, Caleb Connolly wrote: > > The RCG divider field takes a value of (2*h - 1) where h is the divisor. > > This allows fractional dividers to be supported by calculating them at > > compile time using a macro. > > > > How

Re: [PATCH 8/8] clk/qcom: fix rcg divider value

2023-10-25 Thread Caleb Connolly
On 24/10/2023 21:23, Caleb Connolly wrote: > The RCG divider field takes a value of (2*h - 1) where h is the divisor. > This allows fractional dividers to be supported by calculating them at > compile time using a macro. > > However, the clk_rcg_set_rate_mnd() function was also performing the >