]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: ti: am33xx: add DPLL clock drivers
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:06:34 +0000 (00:06 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:04 +0000 (10:58 +0530)
commit756d64e43e20be558e6e49f2ccee2f747feb4a4d
treedc99960e80d3e24ac13cd44af16fec3f570745fa
parent9d76120083131cf087bbc028249bf88a91208504
clk: ti: am33xx: add DPLL clock drivers

The digital phase-locked loop (DPLL) provides all interface clocks and
functional clocks to the processor of the AM33xx device. The AM33xx
device integrates five different DPLLs:
 * Core DPLL
 * Per DPLL
 * LCD DPLL
 * DDR DPLL
 * MPU DPLL

The patch adds support for the compatible strings:
 * "ti,am3-dpll-core-clock"
 * "ti,am3-dpll-no-gate-clock"
 * "ti,am3-dpll-no-gate-j-type-clock"
 * "ti,am3-dpll-x2-clock"

The code is loosely based on the drivers/clk/ti/dpll.c drivers of the
Linux kernel version 5.9-rc7.
For DT binding details see:
- Documentation/devicetree/bindings/clock/ti/dpll.txt

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/clk/ti/Kconfig
drivers/clk/ti/Makefile
drivers/clk/ti/clk-am3-dpll-x2.c [new file with mode: 0644]
drivers/clk/ti/clk-am3-dpll.c [new file with mode: 0644]