Skip to content
Commit a85ffa81 authored by Mourad Kharrazi's avatar Mourad Kharrazi Committed by Carles Cufí
Browse files

drivers: sdhc: allow bandwidth selection



The current implementation uses both, host and card capabilites to derive
the maximum bus width to be used. However, in cases where a MMC device is
not connected to the host via shdc using the full bus width of 8 lines,
device initialization fails. Introducing the `bus-width` property
circumvents this by reducing the host bus capabilites and forcing
communication with the MMC device using 1, 4 or 8 lines.

Signed-off-by: default avatarMourad Kharrazi <mourad.kharrazi@ithinx.io>
parent e3ee5c09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment