Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-07-19 Thread Dzmitry Sankouski
Why cannot max values be defined as ((2 ^ mnd_width) - 1) and ((2 ^ hid_width) - 1)? вт, 18 июн. 2024 г. в 22:12, Konrad Dybcio : > > > > On 6/18/24 20:55, Dmitry Baryshkov wrote: > > On Tue, Jun 18, 2024 at 08:50:52PM GMT, Konrad Dybcio wrote: > >> > >> > >> On 6/18/24 19:50, Dmitry Baryshkov wro

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Dmitry Baryshkov
On Tue, Jun 18, 2024 at 09:11:58PM GMT, Konrad Dybcio wrote: > > > On 6/18/24 20:55, Dmitry Baryshkov wrote: > > On Tue, Jun 18, 2024 at 08:50:52PM GMT, Konrad Dybcio wrote: > > > > > > > > > On 6/18/24 19:50, Dmitry Baryshkov wrote: > > > > On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sanko

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Konrad Dybcio
On 6/18/24 20:55, Dmitry Baryshkov wrote: On Tue, Jun 18, 2024 at 08:50:52PM GMT, Konrad Dybcio wrote: On 6/18/24 19:50, Dmitry Baryshkov wrote: On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sankouski wrote: sdm845 has "General Purpose" clocks that can be muxed to SoC pins. Those clock

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Dmitry Baryshkov
On Tue, Jun 18, 2024 at 08:50:52PM GMT, Konrad Dybcio wrote: > > > On 6/18/24 19:50, Dmitry Baryshkov wrote: > > On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sankouski wrote: > > > sdm845 has "General Purpose" clocks that can be muxed to > > > SoC pins. > > > > > > Those clocks may be used as

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Konrad Dybcio
On 6/18/24 19:50, Dmitry Baryshkov wrote: On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sankouski wrote: sdm845 has "General Purpose" clocks that can be muxed to SoC pins. Those clocks may be used as e.g. PWM sources for external peripherals. Add more frequencies to the table for those clo

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Dmitry Baryshkov
On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sankouski wrote: > sdm845 has "General Purpose" clocks that can be muxed to > SoC pins. > > Those clocks may be used as e.g. PWM sources for external peripherals. > Add more frequencies to the table for those clocks so it's possible > for arbitrary p

[PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Dzmitry Sankouski
sdm845 has "General Purpose" clocks that can be muxed to SoC pins. Those clocks may be used as e.g. PWM sources for external peripherals. Add more frequencies to the table for those clocks so it's possible for arbitrary peripherals to make use of them. See also: bf8bb8eaccf(clk: qcom: gcc-msm8916