Skip to content

arm64: dts: qcom: lemans-evk: Update SDHC storage support via overlays#337

Open
mchunara007 wants to merge 2 commits intoqualcomm-linux:qcom-6.18.yfrom
mchunara007:my-feature
Open

arm64: dts: qcom: lemans-evk: Update SDHC storage support via overlays#337
mchunara007 wants to merge 2 commits intoqualcomm-linux:qcom-6.18.yfrom
mchunara007:my-feature

Conversation

@mchunara007
Copy link

This series updates the device tree configuration for the LeMans EVK
board to support dynamic selection between SD card and eMMC storage.

The LeMans EVK hardware supports either an SD card or eMMC, but the
interfaces are mutually exclusive as they share the same controller and
resources. Previously, SD card support was hardcoded in the main device
tree, preventing easy switching to eMMC.

This series refactors the SDHC configuration by:

  1. Moving the existing SD card configuration into a dedicated overlay.
  2. Adding a new overlay to support eMMC.
  3. Updating the common SDHC node in the SoC dtsi to include necessary
    resources (clocks, register ranges) required by the eMMC configuration.

This allows the bootloader to apply the appropriate overlay based on the
desired storage medium.

The lemans EVK board supports either eMMC or SD-card, but only one can
be active at a time.

Move the SDHC node for SD card into a dedicated device tree overlay.
This decoupling allows the storage medium to be selected dynamically by
applying the appropriate overlay for either SD card or eMMC support.

Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
Enable the SDHCI controller for eMMC functionality on the lemans EVK
using a device tree overlay. Configure the corresponding addresse space
and resources for eMMC.

Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
Copy link

@shashim-quic shashim-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No downstream device tree changes for QLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants