Commit fe78050a authored by Ulf Hansson's avatar Ulf Hansson

pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem

The Kconfig option belongs closer to the corresponding implementation,
hence let's move it from the soc subsystem to the pmdomain subsystem.

Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Samuel Holland <samuel@sholland.org>
Cc: <linux-sunxi@lists.linux.dev>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent ac68b50d
...@@ -13,5 +13,6 @@ source "drivers/pmdomain/rockchip/Kconfig" ...@@ -13,5 +13,6 @@ source "drivers/pmdomain/rockchip/Kconfig"
source "drivers/pmdomain/samsung/Kconfig" source "drivers/pmdomain/samsung/Kconfig"
source "drivers/pmdomain/st/Kconfig" source "drivers/pmdomain/st/Kconfig"
source "drivers/pmdomain/starfive/Kconfig" source "drivers/pmdomain/starfive/Kconfig"
source "drivers/pmdomain/sunxi/Kconfig"
endmenu endmenu
# SPDX-License-Identifier: GPL-2.0-only
config SUN20I_PPU
bool "Allwinner D1 PPU power domain driver"
depends on ARCH_SUNXI || COMPILE_TEST
depends on PM
select PM_GENERIC_DOMAINS
help
Say y to enable the PPU power domain driver. This saves power
when certain peripherals, such as the video engine, are idle.
...@@ -19,12 +19,3 @@ config SUNXI_SRAM ...@@ -19,12 +19,3 @@ config SUNXI_SRAM
Say y here to enable the SRAM controller support. This Say y here to enable the SRAM controller support. This
device is responsible on mapping the SRAM in the sunXi SoCs device is responsible on mapping the SRAM in the sunXi SoCs
whether to the CPU/DMA, or to the devices. whether to the CPU/DMA, or to the devices.
config SUN20I_PPU
bool "Allwinner D1 PPU power domain driver"
depends on ARCH_SUNXI || COMPILE_TEST
depends on PM
select PM_GENERIC_DOMAINS
help
Say y to enable the PPU power domain driver. This saves power
when certain peripherals, such as the video engine, are idle.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment