All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
@ 2015-12-21 21:21 ` Heiko Stübner
  0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:21 UTC (permalink / raw)
  To: arm; +Cc: linux-rockchip, linux-arm-kernel

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.

Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
---
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(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 69a22fd..be57898 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
@ 2015-12-21 21:21 ` Heiko Stübner
  0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:21 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
---
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(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 69a22fd..be57898 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/3] ARM: multi_v7_defconfig: enable rockchip crypto module
  2015-12-21 21:21 ` Heiko Stübner
@ 2015-12-21 21:21   ` Heiko Stübner
  -1 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:21 UTC (permalink / raw)
  To: arm-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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

Signed-off-by: Heiko Stuebner <heiko.stuebner-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index be57898..ff7eb19 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/3] ARM: multi_v7_defconfig: enable rockchip crypto module
@ 2015-12-21 21:21   ` Heiko Stübner
  0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:21 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index be57898..ff7eb19 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/3] ARM: multi_v7_defconfig: enable rk808 clkout module
  2015-12-21 21:21 ` Heiko Stübner
@ 2015-12-21 21:22   ` Heiko Stübner
  -1 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:22 UTC (permalink / raw)
  To: arm-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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.

Signed-off-by: Heiko Stuebner <heiko.stuebner-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index ff7eb19..2fa39c1 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/3] ARM: multi_v7_defconfig: enable rk808 clkout module
@ 2015-12-21 21:22   ` Heiko Stübner
  0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-21 21:22 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index ff7eb19..2fa39c1 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
  2015-12-21 21:21 ` Heiko Stübner
@ 2015-12-22 22:56   ` Olof Johansson
  -1 siblings, 0 replies; 10+ messages in thread
From: Olof Johansson @ 2015-12-22 22:56 UTC (permalink / raw)
  To: Heiko St?bner
  Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	arm-DgEjT+Ai2ygdnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Mon, Dec 21, 2015 at 10:21:14PM +0100, Heiko St?bner wrote:
> 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.
> 
> Signed-off-by: Heiko Stuebner <heiko.stuebner-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
> ---
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
@ 2015-12-22 22:56   ` Olof Johansson
  0 siblings, 0 replies; 10+ messages in thread
From: Olof Johansson @ 2015-12-22 22:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 21, 2015 at 10:21:14PM +0100, Heiko St?bner wrote:
> 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.
> 
> Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
> ---
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
  2015-12-22 22:56   ` Olof Johansson
@ 2015-12-23  0:10     ` Heiko Stübner
  -1 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-23  0:10 UTC (permalink / raw)
  To: Olof Johansson
  Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	arm-DgEjT+Ai2ygdnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Am Dienstag, 22. Dezember 2015, 14:56:14 schrieb Olof Johansson:
> On Mon, Dec 21, 2015 at 10:21:14PM +0100, Heiko St?bner wrote:
> > 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.
> > 
> > Signed-off-by: Heiko Stuebner <heiko.stuebner-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
> > ---
> > 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 :)

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 ;-)


> Anyway, applied 1-3.

Thanks
Heiko

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver
@ 2015-12-23  0:10     ` Heiko Stübner
  0 siblings, 0 replies; 10+ messages in thread
From: Heiko Stübner @ 2015-12-23  0:10 UTC (permalink / raw)
  To: linux-arm-kernel

Am Dienstag, 22. Dezember 2015, 14:56:14 schrieb Olof Johansson:
> On Mon, Dec 21, 2015 at 10:21:14PM +0100, Heiko St?bner wrote:
> > 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.
> > 
> > Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
> > ---
> > 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 :)

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 ;-)


> Anyway, applied 1-3.

Thanks
Heiko

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-23  0:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 21:21 [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver Heiko Stübner
2015-12-21 21:21 ` Heiko Stübner
2015-12-21 21:21 ` [PATCH 2/3] ARM: multi_v7_defconfig: enable rockchip crypto module Heiko Stübner
2015-12-21 21:21   ` Heiko Stübner
2015-12-21 21:22 ` [PATCH 3/3] ARM: multi_v7_defconfig: enable rk808 clkout module Heiko Stübner
2015-12-21 21:22   ` Heiko Stübner
2015-12-22 22:56 ` [PATCH 1/3] ARM: multi_v7_defconfig: enable Rockchip io-domain driver Olof Johansson
2015-12-22 22:56   ` Olof Johansson
2015-12-23  0:10   ` Heiko Stübner
2015-12-23  0:10     ` Heiko Stübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.