Re: [PATCH v9 00/19] spacemit mmc driver

Iker Pedrosa <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CABdCQ=O4adRiLLbjMiY6XBfFN-0mQWMjmV7OSmTkx2Ag2Dnvbw@mail.gmail.com>
El jue, 20 ago 2026 a las 4:06, Eric Chung (<[email protected]>) escribió:
>
> On Wed, Aug 19, 2026 at 8:59 PM Iker Pedrosa <[email protected]> wrote:
> >
> > El mié, 19 ago 2026 a las 5:55, Eric Chung (<[email protected]>) escribió:
> > >
> > > This series adds MMC support for the SpacemiT K1: an SDHCI platform
> > > driver, the SD card device-tree overlay, defconfig options, and SPL
> > > boot-device selection from the SoC strap/config registers. The SDHCI
> > > driver is usable in both SPL and U-Boot proper.
> > >
> > > A flashing guide (doc/board/spacemit/k1-flash.rst) describes how to
> > > write images to eMMC.
> > >
> > > ---
> > > Changes in v9:
> > > - spl: Enhance detection on booting from SD.
> > > - dts: Synched upstream DTS files for K1.
> > > - doc: Create SD card image from scratch.
> > > - mmc: Avoid to use CMD18 on SD card in SPL.
> > > - pinctrl: Drop "fix drive strength configuration".
> > > - Link to v8: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v8:
> > > - doc: Remove SD card.
> > > - Link to v7: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v7:
> > > - env: Drop env support on the mmc series.
> > > - dts: Sync upstream DTS files for spacemit.
> > > - pinctrl: Simply clrsetbits_le32() on pull-up/pull-down configuration.
> > > - spl: Fix DTB matching.
> > > - Link to v6: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v6:
> > > - pinctrl: Fix drive strength configuration.
> > > - pinctrl: Fix pull-up/pull-down configuration.
> > > - pinctrl: Use dev_read_phandle_with_args() to fetch "spacemit,syscon" instead.
> > > - spacemit: rebase on latest upstream branch.
> > > - Link to v5: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v5:
> > > - mmc: Split CMD23 support out.
> > > - mmc: Use read_poll_timeout().
> > > - mmc: Set pinctrl state based on selected timing mode.
> > > - mmc: Remove the condition based on quirks.
> > > - pinctrl: Fix power source argument.
> > > - dts: Add missing power source on mmc pins.
> > > - Link to v4: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v4:
> > > - mmc: Add CMD23 for write.
> > > - mmc: Fix CMD23 only for CMD18.
> > > - mmc: Update bulk release operations on reset and clocks for spacemit
> > >   platform driver.
> > > - MAINTAINER: update the maintainer of Spacemit K1.
> > > - Link to v3: https://patch.msgid.link/[email protected]
> > >
> > > Changes in v3:
> > > - pinctrl: Fix "fast" by "uhs".
> > > - pinctrl: Add syscon dependency.
> > > - mmc: Fix quick by capability.
> > > - doc: Add SD boot support.
> > > - Link to v2: https://lore.kernel.org/u-boot/[email protected]/T/#m2aba875a2696a7bb9b704618d22ae2fd7f7f5acc
> > >
> > > Changes in v2:
> > > - cmd: drop patches on eminfo & tlv_eeprom.
> > > - configs: Enable ADMA and SYSCON support.
> > > - dts: Use vmmc-supply as vqmmc-supply on the SD card node.
> > > - mmc: k1: Enable ADMA mode support, use CMD23 for multi-block
> > >   read/write, correct pinctrl state from "fast" to "uhs".
> > > - mmc: sdhci: Add new quirk patch to enable CMD23 for multi-block
> > >   transfers.
> > > - pinctrl: k1: Add new IO power domain configuration support for
> > >   dual-voltage GPIO banks.
> > > - spacemit: k1: Use FIELD_GET() to parse boot strap mode.
> > > - Link to v1: https://lore.kernel.org/u-boot/[email protected]/
> > >
> > > To: [email protected]
> > > To: [email protected]
> > > To: [email protected]
> > > Cc: Huan Zhou <[email protected]>
> > > Cc: Tom Rini <[email protected]>
> > > Cc: Tim Ouyang <[email protected]>
> > > Cc: Leo Liang <[email protected]>
> > > Cc: Raymond Mao <[email protected]>
> > > Cc: Peng Fan <[email protected]>
> > > Cc: Jaehoon Chung <[email protected]>
> > > Cc: Bhimeswararao Matsa <[email protected]>
> > > Cc: Tanmay Kathpalia <[email protected]>
> > > Cc: Kaustabh Chakraborty <[email protected]>
> > > Cc: Han Xu <[email protected]>
> > > Cc: Yanir Levin <[email protected]>
> > > Cc: Christoph Stoidner <[email protected]>
> > > Cc: Balsundar Ponnusamy <[email protected]>
> > > Cc: Daniel Palmer <[email protected]>
> > > Cc: Anshul Dalal <[email protected]>
> > > Cc: Bastien Curutchet <[email protected]>
> > > Cc: Angelo Dureghello <[email protected]>
> > > Cc: Johan Jonker <[email protected]>
> > > Cc: Sam Protsenko <[email protected]>
> > > Cc: Guodong Xu <[email protected]>
> > > Cc: Yao Zi <[email protected]>
> > > Cc: Rick Chen <[email protected]>
> > > Cc: Leo <[email protected]>
> > > Signed-off-by: Eric Chung <[email protected]>
> > >
> > > ---
> > > Alex Elder (1):
> > >       riscv: dts: spacemit: define a SPI controller node
> > >
> > > Andre Heider (6):
> > >       riscv: dts: spacemit: k1-musepi-pro: add PMIC and power infrastructure
> > >       riscv: dts: spacemit: k1-musepi-pro: add 24c02 eeprom
> > >       riscv: dts: spacemit: k1-musepi-pro: enable QSPI and add SPI NOR
> > >       riscv: dts: spacemit: k1-musepi-pro: enable USB 3 ports
> > >       riscv: dts: spacemit: k1-musepi-pro: enable PCIe ports
> > >       riscv: dts: spacemit: k1-musepi-pro: set default console baud rate
> > >
> > > Eric Chung (9):
> > >       spacemit: k1: select boot device via config registers
> > >       pinctrl: k1: fix pull-up/pull-down configuration
> > >       pinctrl: k1: add IO power domain configuration support
> > >       mmc: k1: add sdhci platform driver
> > >       dts: k1: enable mmc devices in SPL
> > >       configs: k1: enable SD and eMMC support
> > >       MAINTAINER: update Spacemit K1 entry
> > >       doc: spacemit: flash on K1 SoC based boards
> > >       spacemit: k1: fix product name detection and DTB matching in SPL
> > >
> > > Iker Pedrosa (2):
> > >       riscv: dts: spacemit: k1: add SD card controller and pinctrl support
> > >       riscv: dts: spacemit: k1-bananapi-f3: add SD card support with UHS modes
> >
> > I am just curious, is there a particular reason why the device-tree
> > changes for the OrangePi RV2 aren't included in this series?
> >
>
> I only fetch the patches I could verify, as I only have the musepi pro
> and bananpi f3. Other patches I'll leave to the maintainer.

Thanks for clarifying! That makes total sense. Hopefully, someone with
an OrangePi RV2 can pick that up once this series gets merged.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.