All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
To: linux-mmc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, kliu5@marvell.com,
	ulf.hansson@linaro.org
Subject: Re: [PATCH 0/5] mmc: sdhci-pxav3: Enable support for PXA1928 SDCHI controller
Date: Mon, 7 Sep 2015 16:06:05 +0530	[thread overview]
Message-ID: <55ED6895.7000404@linaro.org> (raw)
In-Reply-To: <1441380741-13115-1-git-send-email-vaibhav.hiremath@linaro.org>



On Friday 04 September 2015 09:02 PM, Vaibhav Hiremath wrote:
> PXA1928 SDHCI controller has few differences, for example,
>
>                             PXAxxx                    PXA1928
>                             ======                    =======
>     SDCLK_DELAY field       0x10A                     0x114
>     SDCLK_DELAY mask        0x1F                      0x3FF
>     SDCLK_DELAY shift        9                          8
>     SDCLK_SEL shift          8                          2 (SEL1)
>
> So this patch series introduces new compatible device_id
> (marvell,pxav3-1928-sdhci), and makes use of .data for handling
> such differences.
>
> The series also adds support like,
>
>   - independent ->set_clock() api, as we need to enable internal clock gate
>      and TX clock
>   - pinctrl configuration based on bus speed.
>   - introduce new quirk SDHCI_QUIRK2_MUST_SET_SDHCI_BUS_POWER
>     SD_BUS_POWER & SD_BUS_VLT bit-fields are used internally to gate the
>     clocks, so it is important to configure them as part of ->set_power()
>     More detailed description is written into commit log.
>   - Enable SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for PXA1928 device_id
>

Please ignore this series, as one residual change (rather typo error).
Mistakenly while checking in the code, instead of 1928 compatible
property it was 988.

I will submit the new series shortly.

Thanks,
Vaibhav


>
> Testing:
> I have done basic testing on both eMMC and SD card on PXA1928 based
> platform.
>
> Note: I tried to made sure that I do not break any other platform, which
> used sdhci, except HS200 configuration.
> Unfortunately I do not have access to any other datasheets, where I can
> cross check the details on HS200 bit-fields. Probably someone who has
> access can confirm [PATCH 4/5], whether it impacts other platforms.
>
> Kevin Liu (1):
>    mmc: sdhci-pxav3: Fix HS200 mode support
>
> Vaibhav Hiremath (4):
>    mmc: sdhci-pxav3: Enable pxa1928 device support
>    mmc: sdhci-pxav3: Add platform specific set_clock ops
>    mmc: sdhci-pxav3: Add pinctl setting according to bus clock
>    mmc: sdhci: add new quirk for setting BUS_POWER & BUS_VLT fields
>
>   drivers/mmc/host/sdhci-pltfm.c |   3 +
>   drivers/mmc/host/sdhci-pxav3.c | 168 ++++++++++++++++++++++++++++++++++++++---
>   drivers/mmc/host/sdhci.c       |   3 +-
>   drivers/mmc/host/sdhci.h       |   2 +
>   4 files changed, 163 insertions(+), 13 deletions(-)
>

WARNING: multiple messages have this Message-ID (diff)
From: vaibhav.hiremath@linaro.org (Vaibhav Hiremath)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/5] mmc: sdhci-pxav3: Enable support for PXA1928 SDCHI controller
Date: Mon, 7 Sep 2015 16:06:05 +0530	[thread overview]
Message-ID: <55ED6895.7000404@linaro.org> (raw)
In-Reply-To: <1441380741-13115-1-git-send-email-vaibhav.hiremath@linaro.org>



