All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot
@ 2017-07-13  2:59 Meng Dongyang
  2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
  2017-07-14 13:50 ` [U-Boot] [PATCH] rockchip: " Simon Glass
  0 siblings, 2 replies; 8+ messages in thread
From: Meng Dongyang @ 2017-07-13  2:59 UTC (permalink / raw)
  To: u-boot

The dwc2 gadget function will get address from DT when fastboot start,
so we need to add dwc2 node to support fastboot.

Meng Dongyang (1):
  rockchip: dts: rk3229: add dwc2 node for fastboot

 arch/arm/dts/rk3229-evb.dts |  4 ++++
 arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
 2 files changed, 14 insertions(+)

-- 
1.9.1

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

* [U-Boot] [PATCH] rockchip: dts: rk3229: add dwc2 node for fastboot
  2017-07-13  2:59 [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot Meng Dongyang
@ 2017-07-13  2:59 ` Meng Dongyang
  2017-07-13  7:24   ` [U-Boot] " Philipp Tomsich
                     ` (2 more replies)
  2017-07-14 13:50 ` [U-Boot] [PATCH] rockchip: " Simon Glass
  1 sibling, 3 replies; 8+ messages in thread
From: Meng Dongyang @ 2017-07-13  2:59 UTC (permalink / raw)
  To: u-boot

Add dwc2 node for fastboot to init dwc2 controller.

Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
---
 arch/arm/dts/rk3229-evb.dts |  4 ++++
 arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts
index ccdac1c..37137c2 100644
--- a/arch/arm/dts/rk3229-evb.dts
+++ b/arch/arm/dts/rk3229-evb.dts
@@ -75,3 +75,7 @@
 &uart2 {
 	status = "okay";
 };
+
+&usb20_otg {
+       status = "okay";
+};
diff --git a/arch/arm/dts/rk322x.dtsi b/arch/arm/dts/rk322x.dtsi
index 7237da4..4f2a1f6 100644
--- a/arch/arm/dts/rk322x.dtsi
+++ b/arch/arm/dts/rk322x.dtsi
@@ -403,6 +403,16 @@
 		status = "disabled";
 	};
 
+	usb20_otg: usb at 30040000 {
+		compatible = "rockchip,rk3229-usb", "rockchip,rk3288-usb",
+			     "snps,dwc2";
+		reg = <0x30040000 0x40000>;
+		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
+		hnp-srp-disable;
+		dr_mode = "otg";
+		status = "disabled";
+	};
+
 	gmac: ethernet at 30200000 {
 		compatible = "rockchip,rk3228-gmac";
 		reg = <0x30200000 0x10000>;
-- 
1.9.1

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

* [U-Boot] rockchip: dts: rk3229: add dwc2 node for fastboot
  2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
@ 2017-07-13  7:24   ` Philipp Tomsich
  2017-07-26 16:52   ` Philipp Tomsich
  2017-07-27  8:33   ` Philipp Tomsich
  2 siblings, 0 replies; 8+ messages in thread
From: Philipp Tomsich @ 2017-07-13  7:24 UTC (permalink / raw)
  To: u-boot

> Add dwc2 node for fastboot to init dwc2 controller.
> 
> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> ---
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

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

