mmc: add SDHCI driver for NPCM SoCs
Subsystems (4)
Tomer Maimon
maintainercover mmc: add SDHCI driver for NPCM SoCs
This patch set adds SDHCI NPCM Baseboard Management Controller(BMC) support.
The NPCM SDHCI driver were tested on NPCM750 and NPCM845 evaluation boards.
Tomer Maimon (2):
dt-bindings: mmc: npcm: NPCM binding documentation
mmc: host: Add support for NPCM SDHCI controller
.../devicetree/bindings/mmc/sdhci-npcm.txt | 22 +++++ drivers/mmc/host/Kconfig | 8 ++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-npcm.c | 81 +++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-npcm.txt create mode 100644 drivers/mmc/host/sdhci-npcm.c
Signature · 1 line
2.33.0
Tomer Maimon
maintainerPATCH 1/2 dt-bindings: mmc: npcm: NPCM binding documentation
This patch adds the device tree binding documentation for the NPCM BMC SoC SDHCI driver.
Signed-off-by Tomer Maimon <[email protected]>
--- .../devicetree/bindings/mmc/sdhci-npcm.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-npcm.txt
Documentation/devicetree/bindings/mmc/sdhci-npcm.txt new file +22 -0
@@ -0,0 +1,22 @@ +* NPCM SDHCI Controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci-npcm driver. + +Required properties: +- compatible : "nuvoton,npcm750-sdhci" for the NPCM7XX BMC. + "nuvoton,npcm845-sdhci" for the NPCM8XX BMC. + +Example: + + sdhci0: sdhci@f0842000 { + compatible = "nuvoton,npcm750-sdhci"; + status = "disabled"; + reg = <0xf0842000 0x200>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM7XX_CLK_MMC>; + clock-names = "clk_mmc"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc8_pins + &mmc_pins>; + };
Signature · 1 line
2.33.0
Tomer Maimon
maintainerPATCH 2/2 mmc: host: Add support for NPCM SDHCI controller
In reply to Tomer MaimonThis patch adds NPCM SDHCI controller driver support to NPCM BMC SoC.
Signed-off-by Tomer Maimon <[email protected]>
--- drivers/mmc/host/Kconfig | 8 ++++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-npcm.c | 81 +++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 drivers/mmc/host/sdhci-npcm.c
drivers/mmc/host/Kconfig +8 -0
@@ -704,6 +704,14 @@ config MMC_TMIO This provides support for the SD/MMC cell found in TC6393XB, T7L66XB and also HTC ASIC3 +config MMC_SDHCI_NPCM + tristate "Secure Digital Host Controller Interface support for NPCM" + depends on ARCH_NPCM + depends on MMC_SDHCI_PLTFM + help + This provides support for the SD/eMMC controller found in + NPCM BMC family SoCs. + config MMC_SDHI tristate "Renesas SDHI SD/SDIO controller support" depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
drivers/mmc/host/Makefile +1 -0
@@ -38,6 +38,7 @@ obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o obj-$(CONFIG_MMC_S3C) += s3cmci.o obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o +obj-$(CONFIG_MMC_SDHCI_NPCM) += sdhci-npcm.o obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o obj-$(CONFIG_MMC_SDHI) += renesas_sdhi_core.o obj-$(CONFIG_MMC_SDHI_SYS_DMAC) += renesas_sdhi_sys_dmac.o
drivers/mmc/host/sdhci-npcm.c new file +81 -0
81 lines not on this page · raw message
Signature · 1 line
2.33.0