u-boot/arch/arm/include/asm/arch-am33xx
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
..
chilisom.h Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
clk_synthesizer.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
clock.h clk: ti: add am33xx/am43xx spread spectrum clock support 2021-10-11 14:27:32 -04:00
clock_ti81xx.h Add TI816X support 2013-08-15 18:38:37 -04:00
clocks_am33xx.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.h WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
ddr_defs.h Add support for the MT41K128M16JT125K memory modules 2019-04-12 08:05:48 -04:00
emac_defs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hardware.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hardware_am33xx.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hardware_am43xx.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
hardware_ti814x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hardware_ti816x.h ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
i2c.h i2c: omap24xx_i2c: Use platdata to probe the device 2018-12-10 06:11:18 +01:00
mem-guardian.h am335x, guardian: mem: Add board dependent mem values 2021-07-15 17:56:03 +05:30
mem.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mmc_host_def.h omap: Update the base address of the MMC controllers 2018-01-18 22:04:21 -05:00
mux.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
mux_am33xx.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
mux_am43xx.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
mux_ti814x.h am33xx: refactor am33xx mux support and add ti814x support 2013-03-24 12:49:11 -04:00
mux_ti816x.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
omap.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE 2019-02-15 22:01:15 +01:00
sys_proto.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00