* [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot
  2017-07-13  2:59 [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot Meng Dongyang
  2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
@ 2017-07-14 13:50 ` Simon Glass
  2017-07-14 13:53   ` Dr. Philipp Tomsich
  1 sibling, 1 reply; 8+ messages in thread
From: Simon Glass @ 2017-07-14 13:50 UTC (permalink / raw)
  To: u-boot

Hi Meng,

On 12 July 2017 at 20:59, Meng Dongyang <daniel.meng@rock-chips.com> wrote:
> The dwc2 gadget function will get address from DT when fastboot start,
> so we need to add dwc2 node to support fastboot.
>
> Meng Dongyang (1):
>   rockchip: dts: rk3229: add dwc2 node for fastboot
>
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
>
> --
> 1.9.1
>
>

The patch seems to be missing.

- Simon

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

* [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot
  2017-07-14 13:50 ` [U-Boot] [PATCH] rockchip: " Simon Glass
@ 2017-07-14 13:53   ` Dr. Philipp Tomsich
  2017-07-14 14:02     ` Simon Glass
  0 siblings, 1 reply; 8+ messages in thread
From: Dr. Philipp Tomsich @ 2017-07-14 13:53 UTC (permalink / raw)
  To: u-boot

Simon,

the patch is in Patchworks and seems to have been picked from the same mail that you replied to:
	https://patchwork.ozlabs.org/patch/787493/

Philipp.

> On 14 Jul 2017, at 15:50, Simon Glass <sjg@chromium.org> wrote:
> 
> Hi Meng,
> 
> On 12 July 2017 at 20:59, Meng Dongyang <daniel.meng@rock-chips.com> wrote:
>> The dwc2 gadget function will get address from DT when fastboot start,
>> so we need to add dwc2 node to support fastboot.
>> 
>> Meng Dongyang (1):
>>  rockchip: dts: rk3229: add dwc2 node for fastboot
>> 
>> arch/arm/dts/rk3229-evb.dts |  4 ++++
>> arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>> 2 files changed, 14 insertions(+)
>> 
>> --
>> 1.9.1
>> 
>> 
> 
> The patch seems to be missing.
> 
> - Simon

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

* [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot
  2017-07-14 13:53   ` Dr. Philipp Tomsich
@ 2017-07-14 14:02     ` Simon Glass
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Glass @ 2017-07-14 14:02 UTC (permalink / raw)
  To: u-boot

Hi Phlipp,

On 14 July 2017 at 07:53, Dr. Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Simon,
>
> the patch is in Patchworks and seems to have been picked from the same mail that you replied to:
>         https://patchwork.ozlabs.org/patch/787493/
>

OK that's good then.

Regards,
Simon

> Philipp.
>
>> On 14 Jul 2017, at 15:50, Simon Glass <sjg@chromium.org> wrote:
>>
>> Hi Meng,
>>
>> On 12 July 2017 at 20:59, Meng Dongyang <daniel.meng@rock-chips.com> wrote:
>>> The dwc2 gadget function will get address from DT when fastboot start,
>>> so we need to add dwc2 node to support fastboot.
>>>
>>> Meng Dongyang (1):
>>>  rockchip: dts: rk3229: add dwc2 node for fastboot
>>>
>>> arch/arm/dts/rk3229-evb.dts |  4 ++++
>>> arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>>> 2 files changed, 14 insertions(+)
>>>
>>> --
>>> 1.9.1
>>>
>>>
>>
>> The patch seems to be missing.
>>
>> - Simon
>

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

* [U-Boot] rockchip: dts: rk3229: add dwc2 node for fastboot
  2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
  2017-07-13  7:24   ` [U-Boot] " Philipp Tomsich
@ 2017-07-26 16:52   ` Philipp Tomsich
  2017-07-27  8:33   ` Philipp Tomsich
  2 siblings, 0 replies; 8+ messages in thread
From: Philipp Tomsich @ 2017-07-26 16:52 UTC (permalink / raw)
  To: u-boot

> Add dwc2 node for fastboot to init dwc2 controller.
> 
> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

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

* [U-Boot] rockchip: dts: rk3229: add dwc2 node for fastboot
  2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
  2017-07-13  7:24   ` [U-Boot] " Philipp Tomsich
  2017-07-26 16:52   ` Philipp Tomsich
@ 2017-07-27  8:33   ` Philipp Tomsich
  2 siblings, 0 replies; 8+ messages in thread
From: Philipp Tomsich @ 2017-07-27  8:33 UTC (permalink / raw)
  To: u-boot

> Add dwc2 node for fastboot to init dwc2 controller.
> 
> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Applied to u-boot-rockchip, thanks!

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

end of thread, other threads:[~2017-07-27  8:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-13  2:59 [U-Boot] [PATCH] rockchip: rk3229: add dwc2 node for fastboot Meng Dongyang
2017-07-13  2:59 ` [U-Boot] [PATCH] rockchip: dts: " Meng Dongyang
2017-07-13  7:24   ` [U-Boot] " Philipp Tomsich
2017-07-26 16:52   ` Philipp Tomsich
2017-07-27  8:33   ` Philipp Tomsich
2017-07-14 13:50 ` [U-Boot] [PATCH] rockchip: " Simon Glass
2017-07-14 13:53   ` Dr. Philipp Tomsich
2017-07-14 14:02     ` 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.