All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  rockchip: dts: firefly: add usb host power supply node
@ 2017-03-27  7:17 Eddie Cai
  2017-04-01  4:22 ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Eddie Cai @ 2017-03-27  7:17 UTC (permalink / raw)
  To: u-boot

firefly have a usb host. add dts node to provide power supply

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
---
 arch/arm/dts/rk3288-firefly.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/rk3288-firefly.dts b/arch/arm/dts/rk3288-firefly.dts
index 97568a3..59ff8bc 100644
--- a/arch/arm/dts/rk3288-firefly.dts
+++ b/arch/arm/dts/rk3288-firefly.dts
@@ -50,6 +50,11 @@
 			rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
 		};
 	};
+	usb_host {
+		host_vbus_drv: host-vbus-drv {
+			rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
 };
 
 &pwm1 {
@@ -61,6 +66,11 @@
 	reg-shift = <2>;
 };
 
+&usb_host1 {
+	vbus-supply = <&vcc_host_5v>;
+	status = "okay";
+};
+
 &sdmmc {
 	u-boot,dm-pre-reloc;
 };
-- 
2.7.4

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

* [U-Boot] rockchip: dts: firefly: add usb host power supply node
  2017-03-27  7:17 [U-Boot] rockchip: dts: firefly: add usb host power supply node Eddie Cai
@ 2017-04-01  4:22 ` Simon Glass
  2017-04-02  0:05   ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2017-04-01  4:22 UTC (permalink / raw)
  To: u-boot

On 27 March 2017 at 01:17, Eddie Cai <eddie.cai.linux@gmail.com> wrote:
> firefly have a usb host. add dts node to provide power supply
>
> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
> ---
>  arch/arm/dts/rk3288-firefly.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>

Acked-by: Simon Glass <sjg@chromium.org>

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

* [U-Boot] rockchip: dts: firefly: add usb host power supply node
  2017-04-01  4:22 ` Simon Glass
@ 2017-04-02  0:05   ` Simon Glass
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Glass @ 2017-04-02  0:05 UTC (permalink / raw)
  To: u-boot

On 31 March 2017 at 22:22, Simon Glass <sjg@chromium.org> wrote:
> On 27 March 2017 at 01:17, Eddie Cai <eddie.cai.linux@gmail.com> wrote:
>> firefly have a usb host. add dts node to provide power supply
>>
>> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
>> ---
>>  arch/arm/dts/rk3288-firefly.dts | 10 ++++++++++
>>  1 file changed, 10 insertions(+)
>>
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!

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

end of thread, other threads:[~2017-04-02  0:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  7:17 [U-Boot] rockchip: dts: firefly: add usb host power supply node Eddie Cai
2017-04-01  4:22 ` Simon Glass
2017-04-02  0:05   ` Simon Glass

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.