]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add QorIQ platform clockgen driver.
authormw <mw@FreeBSD.org>
Mon, 25 May 2020 14:31:32 +0000 (14:31 +0000)
committermw <mw@FreeBSD.org>
Mon, 25 May 2020 14:31:32 +0000 (14:31 +0000)
commit35a1c5000bfc73d813952f9577c20e722fdbf5b5
treedcab8db8005ec61c8a2c5fa9c8121e10bd4ec047
parent3fc1420eac76eb8ddf28d6b0715b2f2fe933f805
Add QorIQ platform clockgen driver.

This patch adds classes and functions that can be used with various NXP
QorIQ Layerscape SoCs.

As for the clock topology - there is single platform PLL, which supplies
clocks for the peripheral bus and additional PLLs for CPU cores. There
can be multiple core PLLs (For example - LS1046A has two PLLs - CGAPLL1
and CGAPLL2). Each PLL has fixed dividers on output. The core PLLs
are not accessible from dts.

This is a preparation patch for NXP LS1046A SoC support.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: mmel
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D24351
sys/arm64/qoriq/clk/qoriq_clk_pll.c [new file with mode: 0644]
sys/arm64/qoriq/clk/qoriq_clk_pll.h [new file with mode: 0644]
sys/arm64/qoriq/clk/qoriq_clkgen.c [new file with mode: 0644]
sys/arm64/qoriq/clk/qoriq_clkgen.h [new file with mode: 0644]