Skip to contentSkip to conversation

ARM: multi_v7_defconfig: enable Rockchip io-domain driver

PATCH New Heiko Stübner 3 participants 5 messages Dec 21, 2015 – Dec 23, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: multi_v7_defconfig: enable Rockchip io-domain driver

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 sucessfully tune UHS cards etc, it should get built in.

---
When booting a Veyron-Jerry from an sd-card it got stuck, as the tuning failed due to the missing voltage notification and the mmc completely fails initialization of the card, if this happens.
With this option enabled, I could again boot from my sd-card.

This is based on the

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/multi_v7_defconfig +2 -0
index 69a22fd..be57898 100644
@@ -371,6 +371,8 @@ CONFIG_POWER_RESET_GPIO=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
 CONFIG_POWER_RESET_KEYSTONE=y
 CONFIG_POWER_RESET_RMOBILE=y
+CONFIG_POWER_AVS=y
+CONFIG_ROCKCHIP_IODOMAIN=y
 CONFIG_SENSORS_LM90=y
 CONFIG_SENSORS_LM95245=y
 CONFIG_SENSORS_NTC_THERMISTOR=m
Signature · 1 line
2.6.4
#1 lore raw

PATCH 2/3 ARM: multi_v7_defconfig: enable rockchip crypto module

This enables the newly added hardware crypto module found for example on the rk3288.

---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index be57898..ff7eb19 100644
@@ -733,6 +733,7 @@ CONFIG_CRYPTO_DEV_TEGRA_AES=y
 CONFIG_CPUFREQ_DT=y
 CONFIG_KEYSTONE_IRQ=y
 CONFIG_CRYPTO_DEV_SUN4I_SS=m
+CONFIG_CRYPTO_DEV_ROCKCHIP=m
 CONFIG_ARM_CRYPTO=y
 CONFIG_CRYPTO_SHA1_ARM=m
 CONFIG_CRYPTO_SHA1_ARM_NEON=m
Signature · 1 line
2.6.4
#2 lore raw

PATCH 3/3 ARM: multi_v7_defconfig: enable rk808 clkout module

In reply to Heiko Stübner

The rk808 supplies two clock outputs with one going back into the soc as 32kHz supply, supplying some core soc clocks with it. The system can boot without it being present, but it is needed for example as source clock for the thermal driver.

---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index ff7eb19..2fa39c1 100644
@@ -662,6 +662,7 @@ CONFIG_CHROME_PLATFORMS=y
 CONFIG_CROS_EC_CHARDEV=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_MAX77802=m
+CONFIG_COMMON_CLK_RK808=m
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_APQ_MMCC_8084=y
 CONFIG_MSM_GCC_8660=y
Signature · 1 line
2.6.4
#3 lore raw

PATCH 1/3 ARM: multi_v7_defconfig: enable Rockchip io-domain driver

In reply to Heiko Stübner
Quoted 8 lines · Heiko St?bner

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 sucessfully tune UHS cards etc, it should get built in.

Quoted 8 lines

---
When booting a Veyron-Jerry from an sd-card it got stuck, as the tuning failed due to the missing voltage notification and the mmc completely fails initialization of the card, if this happens.
With this option enabled, I could again boot from my sd-card.

This is based on the

Looks cut off :)

Anyway, applied 1-3.

-Olof

maintainer
#4 lore raw

PATCH 1/3 ARM: multi_v7_defconfig: enable Rockchip io-domain driver

Am Dienstag, 22. Dezember 2015, 14:56:14 schrieb Olof Johansson:

Quoted 16 lines · Heiko St?bner
Quoted 15 lines

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 sucessfully tune UHS cards etc, it should get built in.

---
When booting a Veyron-Jerry from an sd-card it got stuck, as the tuning failed due to the missing voltage notification and the mmc completely fails initialization of the card, if this happens.
With this option enabled, I could again boot from my sd-card.

Quoted 3 lines
Quoted 1 line

This is based on the

Looks cut off :)

I only wanted to say that this is based on the latest multi_v7 from the armsoc/defconfig branch, but it looks I forgot to finish that sentence ;-)

Quoted 1 line

Anyway, applied 1-3.

Thanks
Heiko