Re: [v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-04-11 Thread Tom Rini
On Tue, Apr 12, 2022 at 12:35:42AM +0530, Pratyush Yadav wrote: > On 08/04/22 10:47AM, Tom Rini wrote: > > On Thu, Mar 31, 2022 at 03:35:26PM -0400, Tom Rini wrote: > > > > > This is a little tricky since SoCFPGA has code to determine this as > > > runtime. Introduce a guard variable for platform

Re: [v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-04-11 Thread Pratyush Yadav
On 08/04/22 10:47AM, Tom Rini wrote: > On Thu, Mar 31, 2022 at 03:35:26PM -0400, Tom Rini wrote: > > > This is a little tricky since SoCFPGA has code to determine this as > > runtime. Introduce a guard variable for platforms to select if they > > have a static value to use. Then for ARCH_SOCFPGA

Re: [v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-04-08 Thread Tom Rini
On Thu, Mar 31, 2022 at 03:35:26PM -0400, Tom Rini wrote: > This is a little tricky since SoCFPGA has code to determine this as > runtime. Introduce a guard variable for platforms to select if they > have a static value to use. Then for ARCH_SOCFPGA, call > cm_get_qspi_controller_clk_hz() and ot

Re: [v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-03-31 Thread Pratyush Yadav
On 31/03/22 03:35PM, Tom Rini wrote: > This is a little tricky since SoCFPGA has code to determine this as > runtime. Introduce a guard variable for platforms to select if they > have a static value to use. Then for ARCH_SOCFPGA, call > cm_get_qspi_controller_clk_hz() and otherwise continue the p

[v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-03-31 Thread Tom Rini
This is a little tricky since SoCFPGA has code to determine this as runtime. Introduce a guard variable for platforms to select if they have a static value to use. Then for ARCH_SOCFPGA, call cm_get_qspi_controller_clk_hz() and otherwise continue the previous behavior. Cc: Jagan Teki Signed-off