diff mbox series

arm: imx8m: Enable CLK_IMX8M[MNQP] where applicable

Message ID 20220417221647.2390750-1-aford173@gmail.com
State Superseded
Delegated to: Stefano Babic
Headers show
Series arm: imx8m: Enable CLK_IMX8M[MNQP] where applicable | expand

Commit Message

Adam Ford April 17, 2022, 10:16 p.m. UTC
Most, if not all of the imx8m[mnp] boards enable the SoC clock
driver.  The CLK_IMX8MQ isn't necessarily required yet, but as
the new power domain driver will assume it is present.  To simply
this, enable the respective clock drivers when a given imx8m SoC
is selected.  This will also shink the board defconfig files a bit.

Suggested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Fabio Estevam April 18, 2022, 3:09 a.m. UTC | #1
Hi Adam,

On Sun, Apr 17, 2022 at 7:16 PM Adam Ford <aford173@gmail.com> wrote:
>
> Most, if not all of the imx8m[mnp] boards enable the SoC clock
> driver.  The CLK_IMX8MQ isn't necessarily required yet, but as
> the new power domain driver will assume it is present.  To simply
> this, enable the respective clock drivers when a given imx8m SoC
> is selected.  This will also shink the board defconfig files a bit.

s/shink/shrink

> Suggested-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Fabio Estevam <festevam@denx.de>
Marek Vasut April 18, 2022, 9:33 a.m. UTC | #2
On 4/18/22 00:16, Adam Ford wrote:
> Most, if not all of the imx8m[mnp] boards enable the SoC clock
> driver.  The CLK_IMX8MQ isn't necessarily required yet, but as
> the new power domain driver will assume it is present.  To simply
> this, enable the respective clock drivers when a given imx8m SoC
> is selected.  This will also shink the board defconfig files a bit.
> 
> Suggested-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Marek Vasut <marex@denx.de>
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 55db25062a..4b0d126a71 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -8,18 +8,22 @@  config IMX8M
 config IMX8MQ
 	bool
 	select IMX8M
+	select CLK_IMX8MQ
 
 config IMX8MM
 	bool
 	select IMX8M
+	select CLK_IMX8MM
 
 config IMX8MN
 	bool
 	select IMX8M
+	select CLK_IMX8MN
 
 config IMX8MP
 	bool
 	select IMX8M
+	select CLK_IMX8MP
 
 config SYS_SOC
 	default "imx8m"