[PATCH 0/7] Add SD/MMC driver for Actions Semi S900 SoC

Manivannan Sadhasivam
2019-06-08T19:53:38Z

Hello,

This patchset adds SD/MMC driver for Actions Semi S900 SoC from Owl
family SoCs. There are 4 SD/MMC controller present in this SoC but
only 2 are enabled currently for Bubblegum96 board to access uSD and
onboard eMMC. SDIO support for this driver is not currently implemented.

Note: Currently, driver uses 2 completion mechanisms for maintaining
the coherency between SDC and DMA interrupts and I know that it is not
efficient. Hence, I'd like to hear any suggestions for reimplementing
the logic if anyone has.

With this driver, this patchset also fixes one clk driver issue and enables
the Actions Semi platform in ARM64 defconfig.

Thanks,
Mani

Manivannan Sadhasivam (7):
clk: actions: Fix factor clk struct member access
dt-bindings: mmc: Add Actions Semi SD/MMC/SDIO controller binding
arm64: dts: actions: Add MMC controller support for S900
arm64: dts: actions: Add uSD and eMMC support for Bubblegum96
mmc: Add Actions Semi Owl SoCs SD/MMC driver
MAINTAINERS: Add entry for Actions Semi SD/MMC driver and binding
arm64: configs: Enable Actions Semi platform in defconfig

.../devicetree/bindings/mmc/owl-mmc.txt | 37 +
MAINTAINERS | 2 +
.../boot/dts/actions/s900-bubblegum-96.dts | 50 ++
arch/arm64/boot/dts/actions/s900.dtsi | 45 ++
arch/arm64/configs/defconfig | 1 +
drivers/clk/actions/owl-factor.c | 7 +-
drivers/mmc/host/Kconfig | 8 +
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/owl-mmc.c | 705 ++++++++++++++++++
9 files changed, 852 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mmc/owl-mmc.txt
create mode 100644 drivers/mmc/host/owl-mmc.c

--
2.17.1