[PATCHv2-modified,dev-4.19,0/7] Add support for ASPEED SDHCI controller
mbox series

Message ID 13436c7f-ced3-2bcb-b368-cc75accf2040@yadro.com
Headers show
Series
  • Add support for ASPEED SDHCI controller
Related show

Message

Alexander Amelkin April 16, 2019, 10:57 a.m. UTC
11.04.2019 15:33, Joel Stanley wrote:
> Alexander, if you want to post the version that you tested to the
> openbmc list I can apply that.

Sure, Joel, that would be great!

This series of patches is based on the original patchwork submitted
by Ryan Chen here: https://patchwork.ozlabs.org/cover/942313/

The patch set has been updated by YADRO to cleanly apply and build
for dev-4.19 branch of OpenBMC linux kernel.

This patch works fine for us with our AST2400 BMC on VESNIN.

With best regards,
Alexander Amelkin,
Leading BMC Software Engineer,
YADRO, https://yadro.com

Original cover letter:
----------------------------
This series implements Aspeed SDIO driver. In Aspeed SDIO controller
with two slots and have a global register for interrupt status and other
general information.

For implements this, it will have have irq-aspeed-sdhci-ic.c for sdhci
each slot irq dispatch, and then go to sdhci driver handle (sdhci.c).

Another is sdhci-of-aspeed.c for specific function call.

Ryan Chen
----------------------------


Ryan Chen (7):
  clk: Aspeed: Modify clk-aspeed.c driver probe sequence
  clk: Aspeed: Add sdhci reset and clock
  irqchip: Aspeed: Add Aspeed sdhci irq driver
  dts: Aspeed: Add Aspeed sdhci dts document
  mmc: Aspeed: Add driver for Aspeed sdhci
  dts: Aspeed: Add devicetree for Aspeed sdhci
  configs: Aspeed: enable mmc host in defconfig

 .../aspeed,aspeed-sdhci-ic.txt                     |  25 +++
 .../bindings/mmc/aspeed,aspeed-sdhci.txt           |  42 +++++
 arch/arm/boot/dts/aspeed-ast2500-evb.dts           |  14 ++
 arch/arm/boot/dts/aspeed-g4.dtsi                   |  40 +++++
 arch/arm/boot/dts/aspeed-g5.dtsi                   |  40 +++++
 arch/arm/configs/aspeed_g5_defconfig               |   6 +
 drivers/clk/clk-aspeed.c                           |  15 +-
 drivers/irqchip/Makefile                           |   2 +-
 drivers/irqchip/irq-aspeed-sdhci-ic.c              | 147 +++++++++++++++++
 drivers/mmc/host/Kconfig                           |  12 ++
 drivers/mmc/host/Makefile                          |   1 +
 drivers/mmc/host/sdhci-of-aspeed.c                 | 178 +++++++++++++++++++++
 include/dt-bindings/clock/aspeed-clock.h           |   2 +-
 include/linux/mmc/sdhci-aspeed-data.h              |  28 ++++
 14 files changed, 548 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,aspeed-sdhci-ic.txt
 create mode 100644 Documentation/devicetree/bindings/mmc/aspeed,aspeed-sdhci.txt
 create mode 100644 drivers/irqchip/irq-aspeed-sdhci-ic.c
 create mode 100644 drivers/mmc/host/sdhci-of-aspeed.c
 create mode 100644 include/linux/mmc/sdhci-aspeed-data.h

Comments

Andrew Jeffery April 18, 2019, 6:22 a.m. UTC | #1
On Tue, 16 Apr 2019, at 20:34, Alexander Amelkin wrote:
> 11.04.2019 15:33, Joel Stanley wrote:
> > Alexander, if you want to post the version that you tested to the
> > openbmc list I can apply that.
> 
> Sure, Joel, that would be great!
> 
> This series of patches is based on the original patchwork submitted
> by Ryan Chen here: https://patchwork.ozlabs.org/cover/942313/
> 
> The patch set has been updated by YADRO to cleanly apply and build
> for dev-4.19 branch of OpenBMC linux kernel.
> 
> This patch works fine for us with our AST2400 BMC on VESNIN.

Thanks for posting the tested series.

Any chance you can rebase on dev-5.0?

Andrew

> 
> With best regards,
> Alexander Amelkin,
> Leading BMC Software Engineer,
> YADRO, https://yadro.com
> 
> Original cover letter:
> ----------------------------
> This series implements Aspeed SDIO driver. In Aspeed SDIO controller
> with two slots and have a global register for interrupt status and other
> general information.
> 
> For implements this, it will have have irq-aspeed-sdhci-ic.c for sdhci
> each slot irq dispatch, and then go to sdhci driver handle (sdhci.c).
> 
> Another is sdhci-of-aspeed.c for specific function call.
> 
> Ryan Chen
> ----------------------------
> 
> 
> Ryan Chen (7):
>   clk: Aspeed: Modify clk-aspeed.c driver probe sequence
>   clk: Aspeed: Add sdhci reset and clock
>   irqchip: Aspeed: Add Aspeed sdhci irq driver
>   dts: Aspeed: Add Aspeed sdhci dts document
>   mmc: Aspeed: Add driver for Aspeed sdhci
>   dts: Aspeed: Add devicetree for Aspeed sdhci
>   configs: Aspeed: enable mmc host in defconfig
> 
>  .../aspeed,aspeed-sdhci-ic.txt                     |  25 +++
>  .../bindings/mmc/aspeed,aspeed-sdhci.txt           |  42 +++++
>  arch/arm/boot/dts/aspeed-ast2500-evb.dts           |  14 ++
>  arch/arm/boot/dts/aspeed-g4.dtsi                   |  40 +++++
>  arch/arm/boot/dts/aspeed-g5.dtsi                   |  40 +++++
>  arch/arm/configs/aspeed_g5_defconfig               |   6 +
>  drivers/clk/clk-aspeed.c                           |  15 +-
>  drivers/irqchip/Makefile                           |   2 +-
>  drivers/irqchip/irq-aspeed-sdhci-ic.c              | 147 
> +++++++++++++++++
>  drivers/mmc/host/Kconfig                           |  12 ++
>  drivers/mmc/host/Makefile                          |   1 +
>  drivers/mmc/host/sdhci-of-aspeed.c                 | 178 
> +++++++++++++++++++++
>  include/dt-bindings/clock/aspeed-clock.h           |   2 +-
>  include/linux/mmc/sdhci-aspeed-data.h              |  28 ++++
>  14 files changed, 548 insertions(+), 4 deletions(-)
>  create mode 100644 
> Documentation/devicetree/bindings/interrupt-controller/aspeed,aspeed-sdhci-ic.txt
>  create mode 100644 
> Documentation/devicetree/bindings/mmc/aspeed,aspeed-sdhci.txt
>  create mode 100644 drivers/irqchip/irq-aspeed-sdhci-ic.c
>  create mode 100644 drivers/mmc/host/sdhci-of-aspeed.c
>  create mode 100644 include/linux/mmc/sdhci-aspeed-data.h
> 
> -- 
> 2.7.4
> 
> 
> 
> Attachments:
> * signature.asc