Skip to content

USB: phy: phy-nop: Use RESET controller for managing the reset line

Roger Quadros linux-arm-kernel linux-devicetree linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6usb: phy-nop: Use RESET Controller for managing the reset lineDocumentation/devicetree/bindings/usb/usb-nop-xceiv.txt drivers/usb/phy/Kconfig drivers/usb/phy/phy-nop.c+44 -153 replies
2/6ARM: dts: omap3-beagle: Use reset-gpio driver for hsusb2_resetarch/arm/boot/dts/omap3-beagle.dts+8 -90 replies
3/6ARM: dts: omap4-panda: Use reset-gpio driver for hsusb1_resetarch/arm/boot/dts/omap4-panda-common.dtsi+8 -140 replies
4/6ARM: dts: omap5-uevm: Use reset-gpio driver for hsusb2_resetarch/arm/boot/dts/omap5-uevm.dts+8 -90 replies
5/6ARM: dts: omap3-beagle-xm: Add USB Host supportarch/arm/boot/dts/omap3-beagle-xm.dts+66 -90 replies
6/6ARM: dts: omap3-beagle: Make USB host pin naming consistentarch/arm/boot/dts/omap3-beagle.dts+12 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] USB: phy: phy-nop: Use RESET controller for managing the reset line

Hi,

Till now we were modelling the RESET line as a voltage regulator and using the regulator framework to manage it.

[1] introduces a GPIO based reset controller driver. We use that to manage the PHY reset line, at least for DT boots. For legacy boots, will still need to use the regulator framework for reset lines.

Felipe,

The first patch is for you. The Kconfig change might conflict if you apply this on top of my PHY Kconfig cleanup series.

Benoit,

Patches 2 to 6 are for you.

NOTE: All patches depend on [1] which is yet to be merged in.

cheers,
-roger

[1] - http://thread.gmane.org/gmane.linux.drivers.devicetree/41348

Roger Quadros (6):
usb: phy-nop: Use RESET Controller for managing the reset line
ARM: dts: omap3-beagle: Use reset-gpio driver for hsusb2_reset
ARM: dts: omap4-panda: Use reset-gpio driver for hsusb1_reset
ARM: dts: omap5-uevm: Use reset-gpio driver for hsusb2_reset
ARM: dts: omap3-beagle-xm: Add USB Host support
ARM: dts: omap3-beagle: Make USB host pin naming consistent

 .../devicetree/bindings/usb/usb-nop-xceiv.txt      |   10 ++-
 arch/arm/boot/dts/omap3-beagle-xm.dts              |   75 +++++++++++++++++---
 arch/arm/boot/dts/omap3-beagle.dts                 |   41 +++++------
 arch/arm/boot/dts/omap4-panda-common.dtsi          |   22 ++----
 arch/arm/boot/dts/omap5-uevm.dts                   |   17 ++---
 drivers/usb/phy/Kconfig                            |    1 +
 drivers/usb/phy/phy-nop.c                          |   48 ++++++++++---
 7 files changed, 146 insertions(+), 68 deletions(-)
Signature · 1 line
1.7.4.1