mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
165e8fe5db
The patch enables spread spectrum clocking (SSC) for MPU and LCD PLLs. As reported by the TI spruh73x/spruhl7x RM, SSC is only supported for the DISP/LCD and MPU PLLs on am33xx/am43xx. SSC is not supported for DDR, PER, and CORE PLLs. Calculating the required values and setting the registers accordingly was taken from the set_mpu_spreadspectrum routine contained in the arch/arm/mach-omap2/am33xx/clock_am33xx.c file of the u-boot project. In locked condition, DPLL output clock = CLKINP *[M/N]. In case of SSC enabled, the reference manual explains that there is a restriction of range of M values. Since the clk_ti_am3_dpll_round_rate() attempts to select the minimum possible N, the value of M obtained is not guaranteed to be within the range required. With the new "ti,min-div" parameter it is possible to increase N and consequently M to satisfy the constraint imposed by SSC. Link: https://lore.kernel.org/r/20210606202253.31649-6-dariobin@libero.it Signed-off-by: Dario Binacchi <dariobin@libero.it> |
||
---|---|---|
.. | ||
chilisom.h | ||
clk_synthesizer.h | ||
clock.h | ||
clock_ti81xx.h | ||
clocks_am33xx.h | ||
cpu.h | ||
ddr_defs.h | ||
emac_defs.h | ||
gpio.h | ||
hardware.h | ||
hardware_am33xx.h | ||
hardware_am43xx.h | ||
hardware_ti814x.h | ||
hardware_ti816x.h | ||
i2c.h | ||
mem-guardian.h | ||
mem.h | ||
mmc_host_def.h | ||
mux.h | ||
mux_am33xx.h | ||
mux_am43xx.h | ||
mux_ti814x.h | ||
mux_ti816x.h | ||
omap.h | ||
spl.h | ||
sys_proto.h |