[PATCH v4 0/2] add NPCM SDHCI driver support
Tomer Maimon
tmaimon77 at gmail.com
Tue Oct 3 06:41:36 AEDT 2023
This patch set adds SDHCI support for the Nuvoton NPCM Baseboard
Management Controller (BMC).
Deeply sorry it took that long until sending version three, promise to try
to do better on the next versions (if needed) :-),
The NPCM SDHCI driver tested on NPCM750 and NPCM845 EVB.
Addressed comments from:
- Andy Shevchenko : https://www.spinics.net/lists/devicetree/msg637946.html
Changes since version 3:
- Use devm_clk_get_optional_enabled function.
- Add mod_devicetable.h.
- Modify copyright year.
Changes since version 2:
- Add data to handle architecture-specific SDHCI parameters.
- Change config place in make and kconfig files.
- Calling sdhci_pltfm_free to to avoid a memory leak on error.
Changes since version 1:
- Use correct spaces in the dt-bindings.
- Drop unused labels from dt-bindings.
- Order by module name in the make a configuration.
- Remove unnecessary blank lines.
- Using devm_clk_get_optional instead of devm_clk_get.
Tomer Maimon (2):
dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller
mmc: sdhci-npcm: Add NPCM SDHCI driver
.../devicetree/bindings/mmc/npcm,sdhci.yaml | 45 +++++++++
drivers/mmc/host/Kconfig | 8 ++
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/sdhci-npcm.c | 96 +++++++++++++++++++
4 files changed, 150 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml
create mode 100644 drivers/mmc/host/sdhci-npcm.c
--
2.33.0
More information about the openbmc
mailing list