u-boot/include/dt-bindings/clock
Sean Anderson 609bd60b94 clk: k210: Rewrite to remove CCF
This is effectively a complete rewrite to remove all dependency on CCF.
The code is now smaller, and so is the binary. It also takes up less memory
at runtime (since we don't have to create 40 udevices). In general, I am
much happier with this driver as much of the complexity and late binding
has been removed.

The k210_*_params structs which were previously used to initialize CCF
clocks are now used as the complete configuration. Since we can write our
own division logic, we can now do away with several "half" clocks which
only existed to provide constant factors of two.

The clock IDs have been renumbered to remove unused clocks. This may not be
the last time they are renumbered, since we have diverged with Linux. There
are also still a few clocks left out which may need to be added back in.

In general, I have tried to leave out behavioral changes. However, there is
a small bugfix regarding ACLK. According to the technical reference manual,
its mux comes *after* its divider (which is present only for PLL0). This
would have required yet another intermediate clock to fix with CCF, but
with the new driver it is just 2 lines of code :)

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2021-06-17 09:40:57 +08:00
..
actions,s700-cmu.h arm: actions: add S700 SoC device tree 2020-04-24 16:40:09 -04:00
actions,s900-cmu.h arm: dts: sync dts for Action Semi S900 2020-04-24 16:40:09 -04:00
agilex-clock.h clk: agilex: Add clock driver for Agilex 2020-01-07 14:38:33 +01:00
am3.h arm: dts: am33xx: Sync dts with Linux 4.20.0 2018-12-07 08:13:51 -05:00
aspeed-clock.h cosmetic: aspeed: Modify for SPDX-License 2020-09-09 16:57:36 -04:00
ast2600-clock.h clk: aspeed: Add AST2600 clock support 2021-01-18 15:14:56 -05:00
at91.h arm: at91: dts: Bring in device tree file for AT91SAM9G45 2016-06-12 23:49:38 +02:00
axg-aoclkc.h ARM: dts: Sync Amlogic G12A with Linux 5.3-rc1 2019-07-31 12:10:42 +02:00
axg-audio-clkc.h arm64: dts: meson: sync dt and bindings from v5.6-rc2 2020-04-06 09:56:35 +02:00
axg-clkc.h ARM: dts: Sync Amlogic Meson AXG DT from Linux 4.20-rc1 2018-11-26 14:40:52 +01:00
bcm2835-aux.h fdt: update bcm283x device tree sources to Linux 5.1-rc6 state 2019-06-12 12:23:46 +02:00
bcm2835.h fdt: update bcm283x device tree sources to Linux 5.1-rc6 state 2019-06-12 12:23:46 +02:00
bcm3380-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6318-clock.h bmips: bcm6318: add support for bcm6368-enet 2018-12-19 15:23:01 +01:00
bcm6328-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6338-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6348-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6358-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6362-clock.h bmips: correct name characters 2019-10-25 17:20:43 +02:00
bcm6368-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm63268-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
boston-clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
exynos7420-clk.h clk: exynos: add clock driver for Exynos7420 Soc 2016-05-25 10:00:18 +09:00
g12a-aoclkc.h ARM: dts: sync Amlogic G12A DT with Linux 5.2-rc1 2019-05-31 09:57:49 +02:00
g12a-clkc.h ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9-rc1 2020-10-05 17:59:45 +02:00
gxbb-aoclkc.h arm64: dts: meson: sync dt and bindings from v5.6-rc2 2020-04-06 09:56:35 +02:00
gxbb-clkc.h arm64: dts: meson: sync dt and bindings from v5.7-rc1 2020-04-28 10:23:10 +02:00
hi3660-clock.h arm: dts: Import HI3660 devicetree from Linux 2019-08-11 16:43:41 -04:00
hi6220-clock.h ARM: hisilicon: hikey: Add hikey & hi6220 dts from v4.6-rc3. 2016-04-25 15:10:31 -04:00
histb-clock.h poplar: sync up device tree with kernel 4.20 2019-01-25 12:12:56 -05:00
imx5-clock.h arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC 2016-12-16 12:57:12 +01:00
imx6qdl-clock.h dt-bindings: clock: imx6qdl: Add clock defines 2016-10-26 16:53:16 +02:00
imx6sl-clock.h imx: mx6slevk: introduce device tree support 2017-03-20 19:00:43 +01:00
imx6sll-clock.h arm: dts: add i.MX6SLL device tree 2016-12-16 11:38:24 +01:00
imx6sx-clock.h ARM: dts: imx6sx: Sync with kernel 5.4.16 2020-03-09 15:04:42 +01:00
imx6ul-clock.h arm: dts: sync dts for i.MX6UL 2019-10-08 16:33:45 +02:00
imx7d-clock.h arm: dts: imx7: sync with Linux 2018-06-27 09:07:55 +02:00
imx7ulp-clock.h arm: dts: add i.MX7ULP dtsi file 2017-03-17 09:27:08 +01:00
imx8mm-clock.h imx: imx8mm: Update clock bindings header 2020-12-26 12:35:38 +01:00
imx8mn-clock.h arm: dts: imx8mn: sync dts from Linux Kernel 2021-01-23 11:30:30 +01:00
imx8mp-clock.h arm: dts: imx8mp: sync dts from Linux Kernel 2021-01-23 11:30:31 +01:00
imx8mq-clock.h arm: dts: imx8mq: sync dts from Linux Kernel 2021-01-23 11:30:31 +01:00
imx8qm-clock.h dt-bindings: clock: dt-bindings: pinctrl: add i.MX8QM clocks definition 2019-04-25 17:03:25 +02:00
imx8qxp-clock.h dt-bindings: clock: dt-bindings: pinctrl: add i.MX8QXP clocks definition 2018-10-22 12:59:01 +02:00
imxrt1020-clock.h clk: imx: add i.IMXRT1020 clk driver 2020-04-18 14:54:28 +02:00
imxrt1050-clock.h clk: imx: add i.IMXRT1050 clk driver 2020-01-14 22:53:59 +01:00
intel-clock.h x86: Add a clock driver for Intel devices 2020-02-07 22:41:24 +08:00
jz4780-cgu.h mips: jz47xx: Add JZ4780 SoC support 2018-12-19 15:23:01 +01:00
k210-sysctl.h clk: k210: Rewrite to remove CCF 2021-06-17 09:40:57 +08:00
maxim,max77802.h dts: Add clock and regulator binding files for max77802 2016-05-25 13:25:18 +09:00
microchip,clock.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
microchip-mpfs-clock.h clk: Add Microchip PolarFire SoC clock driver 2021-01-18 11:06:38 +08:00
mt7620-clk.h clk: add clock driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7622-clk.h clk: mediatek: add driver for MT7622 2020-01-16 09:39:45 -05:00
mt7623-clk.h arm: dts: MediaTek: add device tree for MT7623 2018-11-28 23:04:50 -05:00
mt7628-clk.h clk: add clock driver for MediaTek MT76x8 platform 2019-10-25 17:20:44 +02:00
mt7629-clk.h arm: dts: MediaTek: add device tree for MT7629 2018-11-28 23:04:49 -05:00
mt8183-clk.h clk: mediatek: Add MT8183 clock driver 2021-01-18 15:14:13 -05:00
mt8512-clk.h clk: mediatek: add driver support for MT8512 2020-01-16 09:39:45 -05:00
mt8516-clk.h clk: mediatek: add driver for MT8516 2019-04-23 17:57:26 -04:00
mt8518-clk.h clk: mediatek: add driver for MT8518 2019-12-03 08:44:14 -05:00
octeon-clock.h clk: clk_octeon: Add simple MIPS Octeon clock driver 2020-08-03 21:11:41 +02:00
omap4.h omap4: Copy device tree from Linux 5.7.y 2020-06-16 17:00:12 +05:30
omap5.h omap5: Copy device tree from linux 5.7.y 2020-06-16 17:00:12 +05:30
px30-cru.h rockchip: clk: add px30 clock driver 2019-11-17 17:23:07 +08:00
qcom,ipq4019-gcc.h dt-bindings: clock: import Qualcomm IPQ4019 bindings 2020-09-09 16:57:36 -04:00
r7s72100-clock.h ARM: dts: renesas: Add RZ/A1 platform code 2019-05-07 05:41:32 +02:00
r8a774a1-cpg-mssr.h arm: dts: r8a774a1: Import DTS from Linux 5.9-rc4 2020-09-26 17:25:43 +02:00
r8a774b1-cpg-mssr.h arm: dts: r8a774b1: Import DTS from Linux 5.9-rc4 2020-09-26 17:25:43 +02:00
r8a774c0-cpg-mssr.h arm: dts: r8a774c0: Import DTS from Linux 5.9 2020-10-20 12:56:51 +02:00
r8a774e1-cpg-mssr.h arm: dts: r8a774e1: Import DTS from Linux 5.9-rc4 2020-09-26 17:25:43 +02:00
r8a7790-clock.h ARM: dts: rmobile: Synchronize Gen2 DTs with Linux 5.6.2 2020-04-28 21:34:51 +02:00
r8a7790-cpg-mssr.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7791-clock.h ARM: dts: rmobile: Synchronize Gen2 DTs with Linux 5.6.2 2020-04-28 21:34:51 +02:00
r8a7791-cpg-mssr.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7792-clock.h ARM: dts: rmobile: Synchronize Gen2 DTs with Linux 5.6.2 2020-04-28 21:34:51 +02:00
r8a7792-cpg-mssr.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7793-clock.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7793-cpg-mssr.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7794-clock.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7794-cpg-mssr.h clk: renesas: Synchronize Gen2 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7795-cpg-mssr.h clk: renesas: Synchronize Gen3 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a7796-cpg-mssr.h clk: renesas: Synchronize Gen3 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
r8a77965-cpg-mssr.h ARM: dts: rmobile: Sync Gen3 DTs with Linux 4.19.6 2018-12-04 09:21:07 +01:00
r8a77970-cpg-mssr.h ARM: rmobile: Add R8A77970 SoC 2017-12-09 13:36:25 +01:00
r8a77980-cpg-mssr.h ARM: dts: renesas: Add R8A77980 V3H DTs and headers 2019-08-09 23:15:01 +02:00
r8a77990-cpg-mssr.h ARM: dts: rmobile: Sync Gen3 DTs with Linux 4.19.6 2018-12-04 09:21:07 +01:00
r8a77995-cpg-mssr.h clk: renesas: Synchronize Gen3 tables with Linux 5.0 2019-04-09 18:19:10 +02:00
renesas-cpg-mssr.h ARM: dts: rmobile: Import DTS from Linux 4.12 2017-08-03 03:50:03 +09:00
rk3036-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3066a-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3128-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3188-cru-common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3188-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3228-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3288-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk3308-cru.h rockchip: clk: Add clk driver for rk3308 2019-11-17 17:22:53 +08:00
rk3328-cru.h dt-bindings: clock: rk3328: sync from upstream Linux kernel 2020-05-01 18:32:56 +08:00
rk3368-cru.h rockchip: rk3368: sync clock dt-binding header from Linux 2021-03-30 16:53:00 +08:00
rk3399-cru.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rockchip,rk808.h rockchip: Bring in RK3288 device tree file includes and bindings 2015-09-02 21:28:23 -06:00
rv1108-cru.h ARM: rockchip: rv1108: Sync clock with vendor tree 2018-11-30 21:56:44 +01:00
sifive-fu540-prci.h clk: sifive: Sync-up DT bindings header with upstream Linux 2019-07-19 14:24:51 +08:00
sifive-fu740-prci.h riscv: dts: add fu740 support 2021-05-31 16:35:54 +08:00
snps,hsdk-cgu.h ARC: HSDK: CGU: add support for timer clock 2020-04-27 11:20:25 +03:00
ste-ab8500.h arm: dts: Import device tree for ST-Ericsson Ux500 2020-01-22 17:47:57 -05:00
stih407-clks.h STiH410-B2260: Add device tree 2017-03-14 20:40:21 -04:00
stih410-clks.h STiH410-B2260: Add device tree 2017-03-14 20:40:21 -04:00
stm32fx-clock.h ARM: dts: stm32: DT alignment with kernel v5.3 2019-11-26 10:11:48 +01:00
stm32h7-clks.h dm: clk: add clk driver support for stm32h7 SoCs 2017-09-22 07:40:01 -04:00
stm32mp1-clks.h dts: stm32mp1: clock tree update 2019-02-09 07:50:57 -05:00
stm32mp1-clksrc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sun4i-a10-ccu.h ARM: dts: sun4i: Update A10 dts(i) files from Linux-v4.18-rc3 2018-09-28 22:09:24 +05:30
sun4i-a10-pll2.h include/dt-bindings: Sync some files with the kernel 2016-03-23 22:04:13 +01:00
sun5i-ccu.h ARM: dts: sun5i: Update A10s/A13/gr8/r8 dts(i) files from Linux-v4.18-rc3 2018-09-28 22:09:24 +05:30
sun6i-a31-ccu.h ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux-v4.18-rc3 2018-09-28 22:09:24 +05:30
sun7i-a20-ccu.h ARM: dts: sun7i: Update A20 dts(i) files from Linux-v4.18-rc3 2018-09-28 22:09:24 +05:30
sun8i-a23-a33-ccu.h sunxi: sina33: Sync the device tree with the kernel 2017-10-03 19:12:05 +02:00
sun8i-a83t-ccu.h ARM: dts: sun8i: Update A83T dts(i) files from Linux-v4.18-rc3 2018-08-13 13:07:35 +05:30
sun8i-de2.h sunxi: DT: A64: update device tree files 2020-11-17 00:42:20 +00:00
sun8i-h3-ccu.h sunxi: H3/H5 Sync DT files from upstream Linux kernel as of next-20200108 2020-01-24 23:06:49 +05:30
sun8i-r-ccu.h sunxi: DT: A64: update device tree file for Allwinner A64 SoC 2018-07-16 12:01:58 +05:30
sun8i-r40-ccu.h sunxi: DT: R40: Update device tree files from Linux 5.12 2021-04-26 10:12:35 +01:00
sun8i-tcon-top.h arm64: allwinner: sun50i: Sync H6 dts(i) files from Linux 2019-04-14 22:32:32 +05:30
sun8i-v3s-ccu.h sunxi: add DTSI file for V3s 2017-04-21 09:23:27 +02:00
sun9i-a80-ccu.h ARM: dts: sun8i: Update A80 dts(i) from Linux-v4.18-rc3 2019-01-18 22:19:09 +05:30
sun9i-a80-de.h ARM: dts: sun8i: Update A80 dts(i) from Linux-v4.18-rc3 2019-01-18 22:19:09 +05:30
sun9i-a80-usb.h ARM: dts: sun8i: Update A80 dts(i) from Linux-v4.18-rc3 2019-01-18 22:19:09 +05:30
sun50i-a64-ccu.h sunxi: DT: A64: update device tree files 2020-11-17 00:42:20 +00:00
sun50i-h6-ccu.h sunxi: add support for Allwinner H6 SoC 2018-07-31 11:38:13 +05:30
sun50i-h6-r-ccu.h arm: sunxi: add initial H616 DTSI and headers 2021-01-25 21:52:01 +00:00
sun50i-h616-ccu.h arm: sunxi: add initial H616 DTSI and headers 2021-01-25 21:52:01 +00:00
tegra20-car.h ARM: tegra: pull Tegra20 SoC DT from Linux v4.7 2016-09-27 09:11:02 -07:00
tegra30-car.h ARM: tegra: pull Tegra30 SoC DT from Linux v4.7 2016-09-27 09:11:02 -07:00
tegra114-car.h ARM: tegra: pull Tegra114 SoC DT from Linux v4.7 2016-09-27 09:11:02 -07:00
tegra124-car-common.h tegra: dts: Sync up the tegra124 device tree files with Linux 2016-02-16 09:17:50 -07:00
tegra124-car.h tegra: dts: Sync up the tegra124 device tree files with Linux 2016-02-16 09:17:50 -07:00
tegra186-clock.h ARM: tegra: add BPMP DT bindings 2016-08-04 13:36:58 -07:00
tegra210-car.h ARM: tegra: pull Tegra210 SoC DT from Linux v4.7 2016-09-27 09:11:02 -07:00
xlnx-versal-clk.h dt-bindings: arm64: versal: Add clk and power headers 2020-10-27 08:13:32 +01:00
xlnx-zynqmp-clk.h dt-bindings: clock: zynqmp: Add clk header 2019-10-24 13:37:02 +02:00