Patchwork [1/1] arm: imx: Kconfig: select syscon for mx25

login
register
mail settings
Submitter Peter Chen
Date Aug. 8, 2013, 7:43 a.m.
Message ID <1375947809-11694-1-git-send-email-peter.chen@freescale.com>
Download mbox | patch
Permalink /patch/265684/
State New
Headers show

Comments

Peter Chen - Aug. 8, 2013, 7:43 a.m.
We need to use syscon to map one register region for several
devices, eg, usb non-core register for all usb devices.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
---
 arch/arm/mach-imx/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Peter Chen - Aug. 12, 2013, 3:22 a.m.
On Mon, Aug 12, 2013 at 01:01:28PM +0800, Shawn Guo wrote:
> I prefer to use uppercase for "ARM:" in subject.
> 
> On Thu, Aug 08, 2013 at 03:43:29PM +0800, Peter Chen wrote:
> > We need to use syscon to map one register region for several
> > devices, eg, usb non-core register for all usb devices.
> 
> So we're changing usb non-core controller to be a syscon?
> 

Please forget this patch.

Sascha suggested another patch avoiding using syscon, and changing
binding.
Shawn Guo - Aug. 12, 2013, 5:01 a.m.
I prefer to use uppercase for "ARM:" in subject.

On Thu, Aug 08, 2013 at 03:43:29PM +0800, Peter Chen wrote:
> We need to use syscon to map one register region for several
> devices, eg, usb non-core register for all usb devices.

So we're changing usb non-core controller to be a syscon?

> 
> Signed-off-by: Peter Chen <peter.chen@freescale.com>
> ---
>  arch/arm/mach-imx/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index f546560..5bb21fe 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -109,6 +109,7 @@ config SOC_IMX25
>  	select COMMON_CLK
>  	select CPU_ARM926T
>  	select MXC_AVIC
> +	select MFD_SYSCON

Please sort it alphabetically.

Shawn

>  
>  config SOC_IMX27
>  	bool
> -- 
> 1.7.1
> 
>

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f546560..5bb21fe 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -109,6 +109,7 @@  config SOC_IMX25
 	select COMMON_CLK
 	select CPU_ARM926T
 	select MXC_AVIC
+	select MFD_SYSCON
 
 config SOC_IMX27
 	bool