Skip to contentSkip to conversation

arm64: defconfig: Enable GPIO_SYSCON

PATCH Superseded Jagan Teki 1 participant 3 messages Apr 3, 2020 – Feb 4, 2023 Arm Rockchip

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable GPIO_SYSCON

roc-rk3328-cc board has vcc_sdio regulator controlled by a special output only gpio pin. This special pin can now be reference as <&grf_gpio 0> via gpio-syscon driver, as mentioned in below commit.

commit <99165b93dafe4f2a821b5dae106f2ef6b4ceff7e> "arm64: dts: rockchip:
add sdmmc UHS support for roc-rk3328-cc"

So, enable bydefault on the defconfig.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 0f212889c931..0a38f0833cf7 100644
@@ -433,6 +433,7 @@ CONFIG_GPIO_MAX732X=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_MAX77620=y
+CONFIG_GPIO_SYSCON=y
 CONFIG_POWER_AVS=y
 CONFIG_QCOM_CPR=y
 CONFIG_ROCKCHIP_IODOMAIN=y
Signature · 1 line
2.17.1
author
#1 lore raw

Hi Heiko,

Quoted 6 lines · Jagan Teki

roc-rk3328-cc board has vcc_sdio regulator controlled by a special output only gpio pin. This special pin can now be reference as <&grf_gpio 0> via gpio-syscon driver, as mentioned in below commit.

Quoted 8 lines

commit <99165b93dafe4f2a821b5dae106f2ef6b4ceff7e> "arm64: dts: rockchip:
add sdmmc UHS support for roc-rk3328-cc"

So, enable bydefault on the defconfig.

---

Any update on this?

Jagan.

author
#2 lore raw

Hi Heko,

Quoted 13 lines · Jagan Teki

Hi Heiko,

Quoted 9 lines · Jagan Teki

roc-rk3328-cc board has vcc_sdio regulator controlled by a special output only gpio pin. This special pin can now be reference as <&grf_gpio 0> via gpio-syscon driver, as mentioned in below commit.

commit <99165b93dafe4f2a821b5dae106f2ef6b4ceff7e> "arm64: dts: rockchip:
add sdmmc UHS support for roc-rk3328-cc"

Quoted 7 lines
Quoted 5 lines

So, enable bydefault on the defconfig.

---

Any update on this?

Can you apply this patch?

Jagan.