mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Ezequiel Garcia](/assets/img/avatar_default.png)
The imx-gpcv2 driver needs Regmap MMIO. Select it, and fix: drivers/soc/imx/gpcv2.c:420:34: error: array type has incomplete element type ‘struct regmap_range’ 420 | static const struct regmap_range imx7_yes_ranges[] = { | ^~~~~~~~~~~~~~~ drivers/soc/imx/gpcv2.c:421:17: error: implicit declaration of function ‘regmap_reg_range’; did you mean ‘remap_pfn_range’? [-Werror=implicit-function-declaration] 421 | regmap_reg_range(GPC_LPCR_A_CORE_BSC, | ^~~~~~~~~~~~~~~~ | remap_pfn_range Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
23 lines
596 B
Text
23 lines
596 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "i.MX SoC drivers"
|
|
|
|
config IMX_GPCV2_PM_DOMAINS
|
|
bool "i.MX GPCv2 PM domains"
|
|
depends on ARCH_MXC || (COMPILE_TEST && OF)
|
|
depends on PM
|
|
select PM_GENERIC_DOMAINS
|
|
select REGMAP_MMIO
|
|
default y if SOC_IMX7D
|
|
|
|
config SOC_IMX8M
|
|
bool "i.MX8M SoC family support"
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
default ARCH_MXC && ARM64
|
|
select SOC_BUS
|
|
select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7
|
|
help
|
|
If you say yes here you get support for the NXP i.MX8M family
|
|
support, it will provide the SoC info like SoC family,
|
|
ID and revision etc.
|
|
|
|
endmenu
|