]> git.sur5r.net Git - u-boot/commit
rockchip: sdhci: support 8bit bus-width
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 26 Mar 2018 17:59:10 +0000 (19:59 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 28 Mar 2018 21:47:08 +0000 (23:47 +0200)
commit6837c58666165b7b040bf5a5b9dfebc8354f5883
treed3902f654ff75f2555841cf4594ef01dc1d9f0b9
parent47b8583f58cd7d812baee57cc3bb0a87a3bd70b4
rockchip: sdhci: support 8bit bus-width

The Rockchip-specific SDHCI wrapper does not process the 'bus-width'
property in the SDHCI node. Consequently, the bus is always kept in
4bit mode, even if 8bit wide operation is available, supported and
requested in the DTS.

This change adds processing of the 'bus-width' property and sets the
host capability flag for an 8bit wide bus, if set to 8. As the logic
in sdhci.c does not support clearing the 4bit capability, we assume
that 4bit operation is always supported.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/mmc/rockchip_sdhci.c