]> git.baikalelectronics.ru Git - uboot.git/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)
commit123a5b674f6bd2a84aa39778075ccb158c6e26ca
treed3902f654ff75f2555841cf4594ef01dc1d9f0b9
parentaf940e8e50a48ebb091343642868762f101bacca
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