All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Rakity <prakity@marvell.com>
To: Chris Ball <cjb@laptop.org>
Cc: "Mark F. Brown" <mark.brown314@gmail.com>,
	"zhangfei.gao@gmail.com" <zhangfei.gao@gmail.com>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	Mark Brown <markb@marvell.com>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Eric Miao <eric.y.miao@gmail.com>
Subject: Re: [PATCH] sdhci: sdhci-pxa only supports mmp2 at this time. Change Kconfig
Date: Mon, 22 Nov 2010 19:15:05 -0800	[thread overview]
Message-ID: <CA1E5969-5B37-4B0B-8730-F938DE76B278@marvell.com> (raw)
In-Reply-To: <20101123025548.GA29770@void.printf.net>

>From dd7fc6c87544f7bb4437f226f50ed1571f8e6a79 Mon Sep 17 00:00:00 2001
From: philip <philip@philip-laptop.(none)>
Date: Fri, 19 Nov 2010 11:02:15 -0800
Subject: [PATCH] [PATCH} - revised sdhci: sdhci-pxa only supports mmp2 at this time - enforce this

sdhci-pxa.c does not handle pxa168 and pxa9xx at this time.
The code does not take into account differences in the private registers
nor other nuances.  Restrict support to mmp2 until these issues are
resolved.

This patch is a revision of the previous patch - it uses CPU_MMP2
instead or the MACH_FLINT / MACH_  config variables

Signed-off-by: Mark Brown <markb@marvell.com>
Signed-off-by: Philip Rakity <prakity@marvell.com>
---
 drivers/mmc/host/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 6466189..e5387fe 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -168,12 +168,12 @@ config MMC_SDHCI_S3C
 
 config MMC_SDHCI_PXA
 	tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
-	depends on ARCH_PXA || ARCH_MMP
+	depends on (ARCH_PXA || ARCH_MMP) && CPU_MMP2
 	select MMC_SDHCI
 	select MMC_SDHCI_IO_ACCESSORS
 	help
-	  This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
-	  If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
+	  This selects the Marvell(R) MMP2 SD Host Controller.
+	  If you have a MMP2 platform with SD Host Controller
 	  and a card slot, say Y or M here.
 
 	  If unsure, say N.
-- 
1.6.0.4


On Nov 22, 2010, at 6:55 PM, Chris Ball wrote:

> Hi,
> 
> On Mon, Nov 22, 2010 at 09:46:14PM -0500, Mark F. Brown wrote:
>>>  config MMC_SDHCI_PXA
>>>        tristate "Marvell PXA168/PXA910/MMP2 SD Host Controller support"
>>> -       depends on ARCH_PXA || ARCH_MMP
>>> +       depends on (ARCH_PXA || ARCH_MMP) && (MACH_MARVELL_JASPER || MACH_FLINT)
>>>        select MMC_SDHCI
>>>        select MMC_SDHCI_IO_ACCESSORS
>>>        help
>>> -         This selects the Marvell(R) PXA168/PXA910/MMP2 SD Host Controller.
>>> -         If you have a PXA168/PXA910/MMP2 platform with SD Host Controller
>>> +         This selects the Marvell(R) MMP2 SD Host Controller.
>>> +         If you have a MMP2 platform with SD Host Controller
>>>          and a card slot, say Y or M here.
>> 
>> Currently the driver sdhci-pxa only supports the 88AP610 (MMP2)
>> platform only. Until the sdhci-pxa code fixed or forked to support
>> pxa168 and pxa910 we need to Philip's patch. Any feedback on this
>> would be good thanks.
> 
> I don't mind changing the Kconfig text, but tying an SoC-level host
> controller to dependencies on specific machines seems pretty wrong.
> We should ask Haojian and Eric what they think.  I think Philip
> suggested using CPU_MMP2 at one point -- how about that?
> 
> -- 
> Chris Ball   <cjb@laptop.org>   <http://printf.net/>
> One Laptop Per Child
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2010-11-23  3:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  2:56 [PATCH] sdhci: sdhci-pxa only supports mmp2 at this time. Change Kconfig Philip Rakity
2010-11-23  2:46 ` Mark F. Brown
2010-11-23  2:55   ` Chris Ball
2010-11-23  3:15     ` Philip Rakity [this message]
2010-11-23  3:16     ` zhangfei gao
2010-11-23  3:22       ` Philip Rakity
2010-11-23  4:38         ` Mark F. Brown
2010-11-23  4:59         ` Haojian Zhuang
2010-11-23  5:16           ` Philip Rakity

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=CA1E5969-5B37-4B0B-8730-F938DE76B278@marvell.com \
    --to=prakity@marvell.com \
    --cc=cjb@laptop.org \
    --cc=eric.y.miao@gmail.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mark.brown314@gmail.com \
    --cc=markb@marvell.com \
    --cc=zhangfei.gao@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.