USB: phy: phy-nop: Manage RESET GPIO in the driver
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 9 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] USB: phy: phy-nop: Manage RESET GPIO in the driver
Hi Roger,
Quoted 37 lines · 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. As of now, it doesn't seem to be making it into 3.12.
*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-commonPatch 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.Patches are based on v3.11-rc5.
Tested leacy boot on omap3-beagle and omap3-beagle-xm Tested DT boot on omap3-beagle, omap3-beagle-xm and omap4-panda-esv2:
- Added RESET GPIO polarity feature
- Changed togpio_set_value_cansleep()cheers,
-roger
Quoted 12 lines
---
Roger Quadros (9):
usb: phy: nop: Addgpio_resetto platform data
usb: phy: nop: Don't use regulator framework for RESET line
ARM: OMAP2+: omap-usb-host: Get rid ofplatform_datafrom struct
usbhs_phy_data
ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes
ARM: dts: omap3-beagle: Use reset-gpios forhsusb2_reset
ARM: dts: omap4-panda: Use reset-gpios forhsusb1_reset
ARM: dts: omap5-uevm: Use reset-gpios forhsusb2_reset
ARM: dts: omap3-beagle: Make USB host pin naming consistent
ARM: dts: omap3-beagle-xm: Add USB Host support
The 5 DTS patches looks good to me, and I can apply them, but you need to be sure that the driver will be merged for 3.12 as well.
Regards,
Benoit