]> git.baikalelectronics.ru Git - uboot.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)
commit9839ae8b3cb13969179c0e5ac4c003cfc4e29ac2
treedc99960e80d3e24ac13cd44af16fec3f570745fa
parent7d0b0948b9e064468f6d9337690f161ecbf07939
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]