soc: sunxi: Add Allwinner D1 PPU driver
authorSamuel Holland <samuel@sholland.org>
Thu, 26 Jan 2023 06:34:18 +0000 (00:34 -0600)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Fri, 27 Jan 2023 22:20:37 +0000 (23:20 +0100)
commit0e30ca5ab0a80fdc7f1055f63c1436dfdc4d317d
tree8ac5af5dbe4e3ac1ff2c7dbb56befe682eb4ebc2
parent84def5abbb5252681bb5aa7e3e253c37b75ed9e7
soc: sunxi: Add Allwinner D1 PPU driver

The PPU contains a series of identical MMIO register ranges, one for
each power domain. Each range contains control/status bits for a clock
gate, reset line, output gates, and a power switch. (The clock and reset
are separate from, and in addition to, the bits in the CCU.) It also
contains a hardware power sequence engine to control the other bits.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20230126063419.15971-3-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
drivers/soc/sunxi/Kconfig
drivers/soc/sunxi/Makefile
drivers/soc/sunxi/sun20i-ppu.c [new file with mode: 0644]