mbox series

[0/7] Add support for SD card in AM654x-evm

Message ID 20200619125801.9530-1-faiz_abbas@ti.com
Headers show
Series Add support for SD card in AM654x-evm | expand

Message

Faiz Abbas June 19, 2020, 12:57 p.m. UTC
The following patches add driver support for SD card on the
am654x-evm. It only enables high speed mode with UHS mode
support coming in a future series.

DTS support will be added in another series as well.

Faiz Abbas (7):
  dt-bindings: mmc: sdhci-am654: Add ti,clkbuf-sel binding
  mmc: sdhci_am654: Add flag for PHY calibration
  mmc: sdhci_am654: Add Support for SR2.0
  mmc: sdhci_am654: Fix conditions for enabling dll
  mmc: sdhci_am654: Update delay chain configuration
  mmc: sdhci_am654: Add support for clkbuf_sel property
  arm64: defconfig: Enable AM654x SDHCI controller

 .../devicetree/bindings/mmc/sdhci-am654.txt   |  1 +
 arch/arm64/configs/defconfig                  |  1 +
 drivers/mmc/host/sdhci_am654.c                | 86 ++++++++++++++-----
 3 files changed, 65 insertions(+), 23 deletions(-)

Comments

Faiz Abbas July 3, 2020, 7:27 a.m. UTC | #1
Hi,

On 19/06/20 6:27 pm, Faiz Abbas wrote:
> The following patches add driver support for SD card on the
> am654x-evm. It only enables high speed mode with UHS mode
> support coming in a future series.
> 
> DTS support will be added in another series as well.
> 
> Faiz Abbas (7):
>   dt-bindings: mmc: sdhci-am654: Add ti,clkbuf-sel binding
>   mmc: sdhci_am654: Add flag for PHY calibration
>   mmc: sdhci_am654: Add Support for SR2.0
>   mmc: sdhci_am654: Fix conditions for enabling dll
>   mmc: sdhci_am654: Update delay chain configuration
>   mmc: sdhci_am654: Add support for clkbuf_sel property
>   arm64: defconfig: Enable AM654x SDHCI controller
> 
>  .../devicetree/bindings/mmc/sdhci-am654.txt   |  1 +
>  arch/arm64/configs/defconfig                  |  1 +
>  drivers/mmc/host/sdhci_am654.c                | 86 ++++++++++++++-----
>  3 files changed, 65 insertions(+), 23 deletions(-)
> 

Gentle ping.

Thanks,
Faiz
Ulf Hansson July 6, 2020, 2:48 p.m. UTC | #2
On Fri, 19 Jun 2020 at 14:58, Faiz Abbas <faiz_abbas@ti.com> wrote:
>
> The following patches add driver support for SD card on the
> am654x-evm. It only enables high speed mode with UHS mode
> support coming in a future series.
>
> DTS support will be added in another series as well.
>
> Faiz Abbas (7):
>   dt-bindings: mmc: sdhci-am654: Add ti,clkbuf-sel binding
>   mmc: sdhci_am654: Add flag for PHY calibration
>   mmc: sdhci_am654: Add Support for SR2.0
>   mmc: sdhci_am654: Fix conditions for enabling dll
>   mmc: sdhci_am654: Update delay chain configuration
>   mmc: sdhci_am654: Add support for clkbuf_sel property
>   arm64: defconfig: Enable AM654x SDHCI controller
>
>  .../devicetree/bindings/mmc/sdhci-am654.txt   |  1 +
>  arch/arm64/configs/defconfig                  |  1 +
>  drivers/mmc/host/sdhci_am654.c                | 86 ++++++++++++++-----
>  3 files changed, 65 insertions(+), 23 deletions(-)
>
> --
> 2.17.1
>

Patch 1 to 6, applied for next, thanks!

Kind regards
Uffe
Faiz Abbas July 16, 2020, 12:19 p.m. UTC | #3
Hi,

On 19/06/20 6:28 pm, Faiz Abbas wrote:
> Enable CONFIG_SDHCI_AM654 to Support AM65x sdhci controller.
> 
> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 883e8bace3ed..40dd13e0adc5 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -731,6 +731,7 @@ CONFIG_MMC_DW_ROCKCHIP=y
>  CONFIG_MMC_SUNXI=y
>  CONFIG_MMC_BCM2835=y
>  CONFIG_MMC_SDHCI_XENON=y
> +CONFIG_MMC_SDHCI_AM654=y
>  CONFIG_MMC_OWL=y
>  CONFIG_NEW_LEDS=y
>  CONFIG_LEDS_CLASS=y
> 

Gentle ping. Will, Catalin, can this patch be picked up?

Thanks,
Faiz
Sekhar Nori July 16, 2020, 1:25 p.m. UTC | #4
On 7/16/20 5:49 PM, Faiz Abbas wrote:
> Hi,
> 
> On 19/06/20 6:28 pm, Faiz Abbas wrote:
>> Enable CONFIG_SDHCI_AM654 to Support AM65x sdhci controller.
>>
>> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
>> ---
>>  arch/arm64/configs/defconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>> index 883e8bace3ed..40dd13e0adc5 100644
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -731,6 +731,7 @@ CONFIG_MMC_DW_ROCKCHIP=y
>>  CONFIG_MMC_SUNXI=y
>>  CONFIG_MMC_BCM2835=y
>>  CONFIG_MMC_SDHCI_XENON=y
>> +CONFIG_MMC_SDHCI_AM654=y
>>  CONFIG_MMC_OWL=y
>>  CONFIG_NEW_LEDS=y
>>  CONFIG_LEDS_CLASS=y
>>
> 
> Gentle ping. Will, Catalin, can this patch be picked up?

From logs, Arnd has been picking up patches for this file. Looping in
Arnd and ARM-SoC team.

Thanks,
Sekhar
Arnd Bergmann July 16, 2020, 6:28 p.m. UTC | #5
On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
>
> On 7/16/20 5:49 PM, Faiz Abbas wrote:
> > Hi,
> >
> > On 19/06/20 6:28 pm, Faiz Abbas wrote:
> >> Enable CONFIG_SDHCI_AM654 to Support AM65x sdhci controller.
> >>
> >> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> >> ---
> >>  arch/arm64/configs/defconfig | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> >> index 883e8bace3ed..40dd13e0adc5 100644
> >> --- a/arch/arm64/configs/defconfig
> >> +++ b/arch/arm64/configs/defconfig
> >> @@ -731,6 +731,7 @@ CONFIG_MMC_DW_ROCKCHIP=y
> >>  CONFIG_MMC_SUNXI=y
> >>  CONFIG_MMC_BCM2835=y
> >>  CONFIG_MMC_SDHCI_XENON=y
> >> +CONFIG_MMC_SDHCI_AM654=y
> >>  CONFIG_MMC_OWL=y
> >>  CONFIG_NEW_LEDS=y
> >>  CONFIG_LEDS_CLASS=y
> >>
> >
> > Gentle ping. Will, Catalin, can this patch be picked up?
>
> From logs, Arnd has been picking up patches for this file. Looping in
> Arnd and ARM-SoC team.

I tend to ignore individual patches to the defconfig file unless
they are sent to:soc@kernel.org. The best way to get them
included is to have the platform maintainers pick up the
changes and send them that way as a separate pull request
at the same time as sending any DT updates.

The MAINTAINERS file lists Tero and Nishanth as maintainers
for the platform. If they want, I can apply this one directly, but in
the future, send it to them.

        Arnd
Faiz Abbas July 17, 2020, 8:38 a.m. UTC | #6
Hi,

On 16/07/20 11:58 pm, Arnd Bergmann wrote:
> On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
>>
>> On 7/16/20 5:49 PM, Faiz Abbas wrote:
>>> Hi,
>>>
>>> On 19/06/20 6:28 pm, Faiz Abbas wrote:
>>>> Enable CONFIG_SDHCI_AM654 to Support AM65x sdhci controller.
>>>>
>>>> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
>>>> ---
>>>>  arch/arm64/configs/defconfig | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>>>> index 883e8bace3ed..40dd13e0adc5 100644
>>>> --- a/arch/arm64/configs/defconfig
>>>> +++ b/arch/arm64/configs/defconfig
>>>> @@ -731,6 +731,7 @@ CONFIG_MMC_DW_ROCKCHIP=y
>>>>  CONFIG_MMC_SUNXI=y
>>>>  CONFIG_MMC_BCM2835=y
>>>>  CONFIG_MMC_SDHCI_XENON=y
>>>> +CONFIG_MMC_SDHCI_AM654=y
>>>>  CONFIG_MMC_OWL=y
>>>>  CONFIG_NEW_LEDS=y
>>>>  CONFIG_LEDS_CLASS=y
>>>>
>>>
>>> Gentle ping. Will, Catalin, can this patch be picked up?
>>
>> From logs, Arnd has been picking up patches for this file. Looping in
>> Arnd and ARM-SoC team.
> 
> I tend to ignore individual patches to the defconfig file unless
> they are sent to:soc@kernel.org. The best way to get them
> included is to have the platform maintainers pick up the
> changes and send them that way as a separate pull request
> at the same time as sending any DT updates.
> 
> The MAINTAINERS file lists Tero and Nishanth as maintainers
> for the platform. If they want, I can apply this one directly, but in
> the future, send it to them.
> 

Thanks for clarifying Arnd. Tero, can you pick this up?

Thanks,
Faiz
Tero Kristo July 17, 2020, 11:20 a.m. UTC | #7
On 17/07/2020 11:38, Faiz Abbas wrote:
> Hi,
> 
> On 16/07/20 11:58 pm, Arnd Bergmann wrote:
>> On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
>>>
>>> On 7/16/20 5:49 PM, Faiz Abbas wrote:
>>>> Hi,
>>>>
>>>> On 19/06/20 6:28 pm, Faiz Abbas wrote:
>>>>> Enable CONFIG_SDHCI_AM654 to Support AM65x sdhci controller.
>>>>>
>>>>> Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
>>>>> ---
>>>>>   arch/arm64/configs/defconfig | 1 +
>>>>>   1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>>>>> index 883e8bace3ed..40dd13e0adc5 100644
>>>>> --- a/arch/arm64/configs/defconfig
>>>>> +++ b/arch/arm64/configs/defconfig
>>>>> @@ -731,6 +731,7 @@ CONFIG_MMC_DW_ROCKCHIP=y
>>>>>   CONFIG_MMC_SUNXI=y
>>>>>   CONFIG_MMC_BCM2835=y
>>>>>   CONFIG_MMC_SDHCI_XENON=y
>>>>> +CONFIG_MMC_SDHCI_AM654=y
>>>>>   CONFIG_MMC_OWL=y
>>>>>   CONFIG_NEW_LEDS=y
>>>>>   CONFIG_LEDS_CLASS=y
>>>>>
>>>>
>>>> Gentle ping. Will, Catalin, can this patch be picked up?
>>>
>>>  From logs, Arnd has been picking up patches for this file. Looping in
>>> Arnd and ARM-SoC team.
>>
>> I tend to ignore individual patches to the defconfig file unless
>> they are sent to:soc@kernel.org. The best way to get them
>> included is to have the platform maintainers pick up the
>> changes and send them that way as a separate pull request
>> at the same time as sending any DT updates.
>>
>> The MAINTAINERS file lists Tero and Nishanth as maintainers
>> for the platform. If they want, I can apply this one directly, but in
>> the future, send it to them.
>>
> 
> Thanks for clarifying Arnd. Tero, can you pick this up?

Ok, this topic has been bit unclear for me also, but if you say I can 
pick the patches myself and send a pull request out, I can do that.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Arnd Bergmann July 17, 2020, 1:09 p.m. UTC | #8
On Fri, Jul 17, 2020 at 1:20 PM Tero Kristo <t-kristo@ti.com> wrote:
> On 17/07/2020 11:38, Faiz Abbas wrote:
> > On 16/07/20 11:58 pm, Arnd Bergmann wrote:
> >> On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
> >> I tend to ignore individual patches to the defconfig file unless
> >> they are sent to:soc@kernel.org. The best way to get them
> >> included is to have the platform maintainers pick up the
> >> changes and send them that way as a separate pull request
> >> at the same time as sending any DT updates.
> >>
> >> The MAINTAINERS file lists Tero and Nishanth as maintainers
> >> for the platform. If they want, I can apply this one directly, but in
> >> the future, send it to them.
> >>
> >
> > Thanks for clarifying Arnd. Tero, can you pick this up?
>
> Ok, this topic has been bit unclear for me also, but if you say I can
> pick the patches myself and send a pull request out, I can do that.

