Thread (26 messages) 26 messages, 9 authors, 2016-08-29

Re: [PATCH 4/4] ARM: dts: rockchip: Point rk3288 dwc2 usb at the full PHY reset

From: ayaka <hidden>
Date: 2016-08-21 12:19:56
Also in: linux-rockchip, lkml

Possibly related (same subject, not in this thread)


On 08/21/2016 07:06 PM, Sergei Shtylyov wrote:
Hello.

On 8/21/2016 10:56 AM, Randy Li wrote:
quoted
The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288
has a hardware errata that causes everything to get confused when we get
a remote wakeup.  We'll use the reset that's in the CRU to reset the
port when it's in a bad state.

Note that we add the reset to both dwc2 controllers even though only one
has the errata in case we find some other use for this reset that's
unrelated to the current hardware errata.  Only the host port gets the
quirk property, though.

This patch came from Doug Anderson [off-list ref] originally.
   Was it signed off by him? Don't you need to keep his authorship via 
th "From:" tag?
I would rather the idea comes from him, but the implementation is 
different. I don't which tag would be
better? If the "From:" would be the best choice. I would resend the last 
two patches.
quoted
Signed-off-by: Randy Li <ayaka-xPW3/0Ywev/iB9QmIjCX8w@public.gmane.org>
---
 arch/arm/boot/dts/rk3288.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi 
b/arch/arm/boot/dts/rk3288.dtsi
index 48ca4e4..646f49d 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
[...]
quoted
@@ -871,6 +873,9 @@
                 clocks = <&cru SCLK_OTGPHY2>;
                 clock-names = "phyclk";
                 #clock-cells = <0>;
+                resets = <&cru SRST_USBHOST1_PHY>;
+                reset-names = "phy-reset";
+
   Don't need empty line here.
I would be removed
quoted
             };
         };
     };
MBR , Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help