Re: [PATCH v3 03/28] clk: rockchip: rk356x: Fix set rate of SCLK_SFC clock

2024-04-22 Thread Kever Yang
On 2024/4/22 14:28, Jonas Karlman wrote: The SCLK_SFC can be set to a rate of 24, 50, 75, 100, 125 or 150 MHz. However, clk_set_rate() will fail unless one of those exact rates are used, and with newer and updated device tree files that contain spi-max-frequency values that does not exactly

[PATCH v3 03/28] clk: rockchip: rk356x: Fix set rate of SCLK_SFC clock

2024-04-22 Thread Jonas Karlman
The SCLK_SFC can be set to a rate of 24, 50, 75, 100, 125 or 150 MHz. However, clk_set_rate() will fail unless one of those exact rates are used, and with newer and updated device tree files that contain spi-max-frequency values that does not exactly match these rates use of SPI flash may fail.