diff options
author | Chen-Yu Tsai <wens@csie.org> | 2025-09-12 01:47:08 +0800 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2025-09-13 13:50:52 +0800 |
commit | 598e4b6713b54267acc257b3c66a269079ee4d8f (patch) | |
tree | 309138b95f2d6ad838984f808d93aea3a61f6c39 /rust/kernel/task.rs | |
parent | 44293edd013e5ed48060e6a8848c215fd3bf8ce3 (diff) |
clk: sunxi-ng: add support for the A523/T527 MCU CCU
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>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions