Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

+11 -9
+1
drivers/pmdomain/Kconfig
··· 13 13 source "drivers/pmdomain/samsung/Kconfig" 14 14 source "drivers/pmdomain/st/Kconfig" 15 15 source "drivers/pmdomain/starfive/Kconfig" 16 + source "drivers/pmdomain/sunxi/Kconfig" 16 17 17 18 endmenu
+10
drivers/pmdomain/sunxi/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + config SUN20I_PPU 4 + bool "Allwinner D1 PPU power domain driver" 5 + depends on ARCH_SUNXI || COMPILE_TEST 6 + depends on PM 7 + select PM_GENERIC_DOMAINS 8 + help 9 + Say y to enable the PPU power domain driver. This saves power 10 + when certain peripherals, such as the video engine, are idle.
-9
drivers/soc/sunxi/Kconfig
··· 19 19 Say y here to enable the SRAM controller support. This 20 20 device is responsible on mapping the SRAM in the sunXi SoCs 21 21 whether to the CPU/DMA, or to the devices. 22 - 23 - config SUN20I_PPU 24 - bool "Allwinner D1 PPU power domain driver" 25 - depends on ARCH_SUNXI || COMPILE_TEST 26 - depends on PM 27 - select PM_GENERIC_DOMAINS 28 - help 29 - Say y to enable the PPU power domain driver. This saves power 30 - when certain peripherals, such as the video engine, are idle.