On Friday 04 September 2015 09:02 PM, Vaibhav Hiremath wrote:
> PXA1928 SDHCI controller has few differences, for example,
>
>                             PXAxxx                    PXA1928
>                             ======                    =======
>     SDCLK_DELAY field       0x10A                     0x114
>     SDCLK_DELAY mask        0x1F                      0x3FF
>     SDCLK_DELAY shift        9                          8
>     SDCLK_SEL shift          8                          2 (SEL1)
>
> So this patch series introduces new compatible device_id
> (marvell,pxav3-1928-sdhci), and makes use of .data for handling
> such differences.
>
> The series also adds support like,
>
>   - independent ->set_clock() api, as we need to enable internal clock gate
>      and TX clock
>   - pinctrl configuration based on bus speed.
>   - introduce new quirk SDHCI_QUIRK2_MUST_SET_SDHCI_BUS_POWER
>     SD_BUS_POWER & SD_BUS_VLT bit-fields are used internally to gate the
>     clocks, so it is important to configure them as part of ->set_power()
>     More detailed description is written into commit log.
>   - Enable SDHCI_QUIRK_BROKEN_TIMEOUT_VAL for PXA1928 device_id
>

Please ignore this series, as one residual change (rather typo error).
Mistakenly while checking in the code, instead of 1928 compatible
property it was 988.

I will submit the new series shortly.

Thanks,
Vaibhav


>
> Testing:
> I have done basic testing on both eMMC and SD card on PXA1928 based
> platform.
>
> Note: I tried to made sure that I do not break any other platform, which
> used sdhci, except HS200 configuration.
> Unfortunately I do not have access to any other datasheets, where I can
> cross check the details on HS200 bit-fields. Probably someone who has
> access can confirm [PATCH 4/5], whether it impacts other platforms.
>
> Kevin Liu (1):
>    mmc: sdhci-pxav3: Fix HS200 mode support
>
> Vaibhav Hiremath (4):
>    mmc: sdhci-pxav3: Enable pxa1928 device support
>    mmc: sdhci-pxav3: Add platform specific set_clock ops
>    mmc: sdhci-pxav3: Add pinctl setting according to bus clock
>    mmc: sdhci: add new quirk for setting BUS_POWER & BUS_VLT fields
>
>   drivers/mmc/host/sdhci-pltfm.c |   3 +
>   drivers/mmc/host/sdhci-pxav3.c | 168 ++++++++++++++++++++++++++++++++++++++---
>   drivers/mmc/host/sdhci.c       |   3 +-
>   drivers/mmc/host/sdhci.h       |   2 +
>   4 files changed, 163 insertions(+), 13 deletions(-)
>

  parent reply	other threads:[~2015-09-07 10:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 15:32 [PATCH 0/5] mmc: sdhci-pxav3: Enable support for PXA1928 SDCHI controller Vaibhav Hiremath
2015-09-04 15:32 ` Vaibhav Hiremath
2015-09-04 15:32 ` [PATCH 1/5] mmc: sdhci-pxav3: Enable pxa1928 device support Vaibhav Hiremath
2015-09-04 15:32   ` Vaibhav Hiremath
2015-09-04 15:32 ` [PATCH 2/5] mmc: sdhci-pxav3: Add platform specific set_clock ops Vaibhav Hiremath
2015-09-04 15:32   ` Vaibhav Hiremath
2015-09-04 15:32 ` [PATCH 3/5] mmc: sdhci-pxav3: Add pinctl setting according to bus clock Vaibhav Hiremath
2015-09-04 15:32   ` Vaibhav Hiremath
2015-09-04 15:32 ` [PATCH 4/5] mmc: sdhci-pxav3: Fix HS200 mode support Vaibhav Hiremath
2015-09-04 15:32   ` Vaibhav Hiremath
2015-09-04 15:32 ` [PATCH 5/5] mmc: sdhci: add new quirk for setting BUS_POWER & BUS_VLT fields Vaibhav Hiremath
2015-09-04 15:32   ` Vaibhav Hiremath
2015-09-07 10:36 ` Vaibhav Hiremath [this message]
2015-09-07 10:36   ` [PATCH 0/5] mmc: sdhci-pxav3: Enable support for PXA1928 SDCHI controller Vaibhav Hiremath

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=55ED6895.7000404@linaro.org \
    --to=vaibhav.hiremath@linaro.org \
    --cc=kliu5@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 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.