[PATCH 0/6] Add MMC support for Mobileye EyeQ5 and EyeQ6 SoCs

Benoît Monin posted 6 patches 5 months, 4 weeks ago
.../devicetree/bindings/mmc/cdns,sdhci.yaml   |  1 +
arch/mips/boot/dts/mobileye/eyeq5.dtsi        | 22 +++++++++++++++++++
arch/mips/boot/dts/mobileye/eyeq6h.dtsi       | 22 +++++++++++++++++++
arch/mips/configs/eyeq5_defconfig             |  2 ++
arch/mips/configs/eyeq6_defconfig             |  2 ++
drivers/mmc/host/sdhci-cadence.c              | 11 ++++++++++
6 files changed, 60 insertions(+)
[PATCH 0/6] Add MMC support for Mobileye EyeQ5 and EyeQ6 SoCs
Posted by Benoît Monin 5 months, 4 weeks ago
The MMC/SDHCI controller found in Mobileye EyeQ5 and EyeQ6 SoCs is 
based on Cadence cdns sd4hc IP. It supports up to HS400HS mode. The 
only peculiarity of the hardware is that it needs the preset value
quirk to configure the clock properly at speed slower than HS200.

This patchset adds a compatible device tree binding to cdns sdhci for 
mobileye then uses it in the sdhci-cadence driver.

It also adds an emmc entry in the dtsi of each SoC and the config 
options in each defconfig to allow using an eMMC for the rootfs.

Benoît Monin (6):
  dt-bindings: mmc: cdns: add Mobileye EyeQ MMC/SDHCI controller
  mmc: sdhci-cadence: add Mobileye eyeQ support
  MIPS: mobileye: dts: eyeq6h: add the emmc controller
  MIPS: eyeq6_defconfig: add cadence MMC/SDHCI driver
  MIPS: mobileye: dts: eyeq5: add the emmc controller
  MIPS: eyeq5_defconfig: add cadence MMC/SDHCI driver

 .../devicetree/bindings/mmc/cdns,sdhci.yaml   |  1 +
 arch/mips/boot/dts/mobileye/eyeq5.dtsi        | 22 +++++++++++++++++++
 arch/mips/boot/dts/mobileye/eyeq6h.dtsi       | 22 +++++++++++++++++++
 arch/mips/configs/eyeq5_defconfig             |  2 ++
 arch/mips/configs/eyeq6_defconfig             |  2 ++
 drivers/mmc/host/sdhci-cadence.c              | 11 ++++++++++
 6 files changed, 60 insertions(+)

Re: [PATCH 0/6] Add MMC support for Mobileye EyeQ5 and EyeQ6 SoCs
Posted by Ulf Hansson 5 months, 3 weeks ago
On Tue, 17 Jun 2025 at 15:26, Benoît Monin <benoit.monin@bootlin.com> wrote:
>
> The MMC/SDHCI controller found in Mobileye EyeQ5 and EyeQ6 SoCs is
> based on Cadence cdns sd4hc IP. It supports up to HS400HS mode. The
> only peculiarity of the hardware is that it needs the preset value
> quirk to configure the clock properly at speed slower than HS200.
>
> This patchset adds a compatible device tree binding to cdns sdhci for
> mobileye then uses it in the sdhci-cadence driver.
>
> It also adds an emmc entry in the dtsi of each SoC and the config
> options in each defconfig to allow using an eMMC for the rootfs.
>
> Benoît Monin (6):
>   dt-bindings: mmc: cdns: add Mobileye EyeQ MMC/SDHCI controller
>   mmc: sdhci-cadence: add Mobileye eyeQ support
>   MIPS: mobileye: dts: eyeq6h: add the emmc controller
>   MIPS: eyeq6_defconfig: add cadence MMC/SDHCI driver
>   MIPS: mobileye: dts: eyeq5: add the emmc controller
>   MIPS: eyeq5_defconfig: add cadence MMC/SDHCI driver
>
>  .../devicetree/bindings/mmc/cdns,sdhci.yaml   |  1 +
>  arch/mips/boot/dts/mobileye/eyeq5.dtsi        | 22 +++++++++++++++++++
>  arch/mips/boot/dts/mobileye/eyeq6h.dtsi       | 22 +++++++++++++++++++
>  arch/mips/configs/eyeq5_defconfig             |  2 ++
>  arch/mips/configs/eyeq6_defconfig             |  2 ++
>  drivers/mmc/host/sdhci-cadence.c              | 11 ++++++++++
>  6 files changed, 60 insertions(+)
>

Patch1 and patch2 applied for next, thanks!

Kind regards
Uffe
Re: [PATCH 0/6] Add MMC support for Mobileye EyeQ5 and EyeQ6 SoCs
Posted by Thomas Bogendoerfer 5 months, 2 weeks ago
On Tue, Jun 17, 2025 at 03:25:50PM +0200, Benoît Monin wrote:
> The MMC/SDHCI controller found in Mobileye EyeQ5 and EyeQ6 SoCs is 
> based on Cadence cdns sd4hc IP. It supports up to HS400HS mode. The 
> only peculiarity of the hardware is that it needs the preset value
> quirk to configure the clock properly at speed slower than HS200.
> 
> This patchset adds a compatible device tree binding to cdns sdhci for 
> mobileye then uses it in the sdhci-cadence driver.
> 
> It also adds an emmc entry in the dtsi of each SoC and the config 
> options in each defconfig to allow using an eMMC for the rootfs.
> 
> Benoît Monin (6):
>   dt-bindings: mmc: cdns: add Mobileye EyeQ MMC/SDHCI controller
>   mmc: sdhci-cadence: add Mobileye eyeQ support
>   MIPS: mobileye: dts: eyeq6h: add the emmc controller
>   MIPS: eyeq6_defconfig: add cadence MMC/SDHCI driver
>   MIPS: mobileye: dts: eyeq5: add the emmc controller
>   MIPS: eyeq5_defconfig: add cadence MMC/SDHCI driver
> 
>  .../devicetree/bindings/mmc/cdns,sdhci.yaml   |  1 +
>  arch/mips/boot/dts/mobileye/eyeq5.dtsi        | 22 +++++++++++++++++++
>  arch/mips/boot/dts/mobileye/eyeq6h.dtsi       | 22 +++++++++++++++++++
>  arch/mips/configs/eyeq5_defconfig             |  2 ++
>  arch/mips/configs/eyeq6_defconfig             |  2 ++
>  drivers/mmc/host/sdhci-cadence.c              | 11 ++++++++++
>  6 files changed, 60 insertions(+)

applied patches 3-6 to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]