DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v8a: kernel: enable drivers for i.MX8M
@ 2023-09-06  8:36 Ahmad Fatoum
  2023-10-18  9:08 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-09-06  8:36 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, mkl

Newer kernel versions introduced a number of i.MX8M-specific drivers,
so let's enable them:

CONFIG_REGULATOR_PCA9450
	Regulator used on newer i.MX8M EVKs

CONFIG_ARM_IMX8M_DDRC_DEVFREQ
CONFIG_DEVFREQ_GOV_USERSPACE
	DDR frequency scaling driver + sysfs interface for control

CONFIG_ARM_IMX_BUS_DEVFREQ
CONFIG_INTERCONNECT
CONFIG_INTERCONNECT_IMX
CONFIG_INTERCONNECT_IMX8MM
CONFIG_INTERCONNECT_IMX8MN
CONFIG_INTERCONNECT_IMX8MQ
CONFIG_INTERCONNECT_IMX8MP
	Interconnect drivers for i.MX8M SoCs

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/kernelconfig | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig
index 4ceb82ef4be0..00befdab0640 100644
--- a/configs/platform-v8a/kernelconfig
+++ b/configs/platform-v8a/kernelconfig
@@ -3764,7 +3764,7 @@ CONFIG_REGULATOR_MAX8973=y
 # CONFIG_REGULATOR_MP886X is not set
 # CONFIG_REGULATOR_MPQ7920 is not set
 # CONFIG_REGULATOR_MT6311 is not set
-# CONFIG_REGULATOR_PCA9450 is not set
+CONFIG_REGULATOR_PCA9450=y
 # CONFIG_REGULATOR_PF8X00 is not set
 CONFIG_REGULATOR_PFUZE100=y
 # CONFIG_REGULATOR_PV88060 is not set
@@ -4849,14 +4849,14 @@ CONFIG_PM_DEVFREQ=y
 CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
 # CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
 # CONFIG_DEVFREQ_GOV_POWERSAVE is not set
-# CONFIG_DEVFREQ_GOV_USERSPACE is not set
+CONFIG_DEVFREQ_GOV_USERSPACE=y
 # CONFIG_DEVFREQ_GOV_PASSIVE is not set
 
 #
 # DEVFREQ Drivers
 #
-# CONFIG_ARM_IMX_BUS_DEVFREQ is not set
-# CONFIG_ARM_IMX8M_DDRC_DEVFREQ is not set
+CONFIG_ARM_IMX_BUS_DEVFREQ=y
+CONFIG_ARM_IMX8M_DDRC_DEVFREQ=y
 # CONFIG_ARM_RK3399_DMC_DEVFREQ is not set
 CONFIG_PM_DEVFREQ_EVENT=y
 CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI=m
@@ -5594,7 +5594,12 @@ CONFIG_MUX_MMIO=y
 CONFIG_PM_OPP=y
 # CONFIG_SIOX is not set
 # CONFIG_SLIMBUS is not set
-# CONFIG_INTERCONNECT is not set
+CONFIG_INTERCONNECT=y
+CONFIG_INTERCONNECT_IMX=y
+CONFIG_INTERCONNECT_IMX8MM=y
+CONFIG_INTERCONNECT_IMX8MN=y
+CONFIG_INTERCONNECT_IMX8MQ=y
+CONFIG_INTERCONNECT_IMX8MP=y
 # CONFIG_COUNTER is not set
 # CONFIG_MOST is not set
 # CONFIG_PECI is not set
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [DistroKit] [PATCH] v8a: kernel: enable drivers for i.MX8M
  2023-09-06  8:36 [DistroKit] [PATCH] v8a: kernel: enable drivers for i.MX8M Ahmad Fatoum
@ 2023-10-18  9:08 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2023-10-18  9:08 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit, mkl

Applied to next.

On Wed, Sep 06, 2023 at 10:36:25AM +0200, Ahmad Fatoum wrote:
> Newer kernel versions introduced a number of i.MX8M-specific drivers,
> so let's enable them:
> 
> CONFIG_REGULATOR_PCA9450
> 	Regulator used on newer i.MX8M EVKs
> 
> CONFIG_ARM_IMX8M_DDRC_DEVFREQ
> CONFIG_DEVFREQ_GOV_USERSPACE
> 	DDR frequency scaling driver + sysfs interface for control
> 
> CONFIG_ARM_IMX_BUS_DEVFREQ
> CONFIG_INTERCONNECT
> CONFIG_INTERCONNECT_IMX
> CONFIG_INTERCONNECT_IMX8MM
> CONFIG_INTERCONNECT_IMX8MN
> CONFIG_INTERCONNECT_IMX8MQ
> CONFIG_INTERCONNECT_IMX8MP
> 	Interconnect drivers for i.MX8M SoCs
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  configs/platform-v8a/kernelconfig | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig
> index 4ceb82ef4be0..00befdab0640 100644
> --- a/configs/platform-v8a/kernelconfig
> +++ b/configs/platform-v8a/kernelconfig
> @@ -3764,7 +3764,7 @@ CONFIG_REGULATOR_MAX8973=y
>  # CONFIG_REGULATOR_MP886X is not set
>  # CONFIG_REGULATOR_MPQ7920 is not set
>  # CONFIG_REGULATOR_MT6311 is not set
> -# CONFIG_REGULATOR_PCA9450 is not set
> +CONFIG_REGULATOR_PCA9450=y
>  # CONFIG_REGULATOR_PF8X00 is not set
>  CONFIG_REGULATOR_PFUZE100=y
>  # CONFIG_REGULATOR_PV88060 is not set
> @@ -4849,14 +4849,14 @@ CONFIG_PM_DEVFREQ=y
>  CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
>  # CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
>  # CONFIG_DEVFREQ_GOV_POWERSAVE is not set
> -# CONFIG_DEVFREQ_GOV_USERSPACE is not set
> +CONFIG_DEVFREQ_GOV_USERSPACE=y
>  # CONFIG_DEVFREQ_GOV_PASSIVE is not set
>  
>  #
>  # DEVFREQ Drivers
>  #
> -# CONFIG_ARM_IMX_BUS_DEVFREQ is not set
> -# CONFIG_ARM_IMX8M_DDRC_DEVFREQ is not set
> +CONFIG_ARM_IMX_BUS_DEVFREQ=y
> +CONFIG_ARM_IMX8M_DDRC_DEVFREQ=y
>  # CONFIG_ARM_RK3399_DMC_DEVFREQ is not set
>  CONFIG_PM_DEVFREQ_EVENT=y
>  CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI=m
> @@ -5594,7 +5594,12 @@ CONFIG_MUX_MMIO=y
>  CONFIG_PM_OPP=y
>  # CONFIG_SIOX is not set
>  # CONFIG_SLIMBUS is not set
> -# CONFIG_INTERCONNECT is not set
> +CONFIG_INTERCONNECT=y
> +CONFIG_INTERCONNECT_IMX=y
> +CONFIG_INTERCONNECT_IMX8MM=y
> +CONFIG_INTERCONNECT_IMX8MN=y
> +CONFIG_INTERCONNECT_IMX8MQ=y
> +CONFIG_INTERCONNECT_IMX8MP=y
>  # CONFIG_COUNTER is not set
>  # CONFIG_MOST is not set
>  # CONFIG_PECI is not set
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-18  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06  8:36 [DistroKit] [PATCH] v8a: kernel: enable drivers for i.MX8M Ahmad Fatoum
2023-10-18  9:08 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox