public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH RFC] ARM: clps711x: Partial multiplatform support
Date: Sat, 31 May 2014 22:25:34 +0400	[thread overview]
Message-ID: <1401560734.542126618@f117.i.mail.ru> (raw)
In-Reply-To: <13452733.Lg1kBhJLHP@wuerfel>

Sat, 31 May 2014 20:12:21 +0200 ?? Arnd Bergmann <arnd@arndb.de>:
> On Saturday 31 May 2014 22:00:06 Alexander Shiyan wrote:
> > This patch provide initial partial multiplatform support for CLPS711X CPUs.
> > Not intended for apply, just for comments at now.
> 
> It's great to see you are this close now!
>  
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 899afa4..aced2fb 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -385,15 +385,9 @@ config ARCH_AT91
> >  	  This enables support for systems based on Atmel
> >  	  AT91RM9200 and AT91SAM9* processors.
> >  
> > -config ARCH_CLPS711X
> > +config CLPS711X_SINGLE
> >  	bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
> > -	select ARCH_REQUIRE_GPIOLIB
> > -	select AUTO_ZRELADDR
> > -	select CLKSRC_MMIO
> > -	select COMMON_CLK
> > -	select CPU_ARM720T
> > -	select GENERIC_CLOCKEVENTS
> > -	select MFD_SYSCON
> > +	select ARCH_CLPS711X
> >  	help
> >  	  Support for Cirrus Logic 711x/721x/731x based boards.
> >  
> > diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig
> > index f711498..1802562 100644
> > --- a/arch/arm/mach-clps711x/Kconfig
> > +++ b/arch/arm/mach-clps711x/Kconfig
> > @@ -1,15 +1,34 @@
> > +config ARCH_CLPS711X
> > +	bool
> > +	depends on CLPS711X_SINGLE || CLPS711X_MULTI
> > +	select ARCH_REQUIRE_GPIOLIB
> > +	select AUTO_ZRELADDR
> > +	select CLKSRC_MMIO
> > +	select COMMON_CLK
> > +	select CPU_ARM720T
> > +	select GENERIC_CLOCKEVENTS
> > +	select MFD_SYSCON
> > +
> > +config CLPS711X_MULTI
> > +	bool "Cirrus Logic CLPS711X" if ARCH_MULTI_V4T
> > +	select ARCH_CLPS711X
> > +	help
> > +	  Support for Cirrus Logic CLPS711X-based family of processors.
> 
> The split between single and multi is just intended to be temporary,
> while the framebuffer driver is being sorted out, right?

Yes. This is a general thing why this patch provides "partial" support.

> In general, I'd be happier skipping that stage and going to multiplatform
> for all of clps711x when it's ready, but we can also do it like this
> if  there is a good reason and you have a clear schedule for when to
> remove the _SINGLE part.
> 
> One technicality: this change breaks all defconfig files and user
> .configs. You can avoid that if you keep the name ARCH_CLPS711X for
> either the single- or the multiplatform case and name the common
> option ARCH_CLPS711X_COMMON.

Yes, this is a problem. I thought about the best way to solve the problem
of "flip-flop" Kconfig options, but did not come to a good decision.
I'll have to think about this problem. I will look at your solution to the problem.

---

  reply	other threads:[~2014-05-31 18:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-31 18:00 [PATCH RFC] ARM: clps711x: Partial multiplatform support Alexander Shiyan
2014-05-31 18:12 ` Arnd Bergmann
2014-05-31 18:25   ` Alexander Shiyan [this message]
2014-05-31 19:53   ` Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1401560734.542126618@f117.i.mail.ru \
    --to=shc_work@mail.ru \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox