mbox series

[PATCHv4,0/6] More SoCs for sdhci-omap to deprecate omap_hsmmc

Message ID 20211015104720.52240-1-tony@atomide.com (mailing list archive)
Headers show
Series More SoCs for sdhci-omap to deprecate omap_hsmmc | expand

Message

Tony Lindgren Oct. 15, 2021, 10:47 a.m. UTC
Hi,

Here are v4 changes to add support to sdhci-omap for earlier SoCs so we
can start deprecating the old omap_hsmmc driver.

For most part these changes can be tested just by changing the old hsmmc
devicetree compatible value for the SoC as described in the first binding
patch. Then after some testing, I'll post patches to enable sdhci-omap
for all the omap variants instead of omap_hsmmc.

These patches are against current Linux next.

Regards,

Tony

Changes since v3:

- More runtime PM fixes and improvments as commented by Ulf

- Use 0U instead of 0UL to fix compile warnings

Changes since v2:

- Fix up runtime PM issues and enable autosuspend based on comments
  from Ulf

  Changes since v1:

  - Added Rob's ack for the binding changes

  - Fix wakeirq assignment as noted by Grygorii


Tony Lindgren (6):
  dt-bindings: sdhci-omap: Update binding for legacy SoCs
  mmc: sdhci-omap: Handle voltages to add support omap4
  mmc: sdhci-omap: Add omap_offset to support omap3 and earlier
  mmc: sdhci-omap: Implement PM runtime functions
  mmc: sdhci-omap: Allow SDIO card power off and enable aggressive PM
  mmc: sdhci-omap: Configure optional wakeirq

 .../devicetree/bindings/mmc/sdhci-omap.txt    |   6 +-
 drivers/mmc/host/sdhci-omap.c                 | 260 ++++++++++++++----
 2 files changed, 204 insertions(+), 62 deletions(-)

Comments

Ulf Hansson Oct. 19, 2021, 11:36 a.m. UTC | #1
On Fri, 15 Oct 2021 at 12:47, Tony Lindgren <tony@atomide.com> wrote:
>
> Hi,
>
> Here are v4 changes to add support to sdhci-omap for earlier SoCs so we
> can start deprecating the old omap_hsmmc driver.
>
> For most part these changes can be tested just by changing the old hsmmc
> devicetree compatible value for the SoC as described in the first binding
> patch. Then after some testing, I'll post patches to enable sdhci-omap
> for all the omap variants instead of omap_hsmmc.
>
> These patches are against current Linux next.
>
> Regards,
>
> Tony
>
> Changes since v3:
>
> - More runtime PM fixes and improvments as commented by Ulf
>
> - Use 0U instead of 0UL to fix compile warnings
>
> Changes since v2:
>
> - Fix up runtime PM issues and enable autosuspend based on comments
>   from Ulf
>
>   Changes since v1:
>
>   - Added Rob's ack for the binding changes
>
>   - Fix wakeirq assignment as noted by Grygorii
>
>
> Tony Lindgren (6):
>   dt-bindings: sdhci-omap: Update binding for legacy SoCs
>   mmc: sdhci-omap: Handle voltages to add support omap4
>   mmc: sdhci-omap: Add omap_offset to support omap3 and earlier
>   mmc: sdhci-omap: Implement PM runtime functions
>   mmc: sdhci-omap: Allow SDIO card power off and enable aggressive PM
>   mmc: sdhci-omap: Configure optional wakeirq
>
>  .../devicetree/bindings/mmc/sdhci-omap.txt    |   6 +-
>  drivers/mmc/host/sdhci-omap.c                 | 260 ++++++++++++++----
>  2 files changed, 204 insertions(+), 62 deletions(-)
>
> --
> 2.33.0

Applied for next, thanks!

Kind regards
Uffe