Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Jaedon Shin <jaedon.shin@gmail.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Jaedon Shin <jaedon.shin@gmail.com>,
	Al Cooper <alcooperx@gmail.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	linux-mmc <linux-mmc@vger.kernel.org>,
	bcm-kernel-feedback-list@broadcom.com
Subject: Re: [v2] mmc: sdhci-brcmstb: Remove incorrect capability
Date: Mon, 29 Aug 2016 21:01:47 +0900	[thread overview]
Message-ID: <FBE78AC0-851A-45D4-AD4D-97BF045F5028@gmail.com> (raw)
In-Reply-To: <CAPDyKFp=rX8J0K=6pQFv3Wm=UfUVCX5cPyJPqHKeYm3075OLSQ@mail.gmail.com>

Hi Ulf,

2016. 8. 29., 오후 8:13, Ulf Hansson <ulf.hansson@linaro.org> 작성:
> 
> On 29 August 2016 at 11:17, Jaedon Shin <jaedon.shin@gmail.com> wrote:
>> Removes incorrect 64-bit ADMA capability on Broadcom MIPS based SoCs.
>> The MIPS based BRCMSTB SDHCI host controllers are using ADMA only, but
>> the several chipsets have a incorrect capability about ADMA 64-bit.
>> 
>> Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
>> ---
>> drivers/mmc/host/sdhci-brcmstb.c | 2 ++
>> 1 file changed, 2 insertions(+)
>> 
>> diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c
>> index cce10fe3e19e..683bfc2af512 100644
>> --- a/drivers/mmc/host/sdhci-brcmstb.c
>> +++ b/drivers/mmc/host/sdhci-brcmstb.c
>> @@ -98,6 +98,8 @@ static int sdhci_brcmstb_probe(struct platform_device *pdev)
>>         * properties through mmc_of_parse().
>>         */
>>        host->caps = sdhci_readl(host, SDHCI_CAPABILITIES);
>> +       if (IS_ENABLED(CONFIG_MIPS))
> 
> I thought we agreed on using a specific DT compatible string to
> distinguish what to do here was better? No?

My mistake. please drop this patch.

The v3 patch should have new compatible string “brcm,bcm7445-sdhci”. The BCM7445 is
initial and typical 28nm generation ARM SoC. I’ll be send updated patch next day.

Thanks,
Jaedon

> 
>> +               host->caps &= ~SDHCI_CAN_64BIT;
>>        host->caps1 = sdhci_readl(host, SDHCI_CAPABILITIES_1);
>>        host->caps1 &= ~(SDHCI_SUPPORT_SDR50 | SDHCI_SUPPORT_SDR104 |
>>                        SDHCI_SUPPORT_DDR50);
>> --
>> 2.9.3
>> 
> 
> Kind regards
> Uffe


      reply	other threads:[~2016-08-29 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-29  9:17 [v2] mmc: sdhci-brcmstb: Remove incorrect capability Jaedon Shin
2016-08-29 11:13 ` Ulf Hansson
2016-08-29 12:01   ` Jaedon Shin [this message]

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=FBE78AC0-851A-45D4-AD4D-97BF045F5028@gmail.com \
    --to=jaedon.shin@gmail.com \
    --cc=adrian.hunter@intel.com \
    --cc=alcooperx@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.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