Right. To clarify, the soc tree usually has separate branches for dts
files, soc specific drivers, defconfig files and 32-bit platform code.

When you pick up patches into your tree, please put them into
branches that fit into those categories. You can group the patches
into branches with more fine-grained categories if it makes sense
(e.g. adding a particularly large driver, adding a new dts files for a
new soc, or cosmetic cleanups across dts files).

If any of the categories only have a couple of patches in them, you
can decide to forward those as patches to soc@kernel.org, but a
pull request is always ok as well, even for a one-line patch.

        Arnd

       Arnd
Faiz Abbas July 17, 2020, 1:36 p.m. UTC | #9
Tero,

On 17/07/20 6:39 pm, Arnd Bergmann wrote:
> On Fri, Jul 17, 2020 at 1:20 PM Tero Kristo <t-kristo@ti.com> wrote:
>> On 17/07/2020 11:38, Faiz Abbas wrote:
>>> On 16/07/20 11:58 pm, Arnd Bergmann wrote:
>>>> On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
>>>> I tend to ignore individual patches to the defconfig file unless
>>>> they are sent to:soc@kernel.org. The best way to get them
>>>> included is to have the platform maintainers pick up the
>>>> changes and send them that way as a separate pull request
>>>> at the same time as sending any DT updates.
>>>>
>>>> The MAINTAINERS file lists Tero and Nishanth as maintainers
>>>> for the platform. If they want, I can apply this one directly, but in
>>>> the future, send it to them.
>>>>
>>>
>>> Thanks for clarifying Arnd. Tero, can you pick this up?
>>
>> Ok, this topic has been bit unclear for me also, but if you say I can
>> pick the patches myself and send a pull request out, I can do that.
> 

Patches 1-6 are being merged from mmc tree. You only need to pick up this patch.

Thanks,
Faiz
Tero Kristo July 17, 2020, 1:43 p.m. UTC | #10
On 17/07/2020 16:09, Arnd Bergmann wrote:
> On Fri, Jul 17, 2020 at 1:20 PM Tero Kristo <t-kristo@ti.com> wrote:
>> On 17/07/2020 11:38, Faiz Abbas wrote:
>>> On 16/07/20 11:58 pm, Arnd Bergmann wrote:
>>>> On Thu, Jul 16, 2020 at 3:25 PM Sekhar Nori <nsekhar@ti.com> wrote:
>>>> I tend to ignore individual patches to the defconfig file unless
>>>> they are sent to:soc@kernel.org. The best way to get them
>>>> included is to have the platform maintainers pick up the
>>>> changes and send them that way as a separate pull request
>>>> at the same time as sending any DT updates.
>>>>
>>>> The MAINTAINERS file lists Tero and Nishanth as maintainers
>>>> for the platform. If they want, I can apply this one directly, but in
>>>> the future, send it to them.
>>>>
>>>
>>> Thanks for clarifying Arnd. Tero, can you pick this up?
>>
>> Ok, this topic has been bit unclear for me also, but if you say I can
>> pick the patches myself and send a pull request out, I can do that.
> 
> Right. To clarify, the soc tree usually has separate branches for dts
> files, soc specific drivers, defconfig files and 32-bit platform code.
> 
> When you pick up patches into your tree, please put them into
> branches that fit into those categories. You can group the patches
> into branches with more fine-grained categories if it makes sense
> (e.g. adding a particularly large driver, adding a new dts files for a
> new soc, or cosmetic cleanups across dts files).
> 
> If any of the categories only have a couple of patches in them, you
> can decide to forward those as patches to soc@kernel.org, but a
> pull request is always ok as well, even for a one-line patch.

Ok thanks for clarification, Arnd.

Based on that, queuing this up for 5.9 myself, thanks.

Will post pull-request next week for it, there appears to be another K3 
SoC related config change pending which I'll pick up also. Just want to 
capture -next results for these to see how well they integrate.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki