devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] USB: phy: phy-nop: Manage RESET GPIO in the driver
@ 2013-09-24  8:53 Roger Quadros
       [not found] ` <1380012836-29900-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: Roger Quadros @ 2013-09-24  8:53 UTC (permalink / raw)
  To: balbi, bcousson, tony
  Cc: devicetree, linux-usb, linux-kernel, broonie, p.zabel, linux-omap,
	linux-arm-kernel, Roger Quadros

Hi,

Modelling the RESET line as a regulator supply wasn't a good idea
as it abuses the regulator framework and makes adaptation
code/data more complex.

Instead, manage the RESET gpio line directly in the driver.

This also makes us easy to migrate to a dedicated GPIO RESET controller
whenever it becomes available.

Apart from RESET line changes this series also adds USB host support
fro beagle-xm and fixes USB OTG port on beagle.

The full series is avilable at
	git://github.com/rogerq/linux.git
in branch
	phy-reset

*NOTE:* As there are changes to platform data, Patch 1 needs to be shared
between the arm-soc tree and usb tree.

Patch 1 is available at repo
	git://github.com/rogerq/linux.git
in branch
	phy-reset-common

Patch 2 contains the phy-nop driver changes
Patches 3 and 4 adapt legacy boot code to the phy-nop driver changes.
Patches 5, 6 and 7 adapt DT data to the binding changes.
Patch 8 is cleanup of omap3-beagle DT.
Patch 9 adds USB host support to omap3-beagle-xm using the new binding.
Patch 10 fixes USB OTG port on beagle.

Patches are based on v3.12-rc1

Tested leacy boot on omap3-beagle and omap3-beagle-xm
Tested DT boot on omap3-beagle, omap3-beagle-xm and omap4-panda-es

v3:
- Fix the Initial state of RESET line at probe time.
- Update hsusb3_reset line on omap5-uevm as well.
- Add patch 10 that fixes USB OTG port on beagle.

v2:
- Added RESET GPIO polarity feature
- Changed to gpio_set_value_cansleep()

cheers,
-roger

Roger Quadros (10):
  usb: phy: generic: Add gpio_reset to platform data
  usb: phy: generic: Don't use regulator framework for RESET line
  ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct
    usbhs_phy_data
  ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes
  ARM: dts: omap3-beagle: Use reset-gpios for hsusb2_reset
  ARM: dts: omap4-panda: Use reset-gpios for hsusb1_reset
  ARM: dts: omap5-uevm: Use reset-gpios for hsusb2/3_reset
  ARM: dts: omap3-beagle: Make USB host pin naming consistent
  ARM: dts: omap3-beagle-xm: Add USB Host support
  ARM: dts: omap3-beagle: Add USB OTG PHY details

 .../devicetree/bindings/usb/usb-nop-xceiv.txt      |    7 +-
 arch/arm/boot/dts/omap3-beagle-xm.dts              |   65 +++++++++++++--
 arch/arm/boot/dts/omap3-beagle.dts                 |   44 +++++------
 arch/arm/boot/dts/omap4-panda-common.dtsi          |   18 +----
 arch/arm/boot/dts/omap5-uevm.dts                   |   26 +------
 arch/arm/mach-omap2/board-omap3beagle.c            |    6 --
 arch/arm/mach-omap2/usb-host.c                     |   18 ++--
 arch/arm/mach-omap2/usb.h                          |    1 -
 drivers/usb/phy/phy-am335x.c                       |    2 +-
 drivers/usb/phy/phy-generic.c                      |   84 +++++++++++++-------
 drivers/usb/phy/phy-generic.h                      |    6 +-
 include/linux/usb/usb_phy_gen_xceiv.h              |    3 +-
 12 files changed, 153 insertions(+), 127 deletions(-)

-- 
1.7.4.1

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

end of thread, other threads:[~2013-11-26 22:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24  8:53 [PATCH v3 00/10] USB: phy: phy-nop: Manage RESET GPIO in the driver Roger Quadros
     [not found] ` <1380012836-29900-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-09-24  8:53   ` [PATCH v3 01/10] usb: phy: generic: Add gpio_reset to platform data Roger Quadros
2013-09-24  8:53   ` [PATCH v3 03/10] ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data Roger Quadros
     [not found]     ` <1380012836-29900-4-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-10-02 10:19       ` Roger Quadros
2013-10-03  4:03         ` Tony Lindgren
2013-09-24  8:53   ` [PATCH v3 04/10] ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes Roger Quadros
2013-10-02 10:20     ` Roger Quadros
     [not found]       ` <524BF354.3000502-l0cyMroinI0@public.gmane.org>
2013-10-03  4:03         ` Tony Lindgren
2013-09-24  8:53   ` [PATCH v3 05/10] ARM: dts: omap3-beagle: Use reset-gpios for hsusb2_reset Roger Quadros
2013-10-03 10:34     ` Roger Quadros
     [not found]       ` <524D483D.9040907-l0cyMroinI0@public.gmane.org>
2013-10-03 12:05         ` Benoit Cousson
2013-10-03 13:44           ` Benoit Cousson
     [not found]             ` <524D74A5.7010604-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2013-10-03 13:58               ` Roger Quadros
     [not found]                 ` <524D780C.1090708-l0cyMroinI0@public.gmane.org>
2013-10-03 14:25                   ` Benoit Cousson
2013-09-24  8:53   ` [PATCH v3 07/10] ARM: dts: omap5-uevm: Use reset-gpios for hsusb2/3_reset Roger Quadros
2013-09-24  8:53 ` [PATCH v3 02/10] usb: phy: generic: Don't use regulator framework for RESET line Roger Quadros
2013-09-24  8:53 ` [PATCH v3 06/10] ARM: dts: omap4-panda: Use reset-gpios for hsusb1_reset Roger Quadros
2013-09-24  8:53 ` [PATCH v3 08/10] ARM: dts: omap3-beagle: Make USB host pin naming consistent Roger Quadros
2013-09-24  8:53 ` [PATCH v3 09/10] ARM: dts: omap3-beagle-xm: Add USB Host support Roger Quadros
     [not found]   ` <1380012836-29900-10-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-11-19 21:05     ` Nishanth Menon
2013-11-20 10:32       ` Roger Quadros
2013-11-26 21:04         ` Tony Lindgren
2013-11-26 22:15           ` Nishanth Menon
2013-09-24  8:53 ` [PATCH v3 10/10] ARM: dts: omap3-beagle: Add USB OTG PHY details Roger Quadros
2013-10-03 10:32 ` [PATCH v3 00/10] USB: phy: phy-nop: Manage RESET GPIO in the driver Roger Quadros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).