]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: defconfig: Enable Rockchip io-domain driver
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 16 Apr 2018 14:39:57 +0000 (11:39 -0300)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 26 Apr 2018 12:59:02 +0000 (14:59 +0200)
Heiko Stübner justified pretty well the change in commit e330eb86ba0b
("ARM: multi_v7_defconfig: enable Rockchip io-domain driver"). This
change is also needed for arm64 rockchip boards, so, do the same for arm64.

The io-domain driver is necessary to notify the soc about voltages
changes happening on supplying regulators. Probably the most important
user right now is the mmc tuning code, where the soc needs to get
notified when the voltage is dropped to the 1.8V point.

As this option is necessary to successfully tune UHS cards etc, it
should get built in. Otherwise, tuning will fail with,

   dwmmc_rockchip fe320000.dwmmc: All phases bad!
   mmc0: tuning execution failed: -5

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/configs/defconfig

index bdd5943872324c9255779025d64b7c555aa45581..7e3b3f0484b984c9923a6ce6303341f2b5508216 100644 (file)
@@ -332,6 +332,8 @@ CONFIG_GPIO_XGENE_SB=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_MAX77620=y
+CONFIG_POWER_AVS=y
+CONFIG_ROCKCHIP_IODOMAIN=y
 CONFIG_POWER_RESET_MSM=y
 CONFIG_POWER_RESET_XGENE=y
 CONFIG_POWER_RESET_SYSCON=y