st_mmcss_cconfig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– st_mmcss_cconfig(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual πŸŽ€ you're about to learn how to configure the Arasan HC inside the flashSS and honestly? it's giving niche but iconic ✨


🌸 NAME 🌸

st_mmcss_cconfig β€” configure the Arasan HC inside the flashSS πŸ’…


✨ SYNOPSIS ✨

void st_mmcss_cconfig (struct device_node *np , struct sdhci_host *host
);

like yes that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • np β€” the dt device node 🌱
  • host β€” the sdhci host πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what this function does is configure the Arasan host controller. literally its whole job πŸ’–

here's the tea tho: on some ST SoCs β€” i.e. the STiH407 family β€” the MMC devices live inside a dedicated flashSS sub-system, and that sub-system needs to be configured to be compliant to eMMC 4.5 or eMMC4.3. yep, both, depending on what you're working with 🌈

🚨 important bestie: this has to be done before registering the sdhci host. no skipping ahead, the order matters fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/mmc/host/sdhci-st.c β€” go read it, iykyk πŸ“–βœ¨

and that's the whole page, bestie πŸ“ slay. this gem comes from ./drivers/mmc/host, dated October 2026, and it's filed under st_mmcss_cconfig(9) β€” periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from