summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2024-04-22 06:28:40 +0000
committerKever Yang <[email protected]>2024-04-26 15:47:04 +0800
commit0b6afc3993d92a542e328afdccaedf95b9c9c98f (patch)
tree22fa100e0ce9d96ef36524ff0bd3dbd458dfbec2 /doc/develop/bootstd
parent80274d1b642bbe2fc6f58552fe3d76bfe65ba084 (diff)
clk: rockchip: rk356x: Fix set rate of SCLK_SFC clock
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. Fix this by using the highest possible rate that exceeds or is equal to the requested rate. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions