mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 05:22:49 -04:00
The A523/T527 SoCs have a new MCU PRCM, which has more clocks and reset controls for the RISC-V MCU and other peripherals. There is a second audio PLL, but no bus clock dividers. The BSP driver uses the 24MHz main oscillator as the parent for all the bus clocks. But the diagram suggests busses from the other PRCM are used in this block as well. Add a driver to support this part. Unlike the BSP driver, the SoC's main MBUS clock is chosen as the parent for the MCU MBUS clock, and the latter then serves as the parent of the MCU DMA controller's MBUS clock. The bus gate clocks also use their respective bus clocks as parents according to the system bus tree diagram. In cases where a block does not appear in that diagram, an educated guess is made. Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://patch.msgid.link/20250911174710.3149589-6-wens@kernel.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
82 lines
2.9 KiB
Makefile
82 lines
2.9 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_SUNXI_CCU) += sunxi-ccu.o
|
|
|
|
# Common objects
|
|
sunxi-ccu-y += ccu_common.o
|
|
sunxi-ccu-y += ccu_mmc_timing.o
|
|
sunxi-ccu-y += ccu_reset.o
|
|
|
|
# Base clock types
|
|
sunxi-ccu-y += ccu_div.o
|
|
sunxi-ccu-y += ccu_frac.o
|
|
sunxi-ccu-y += ccu_gate.o
|
|
sunxi-ccu-y += ccu_mux.o
|
|
sunxi-ccu-y += ccu_mult.o
|
|
sunxi-ccu-y += ccu_phase.o
|
|
sunxi-ccu-y += ccu_sdm.o
|
|
|
|
# Multi-factor clocks
|
|
sunxi-ccu-y += ccu_nk.o
|
|
sunxi-ccu-y += ccu_nkm.o
|
|
sunxi-ccu-y += ccu_nkmp.o
|
|
sunxi-ccu-y += ccu_nm.o
|
|
sunxi-ccu-y += ccu_mp.o
|
|
|
|
# SoC support
|
|
obj-$(CONFIG_SUNIV_F1C100S_CCU) += suniv-f1c100s-ccu.o
|
|
obj-$(CONFIG_SUN20I_D1_CCU) += sun20i-d1-ccu.o
|
|
obj-$(CONFIG_SUN20I_D1_R_CCU) += sun20i-d1-r-ccu.o
|
|
obj-$(CONFIG_SUN50I_A64_CCU) += sun50i-a64-ccu.o
|
|
obj-$(CONFIG_SUN50I_A100_CCU) += sun50i-a100-ccu.o
|
|
obj-$(CONFIG_SUN50I_A100_R_CCU) += sun50i-a100-r-ccu.o
|
|
obj-$(CONFIG_SUN50I_H6_CCU) += sun50i-h6-ccu.o
|
|
obj-$(CONFIG_SUN50I_H6_R_CCU) += sun50i-h6-r-ccu.o
|
|
obj-$(CONFIG_SUN50I_H616_CCU) += sun50i-h616-ccu.o
|
|
obj-$(CONFIG_SUN55I_A523_CCU) += sun55i-a523-ccu.o
|
|
obj-$(CONFIG_SUN55I_A523_MCU_CCU) += sun55i-a523-mcu-ccu.o
|
|
obj-$(CONFIG_SUN55I_A523_R_CCU) += sun55i-a523-r-ccu.o
|
|
obj-$(CONFIG_SUN4I_A10_CCU) += sun4i-a10-ccu.o
|
|
obj-$(CONFIG_SUN5I_CCU) += sun5i-ccu.o
|
|
obj-$(CONFIG_SUN6I_A31_CCU) += sun6i-a31-ccu.o
|
|
obj-$(CONFIG_SUN6I_RTC_CCU) += sun6i-rtc-ccu.o
|
|
obj-$(CONFIG_SUN8I_A23_CCU) += sun8i-a23-ccu.o
|
|
obj-$(CONFIG_SUN8I_A33_CCU) += sun8i-a33-ccu.o
|
|
obj-$(CONFIG_SUN8I_A83T_CCU) += sun8i-a83t-ccu.o
|
|
obj-$(CONFIG_SUN8I_H3_CCU) += sun8i-h3-ccu.o
|
|
obj-$(CONFIG_SUN8I_R40_CCU) += sun8i-r40-ccu.o
|
|
obj-$(CONFIG_SUN8I_V3S_CCU) += sun8i-v3s-ccu.o
|
|
obj-$(CONFIG_SUN8I_DE2_CCU) += sun8i-de2-ccu.o
|
|
obj-$(CONFIG_SUN8I_R_CCU) += sun8i-r-ccu.o
|
|
obj-$(CONFIG_SUN9I_A80_CCU) += sun9i-a80-ccu.o
|
|
obj-$(CONFIG_SUN9I_A80_CCU) += sun9i-a80-de-ccu.o
|
|
obj-$(CONFIG_SUN9I_A80_CCU) += sun9i-a80-usb-ccu.o
|
|
|
|
suniv-f1c100s-ccu-y += ccu-suniv-f1c100s.o
|
|
sun20i-d1-ccu-y += ccu-sun20i-d1.o
|
|
sun20i-d1-r-ccu-y += ccu-sun20i-d1-r.o
|
|
sun50i-a64-ccu-y += ccu-sun50i-a64.o
|
|
sun50i-a100-ccu-y += ccu-sun50i-a100.o
|
|
sun50i-a100-r-ccu-y += ccu-sun50i-a100-r.o
|
|
sun50i-h6-ccu-y += ccu-sun50i-h6.o
|
|
sun50i-h6-r-ccu-y += ccu-sun50i-h6-r.o
|
|
sun50i-h616-ccu-y += ccu-sun50i-h616.o
|
|
sun55i-a523-ccu-y += ccu-sun55i-a523.o
|
|
sun55i-a523-mcu-ccu-y += ccu-sun55i-a523-mcu.o
|
|
sun55i-a523-r-ccu-y += ccu-sun55i-a523-r.o
|
|
sun4i-a10-ccu-y += ccu-sun4i-a10.o
|
|
sun5i-ccu-y += ccu-sun5i.o
|
|
sun6i-a31-ccu-y += ccu-sun6i-a31.o
|
|
sun6i-rtc-ccu-y += ccu-sun6i-rtc.o
|
|
sun8i-a23-ccu-y += ccu-sun8i-a23.o
|
|
sun8i-a33-ccu-y += ccu-sun8i-a33.o
|
|
sun8i-a83t-ccu-y += ccu-sun8i-a83t.o
|
|
sun8i-h3-ccu-y += ccu-sun8i-h3.o
|
|
sun8i-r40-ccu-y += ccu-sun8i-r40.o
|
|
sun8i-v3s-ccu-y += ccu-sun8i-v3s.o
|
|
sun8i-de2-ccu-y += ccu-sun8i-de2.o
|
|
sun8i-r-ccu-y += ccu-sun8i-r.o
|
|
sun9i-a80-ccu-y += ccu-sun9i-a80.o
|
|
sun9i-a80-de-ccu-y += ccu-sun9i-a80-de.o
|
|
sun9i-a80-usb-ccu-y += ccu-sun9i-a80-usb.o
|