Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-06-05 Thread sjg
On 31 May 2017 at 10:17, Philipp Tomsich
 wrote:
> On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up
> to save power and needs to be woken up using GPIO4A3.
>
> Note that this is not a negated reset-signal (due to a level shifter
> being needed for this signal anyway), but a negated enable-signal:
> to enable, we need to output LOW (i.e. 0)... so we mark this as an
> ACTIVE_LOW signal.
>
> Signed-off-by: Philipp Tomsich 
> ---
>
>  arch/arm/dts/rk3399-puma.dts | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass 

Applied to u-boot-rockchip, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-06-01 Thread Simon Glass
On 31 May 2017 at 10:17, Philipp Tomsich
 wrote:
> On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up
> to save power and needs to be woken up using GPIO4A3.
>
> Note that this is not a negated reset-signal (due to a level shifter
> being needed for this signal anyway), but a negated enable-signal:
> to enable, we need to output LOW (i.e. 0)... so we mark this as an
> ACTIVE_LOW signal.
>
> Signed-off-by: Philipp Tomsich 
> ---
>
>  arch/arm/dts/rk3399-puma.dts | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-05-31 Thread Philipp Tomsich
On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up
to save power and needs to be woken up using GPIO4A3.

Note that this is not a negated reset-signal (due to a level shifter
being needed for this signal anyway), but a negated enable-signal:
to enable, we need to output LOW (i.e. 0)... so we mark this as an
ACTIVE_LOW signal.

Signed-off-by: Philipp Tomsich 
---

 arch/arm/dts/rk3399-puma.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/rk3399-puma.dts b/arch/arm/dts/rk3399-puma.dts
index 5d9dfb5..7009fde 100644
--- a/arch/arm/dts/rk3399-puma.dts
+++ b/arch/arm/dts/rk3399-puma.dts
@@ -124,7 +124,7 @@
 };
 
 _typec0 {
-   status = "okay";
+   status = "disabled";
 };
 
 _host1_ehci {
@@ -136,6 +136,7 @@
 };
 
 _typec1 {
+   rockchip,vbus-gpio = < 3 GPIO_ACTIVE_LOW>;
status = "okay";
 };
 
@@ -182,7 +183,7 @@
 
compatible = "spi-flash";
reg = <0>;
-   spi-max-frequency = <500>;
+   spi-max-frequency = <4950>;
spi-cpol;
spi-cpha;
};
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot