u-boot/arch/arm
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
..
cpu arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
dts ARM: dts: am43xx-clocks: add spread spectrum support 2021-10-11 14:27:32 -04:00
include clk: ti: add am33xx/am43xx spread spectrum clock support 2021-10-11 14:27:32 -04:00
lib image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
mach-aspeed
mach-at91 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-bcm283x Xilinx changes for v2022.01-rc1 2021-09-30 11:29:41 -04:00
mach-bcmstb
mach-cortina
mach-davinci WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-exynos serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
mach-highbank
mach-imx image: Drop IMAGE_ENABLE_FIT 2021-10-08 15:53:26 -04:00
mach-integrator
mach-ipq40xx
mach-k3 board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00
mach-keystone WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-kirkwood WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-lpc32xx arm: lpc32xx: add EA LPC3250 DevKitv2 board support 2021-07-06 14:12:14 -04:00
mach-mediatek arm: mediatek: merge board Kconfigs into mach-mediatek 2021-09-23 14:15:32 -04:00
mach-meson ARM: meson: Add S905Y2 SOC ID 2021-10-07 10:14:50 +02:00
mach-mvebu arm: mvebu: Select SPL_SKIP_LOWLEVEL_INIT on ARMADA_32BIT 2021-10-08 08:37:55 +02:00
mach-nexell global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
mach-octeontx WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-octeontx2 WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-omap2 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-orion5x WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-owl
mach-qemu
mach-rmobile WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-rockchip lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
mach-s5pc1xx WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-snapdragon WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-socfpga WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-sti
mach-stm32 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
mach-stm32mp tee: add a stub for tee_find_device 2021-10-05 08:44:48 -04:00
mach-sunxi WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mach-tegra WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-u8500 board: stemmy: Update documentation 2021-09-01 19:25:37 -04:00
mach-uniphier mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
mach-versal arm: Migrate GICV2 / GICV3 to Kconfig 2021-08-30 14:13:26 -04:00
mach-versatile WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-zynq spi: Rename SPI_SUPPORT to SPI 2021-09-04 12:26:02 -04:00
mach-zynqmp sata: Rename SATA_SUPPORT to SATA 2021-09-04 12:26:02 -04:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk ARM: Prevent the compiler from using NEON registers 2021-09-02 11:19:58 -04:00
Kconfig arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
Kconfig.debug
Makefile arm: Remove flea3 board 2021-10-01 12:08:19 -04:00