mmc: starfive: Change tuning implementation
authorWilliam Qiu <william.qiu@starfivetech.com>
Fri, 22 Sep 2023 06:28:33 +0000 (14:28 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Sep 2023 10:13:18 +0000 (12:13 +0200)
commitc8b850f0f021c15594a1543b7f5d629e45f9150a
tree65cd3f26a8eed54de625241df4505707a3d20877
parent54a88bfbce2562b11b2db7cd1c255ebf590d0e14
mmc: starfive: Change tuning implementation

Before, we used syscon to achieve tuning, but the actual measurement
showed little effect, so the tuning implementation was modified here,
and it was realized by reading and writing the UHS_REG_EXT register.

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Link: https://lore.kernel.org/r/20230922062834.39212-3-william.qiu@starfivetech.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-starfive.c