Skip to content

Commit c17b1b6

Browse files
committed
clk: sunxi-ng: sun55i-a523-r-ccu: Add missing PPU0 reset
There is a PPU0 reset control bit in the same register as the PPU1 reset control. This missing reset control is for the PCK-600 unit in the SoC. Manual tests show that the reset control indeed exists, and if not configured, the system will hang when the PCK-600 registers are accessed. Add a reset entry for it at the end of the existing ones. Fixes: 8cea339 ("clk: sunxi-ng: add support for the A523/T527 PRCM CCU") Reviewed-by: Andre Przywara <[email protected]> Acked-by: Stephen Boyd <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 61977cc commit c17b1b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ static struct ccu_reset_map sun55i_a523_r_ccu_resets[] = {
204204
[RST_BUS_R_IR_RX] = { 0x1cc, BIT(16) },
205205
[RST_BUS_R_RTC] = { 0x20c, BIT(16) },
206206
[RST_BUS_R_CPUCFG] = { 0x22c, BIT(16) },
207+
[RST_BUS_R_PPU0] = { 0x1ac, BIT(16) },
207208
};
208209

209210
static const struct sunxi_ccu_desc sun55i_a523_r_ccu_desc = {

0 commit comments

Comments
 (0)