u-boot/drivers/clk/ti
Dario Binacchi 165e8fe5db clk: ti: add am33xx/am43xx spread spectrum clock support
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>
2021-10-11 14:27:32 -04:00
..
clk-am3-dpll-x2.c clk: ti: am33xx: add DPLL clock drivers 2021-01-12 10:58:04 +05:30
clk-am3-dpll.c clk: ti: add am33xx/am43xx spread spectrum clock support 2021-10-11 14:27:32 -04:00
clk-ctrl.c clk: ti: improve debug messages for clkctrl driver 2021-02-22 11:39:48 +05:30
clk-divider.c clk: ti: change clk_ti_latch() signature 2021-05-12 16:27:57 +05:30
clk-gate.c clk: ti: gate: use custom API for memory access 2021-05-12 16:27:57 +05:30
clk-k3-pll.c clk: ti: k3-pll: Change DIV_CTRL programming to read-modify-write 2021-09-17 14:47:03 -04:00
clk-k3.c clk: ti: k3: Update driver to account for divider flags 2021-09-17 14:47:03 -04:00
clk-mux.c clk: ti: change clk_ti_latch() signature 2021-05-12 16:27:57 +05:30
clk-sci.c clk: sci-clk: fix return value of set_rate 2021-06-11 16:34:52 +05:30
clk.c clk: ti: change clk_ti_latch() signature 2021-05-12 16:27:57 +05:30
clk.h clk: ti: change clk_ti_latch() signature 2021-05-12 16:27:57 +05:30
Kconfig clk: add support for TI K3 SoC clocks 2021-06-11 16:34:52 +05:30
Makefile clk: add support for TI K3 SoC clocks 2021-06-11 16:34:52 +05:30
omap4-cm.c clk: ti: omap4: add clock manager driver 2021-01-12 10:58:04 +05:30