Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254863

[PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

From Douglas Anderson <dianders@chromium.org>
Newsgroups linux.kernel
Subject [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port
Date 2015-10-23 20:30 +0200
Message-ID <qmPgd-112-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.  It appears that the "port reset" bit that's in the USB
phy (located in the rk3288 GRF) fixes things up and appears safe to do.

This series of patches exports the "port reset" from the PHY and then
hooks it up to dwc2 through a quirk.

I've tested this series atop a bit of a conglomeration of Heiko's github
"somewhat stable" branch (v4.3-rc3-876-g6509232) but with Greg KH's
usb-next merged in.

These patches currently conflict with patches that I posted previously
to enable USB wakeup from S3, specifically:
* https://patchwork.kernel.org/patch/6727081/
* https://patchwork.kernel.org/patch/6727121/
...those patches no longer apply anyway, so presumably they need to be
reposted and I can do so later atop these patches.


Douglas Anderson (4):
  phy: rockchip-usb: Support the PHY's "port reset"
  usb: dwc2: optionally assert phy "port reset" when waking up
  ARM: dts: rockchip: Enable the USB phys as reset providers on rk3288
  ARM: dts: rockchip: Point rk3288 dwc2 usb at phy port reset

 .../devicetree/bindings/phy/rockchip-usb-phy.txt   |  6 ++
 Documentation/devicetree/bindings/usb/dwc2.txt     |  7 ++
 arch/arm/boot/dts/rk3288.dtsi                      |  8 +++
 drivers/phy/phy-rockchip-usb.c                     | 74 ++++++++++++++++++++++
 drivers/usb/dwc2/core.h                            |  5 ++
 drivers/usb/dwc2/core_intr.c                       |  7 ++
 drivers/usb/dwc2/platform.c                        | 13 ++++
 7 files changed, 120 insertions(+)

-- 
2.6.0.rc2.230.g3dd15c0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Douglas Anderson <dianders@chromium.org> - 2015-10-23 20:30 +0200
  [PATCH 2/4] usb: dwc2: optionally assert phy "port reset" when waking up Douglas Anderson <dianders@chromium.org> - 2015-10-23 20:30 +0200
  [PATCH 4/4] ARM: dts: rockchip: Point rk3288 dwc2 usb at phy port reset Douglas Anderson <dianders@chromium.org> - 2015-10-23 20:30 +0200
  [PATCH 3/4] ARM: dts: rockchip: Enable the USB phys as reset providers on rk3288 Douglas Anderson <dianders@chromium.org> - 2015-10-23 20:30 +0200
  Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Heiko Stübner <heiko@sntech.de> - 2015-10-24 14:30 +0200
  Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host"  port Rob Herring <robh@kernel.org> - 2015-10-24 18:40 +0200
    Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Doug Anderson <dianders@chromium.org> - 2015-10-24 23:30 +0200
      Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Rob Herring <robh@kernel.org> - 2015-10-27 00:10 +0100
        Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Doug Anderson <dianders@chromium.org> - 2015-10-27 01:00 +0100
          Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port Doug Anderson <dianders@chromium.org> - 2015-10-27 02:50 +0100

csiph-web