* [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
@ 2014-01-08 19:56 John Tobias
2014-01-08 20:00 ` Fabio Estevam
2014-01-08 20:03 ` Alexander Shiyan
0 siblings, 2 replies; 7+ messages in thread
From: John Tobias @ 2014-01-08 19:56 UTC (permalink / raw)
To: kernel, linux, linux-arm-kernel, linux-kernel; +Cc: shawn.guo, John Tobias
Moved ARCH_HAS_CPUFREQ, HAVE_IMX_ANATOP and PM_OPP on ARCH_MXC so that
the user can enable the cpufreq support for iMX6Q and/or iMX6SL.
Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
---
arch/arm/mach-imx/Kconfig | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 7a6e6f7..3c326be 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,5 +1,6 @@
config ARCH_MXC
bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
+ select ARCH_HAS_CPUFREQ
select ARCH_REQUIRE_GPIOLIB
select ARM_CPU_SUSPEND if PM
select ARM_PATCH_PHYS_VIRT
@@ -9,8 +10,10 @@ config ARCH_MXC
select GENERIC_ALLOCATOR
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP
+ select HAVE_IMX_ANATOP
select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7
select MULTI_IRQ_HANDLER
+ select PM_OPP if PM
select SOC_BUS
select SPARSE_IRQ
select USE_OF
@@ -779,16 +782,14 @@ config SOC_IMX53
config SOC_IMX6Q
bool "i.MX6 Quad/DualLite support"
- select ARCH_HAS_CPUFREQ
- select ARCH_HAS_OPP
+ select ARCH_HAS_OPP
select ARM_ERRATA_754322
select ARM_ERRATA_764369 if SMP
select ARM_ERRATA_775420
select ARM_GIC
select CPU_V7
select HAVE_ARM_SCU if SMP
- select HAVE_ARM_TWD if SMP
- select HAVE_IMX_ANATOP
+ select HAVE_ARM_TWD if SMP
select HAVE_IMX_GPC
select HAVE_IMX_MMDC
select HAVE_IMX_SRC
@@ -800,8 +801,7 @@ config SOC_IMX6Q
select PINCTRL_IMX6Q
select PL310_ERRATA_588369 if CACHE_PL310
select PL310_ERRATA_727915 if CACHE_PL310
- select PL310_ERRATA_769419 if CACHE_PL310
- select PM_OPP if PM
+ select PL310_ERRATA_769419 if CACHE_PL310
help
This enables support for Freescale i.MX6 Quad processor.
@@ -812,7 +812,6 @@ config SOC_IMX6SL
select ARM_ERRATA_775420
select ARM_GIC
select CPU_V7
- select HAVE_IMX_ANATOP
select HAVE_IMX_GPC
select HAVE_IMX_MMDC
select HAVE_IMX_SRC
--
1.8.3.2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 19:56 [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support John Tobias
@ 2014-01-08 20:00 ` Fabio Estevam
2014-01-08 20:03 ` Alexander Shiyan
1 sibling, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2014-01-08 20:00 UTC (permalink / raw)
To: John Tobias
Cc: Sascha Hauer, Russell King, linux-arm-kernel, linux-kernel, Shawn Guo
Hi John,
On Wed, Jan 8, 2014 at 5:56 PM, John Tobias <john.tobias.ph@gmail.com> wrote:
> Moved ARCH_HAS_CPUFREQ, HAVE_IMX_ANATOP and PM_OPP on ARCH_MXC so that
> the user can enable the cpufreq support for iMX6Q and/or iMX6SL.
>
> Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
> ---
> arch/arm/mach-imx/Kconfig | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 7a6e6f7..3c326be 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -1,5 +1,6 @@
> config ARCH_MXC
> bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
> + select ARCH_HAS_CPUFREQ
> select ARCH_REQUIRE_GPIOLIB
> select ARM_CPU_SUSPEND if PM
> select ARM_PATCH_PHYS_VIRT
> @@ -9,8 +10,10 @@ config ARCH_MXC
> select GENERIC_ALLOCATOR
> select GENERIC_CLOCKEVENTS
> select GENERIC_IRQ_CHIP
> + select HAVE_IMX_ANATOP
This option is for mx6 only, so better not put it inside ARCH_MXC.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 19:56 [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support John Tobias
2014-01-08 20:00 ` Fabio Estevam
@ 2014-01-08 20:03 ` Alexander Shiyan
2014-01-08 20:24 ` John Tobias
2014-01-08 20:33 ` Fabio Estevam
1 sibling, 2 replies; 7+ messages in thread
From: Alexander Shiyan @ 2014-01-08 20:03 UTC (permalink / raw)
To: John Tobias; +Cc: kernel, linux, linux-arm-kernel, linux-kernel, shawn.guo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1184 bytes --]
Hello.
СÑеда, 8 ÑнваÑÑ 2014, 11:56 -08:00 Ð¾Ñ John Tobias <john.tobias.ph@gmail.com>:
> Moved ARCH_HAS_CPUFREQ, HAVE_IMX_ANATOP and PM_OPP on ARCH_MXC so that
> the user can enable the cpufreq support for iMX6Q and/or iMX6SL.
>
> Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
> ---
> arch/arm/mach-imx/Kconfig | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 7a6e6f7..3c326be 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -1,5 +1,6 @@
> config ARCH_MXC
> bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
> + select ARCH_HAS_CPUFREQ
> select ARCH_REQUIRE_GPIOLIB
> select ARM_CPU_SUSPEND if PM
> select ARM_PATCH_PHYS_VIRT
> @@ -9,8 +10,10 @@ config ARCH_MXC
> select GENERIC_ALLOCATOR
> select GENERIC_CLOCKEVENTS
> select GENERIC_IRQ_CHIP
> + select HAVE_IMX_ANATOP
Maybe better:
select HAVE_IMX_ANATOP if ARCH_MULTI_V6_V7
---
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 20:03 ` Alexander Shiyan
@ 2014-01-08 20:24 ` John Tobias
2014-01-08 20:33 ` Fabio Estevam
1 sibling, 0 replies; 7+ messages in thread
From: John Tobias @ 2014-01-08 20:24 UTC (permalink / raw)
To: Alexander Shiyan
Cc: <kernel@pengutronix.de>, <linux@arm.linux.org.uk>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Shawn Guo
thanks for the info. Will fix it.
On Wed, Jan 8, 2014 at 12:03 PM, Alexander Shiyan <shc_work@mail.ru> wrote:
> Hello.
>
> Среда, 8 января 2014, 11:56 -08:00 от John Tobias <john.tobias.ph@gmail.com>:
>> Moved ARCH_HAS_CPUFREQ, HAVE_IMX_ANATOP and PM_OPP on ARCH_MXC so that
>> the user can enable the cpufreq support for iMX6Q and/or iMX6SL.
>>
>> Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
>> ---
>> arch/arm/mach-imx/Kconfig | 13 ++++++-------
>> 1 file changed, 6 insertions(+), 7 deletions(-)
>>
>> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
>> index 7a6e6f7..3c326be 100644
>> --- a/arch/arm/mach-imx/Kconfig
>> +++ b/arch/arm/mach-imx/Kconfig
>> @@ -1,5 +1,6 @@
>> config ARCH_MXC
>> bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
>> + select ARCH_HAS_CPUFREQ
>> select ARCH_REQUIRE_GPIOLIB
>> select ARM_CPU_SUSPEND if PM
>> select ARM_PATCH_PHYS_VIRT
>> @@ -9,8 +10,10 @@ config ARCH_MXC
>> select GENERIC_ALLOCATOR
>> select GENERIC_CLOCKEVENTS
>> select GENERIC_IRQ_CHIP
>> + select HAVE_IMX_ANATOP
>
> Maybe better:
> select HAVE_IMX_ANATOP if ARCH_MULTI_V6_V7
>
> ---
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 20:03 ` Alexander Shiyan
2014-01-08 20:24 ` John Tobias
@ 2014-01-08 20:33 ` Fabio Estevam
2014-01-08 20:45 ` John Tobias
1 sibling, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2014-01-08 20:33 UTC (permalink / raw)
To: Alexander Shiyan
Cc: John Tobias, Shawn Guo, Russell King, linux-arm-kernel,
Sascha Hauer, linux-kernel
On Wed, Jan 8, 2014 at 6:03 PM, Alexander Shiyan <shc_work@mail.ru> wrote:
> Maybe better:
> select HAVE_IMX_ANATOP if ARCH_MULTI_V6_V7
mx31, mx35, mx51 and mx53 do not have this ANATOP block.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 20:33 ` Fabio Estevam
@ 2014-01-08 20:45 ` John Tobias
2014-01-08 20:55 ` John Tobias
0 siblings, 1 reply; 7+ messages in thread
From: John Tobias @ 2014-01-08 20:45 UTC (permalink / raw)
To: Fabio Estevam
Cc: Alexander Shiyan, Shawn Guo, Russell King, linux-arm-kernel,
Sascha Hauer, linux-kernel
Hi Fabio,
How about select HAVE_IMX_ANATOP if SOC_IMX6Q || SOC_IMX6SL
Regards,
john
On Wed, Jan 8, 2014 at 12:33 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Wed, Jan 8, 2014 at 6:03 PM, Alexander Shiyan <shc_work@mail.ru> wrote:
>
>> Maybe better:
>> select HAVE_IMX_ANATOP if ARCH_MULTI_V6_V7
>
> mx31, mx35, mx51 and mx53 do not have this ANATOP block.
>
> Regards,
>
> Fabio Estevam
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support
2014-01-08 20:45 ` John Tobias
@ 2014-01-08 20:55 ` John Tobias
0 siblings, 0 replies; 7+ messages in thread
From: John Tobias @ 2014-01-08 20:55 UTC (permalink / raw)
To: Fabio Estevam
Cc: Alexander Shiyan, Shawn Guo, Russell King, linux-arm-kernel,
Sascha Hauer, linux-kernel
I recompiled the kernel using the said config and it works. But, if
you have any other suggestion it would be great.
Regards,
john
On Wed, Jan 8, 2014 at 12:45 PM, John Tobias <john.tobias.ph@gmail.com> wrote:
> Hi Fabio,
>
> How about select HAVE_IMX_ANATOP if SOC_IMX6Q || SOC_IMX6SL
>
> Regards,
>
> john
>
> On Wed, Jan 8, 2014 at 12:33 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> On Wed, Jan 8, 2014 at 6:03 PM, Alexander Shiyan <shc_work@mail.ru> wrote:
>>
>>> Maybe better:
>>> select HAVE_IMX_ANATOP if ARCH_MULTI_V6_V7
>>
>> mx31, mx35, mx51 and mx53 do not have this ANATOP block.
>>
>> Regards,
>>
>> Fabio Estevam
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-01-08 20:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 19:56 [PATCH v3] ARM: imx: add select on ARCH_MXC for cpufreq support John Tobias
2014-01-08 20:00 ` Fabio Estevam
2014-01-08 20:03 ` Alexander Shiyan
2014-01-08 20:24 ` John Tobias
2014-01-08 20:33 ` Fabio Estevam
2014-01-08 20:45 ` John Tobias
2014-01-08 20:55 ` John Tobias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®