[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM0PR04MB4211F4CAC02A1ECA6939960380BA0@AM0PR04MB4211.eurprd04.prod.outlook.com>
Date: Sun, 23 Dec 2018 09:14:36 +0000
From: Aisheng Dong <aisheng.dong@....com>
To: Abel Vesa <abel.vesa@....com>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>
CC: dl-linux-imx <linux-imx@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] soc: imx: Break dependency on SOC_IMX8MQ for GPCv2
> -----Original Message-----
> From: Abel Vesa
> Sent: Sunday, December 23, 2018 3:00 PM
> To: Shawn Guo <shawnguo@...nel.org>; Sascha Hauer
> <kernel@...gutronix.de>; Fabio Estevam <fabio.estevam@....com>
> Cc: dl-linux-imx <linux-imx@....com>; linux-arm-kernel@...ts.infradead.org;
> Linux Kernel Mailing List <linux-kernel@...r.kernel.org>; Abel Vesa
> <abel.vesa@....com>
> Subject: [PATCH] soc: imx: Break dependency on SOC_IMX8MQ for GPCv2
>
> Since this is going to be used on more SoCs than just i.MX8MQ, make the
> dependency here more generic.
>
> Signed-off-by: Abel Vesa <abel.vesa@....com>
> ---
> drivers/soc/imx/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index
> 2112d18..7ffbb6b 100644
> --- a/drivers/soc/imx/Kconfig
> +++ b/drivers/soc/imx/Kconfig
> @@ -2,7 +2,7 @@ menu "i.MX SoC drivers"
>
> config IMX_GPCV2_PM_DOMAINS
> bool "i.MX GPCv2 PM domains"
> - depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF)
> + depends on SOC_IMX7D || ARCH_MXC || (COMPILE_TEST && OF)
Nitpick:
ARCH_MXC already contains SOC_IMX7D, so simply depends on
ARCH_MXC || (COMPILE_TEST && OF) should be enough.
Otherwise:
Reviewed-by: Dong Aisheng <aisheng.dong@....com>
Regards
Dong Aisheng
> depends on PM
> select PM_GENERIC_DOMAINS
> default y if SOC_IMX7D
> --
> 2.7.4
Powered by blists - more mailing lists