* [PATCH] imx: soc: Select REGMAP_MMIO
@ 2021-09-24 14:01 ` Ezequiel Garcia
0 siblings, 0 replies; 4+ messages in thread
From: Ezequiel Garcia @ 2021-09-24 14:01 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, linux-imx
Cc: Shawn Guo, Sascha Hauer, Fabio Estevam, Arnd Bergmann,
Ezequiel Garcia, kernel
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>
---
drivers/soc/imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 05812f8ae734..a840494e849a 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -6,6 +6,7 @@ config IMX_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
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] imx: soc: Select REGMAP_MMIO
@ 2021-09-24 14:01 ` Ezequiel Garcia
0 siblings, 0 replies; 4+ messages in thread
From: Ezequiel Garcia @ 2021-09-24 14:01 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, linux-imx
Cc: Shawn Guo, Sascha Hauer, Fabio Estevam, Arnd Bergmann,
Ezequiel Garcia, kernel
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>
---
drivers/soc/imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 05812f8ae734..a840494e849a 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -6,6 +6,7 @@ config IMX_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
--
2.31.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] imx: soc: Select REGMAP_MMIO
2021-09-24 14:01 ` Ezequiel Garcia
@ 2021-10-05 5:55 ` Shawn Guo
-1 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2021-10-05 5:55 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: linux-arm-kernel, linux-kernel, linux-imx, Sascha Hauer,
Fabio Estevam, Arnd Bergmann, kernel
On Fri, Sep 24, 2021 at 11:01:46AM -0300, Ezequiel Garcia wrote:
> 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>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] imx: soc: Select REGMAP_MMIO
@ 2021-10-05 5:55 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2021-10-05 5:55 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: linux-arm-kernel, linux-kernel, linux-imx, Sascha Hauer,
Fabio Estevam, Arnd Bergmann, kernel
On Fri, Sep 24, 2021 at 11:01:46AM -0300, Ezequiel Garcia wrote:
> 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>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-05 5:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 14:01 [PATCH] imx: soc: Select REGMAP_MMIO Ezequiel Garcia
2021-09-24 14:01 ` Ezequiel Garcia
2021-10-05 5:55 ` Shawn Guo
2021-10-05 5:55 ` Shawn Guo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.