mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
4a54ecf303
An $ARCH or a platform should select PM. Single device drivers
should only depend on PM, not select it.
Having SUN20I_PPU depend on PM removes a kconfig warning:
WARNING: unmet direct dependencies detected for PM
Depends on [n]: !MMU [=y]
Selected by [y]:
- SUN20I_PPU [=y] && (ARCH_SUNXI || COMPILE_TEST [=y])
Fixes: 0ad2185dcb
("soc: sunxi: select CONFIG_PM")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Samuel Holland <samuel@sholland.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-sunxi@lists.linux.dev
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
31 lines
751 B
Plaintext
31 lines
751 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Allwinner sunXi SoC drivers
|
|
#
|
|
|
|
config SUNXI_MBUS
|
|
bool
|
|
default ARCH_SUNXI
|
|
depends on ARM || ARM64
|
|
help
|
|
Say y to enable the fixups needed to support the Allwinner
|
|
MBUS DMA quirks.
|
|
|
|
config SUNXI_SRAM
|
|
bool
|
|
default ARCH_SUNXI
|
|
select REGMAP_MMIO
|
|
help
|
|
Say y here to enable the SRAM controller support. This
|
|
device is responsible on mapping the SRAM in the sunXi SoCs
|
|
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.
|