From: Benoit Cousson <bcousson@baylibre.com>
To: Roger Quadros <rogerq@ti.com>
Cc: balbi@ti.com, tony@atomide.com, p.zabel@pengutronix.de,
broonie@kernel.org, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2 0/9] USB: phy: phy-nop: Manage RESET GPIO in the driver
Date: Fri, 16 Aug 2013 12:52:17 +0200 [thread overview]
Message-ID: <520E0461.70305@baylibre.com> (raw)
In-Reply-To: <1376561909-4406-1-git-send-email-rogerq@ti.com>
Hi Roger,
On 15/08/2013 12:18, Roger Quadros wrote:
> 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-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.
>
> 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-es
>
> v2:
> - Added RESET GPIO polarity feature
> - Changed to gpio_set_value_cansleep()
>
> cheers,
> -roger
>
> ---
> Roger Quadros (9):
> usb: phy: nop: Add gpio_reset to platform data
> usb: phy: nop: 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_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
WARNING: multiple messages have this Message-ID (diff)
From: bcousson@baylibre.com (Benoit Cousson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/9] USB: phy: phy-nop: Manage RESET GPIO in the driver
Date: Fri, 16 Aug 2013 12:52:17 +0200 [thread overview]
Message-ID: <520E0461.70305@baylibre.com> (raw)
In-Reply-To: <1376561909-4406-1-git-send-email-rogerq@ti.com>
Hi Roger,
On 15/08/2013 12:18, Roger Quadros wrote:
> 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-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.
>
> 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-es
>
> v2:
> - Added RESET GPIO polarity feature
> - Changed to gpio_set_value_cansleep()
>
> cheers,
> -roger
>
> ---
> Roger Quadros (9):
> usb: phy: nop: Add gpio_reset to platform data
> usb: phy: nop: 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_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
next prev parent reply other threads:[~2013-08-16 10:52 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 10:18 [PATCH v2 0/9] USB: phy: phy-nop: Manage RESET GPIO in the driver Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 2/9] usb: phy: nop: Don't use regulator framework for RESET line Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-09-23 18:05 ` Roger Quadros
2013-09-23 18:05 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 5/9] ARM: dts: omap3-beagle: Use reset-gpios for hsusb2_reset Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 7/9] ARM: dts: omap5-uevm: " Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 8/9] ARM: dts: omap3-beagle: Make USB host pin naming consistent Roger Quadros
2013-08-15 10:18 ` Roger Quadros
[not found] ` <1376561909-4406-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-08-15 10:18 ` [PATCH v2 1/9] usb: phy: nop: Add gpio_reset to platform data Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 3/9] ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-09-20 15:44 ` Felipe Balbi
2013-09-20 15:44 ` Felipe Balbi
2013-09-20 16:18 ` Tony Lindgren
2013-09-20 16:18 ` Tony Lindgren
2013-09-20 16:24 ` Felipe Balbi
2013-09-20 16:24 ` Felipe Balbi
2013-08-15 10:18 ` [PATCH v2 4/9] ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 6/9] ARM: dts: omap4-panda: Use reset-gpios for hsusb1_reset Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-15 10:18 ` [PATCH v2 9/9] ARM: dts: omap3-beagle-xm: Add USB Host support Roger Quadros
2013-08-15 10:18 ` Roger Quadros
2013-08-16 10:52 ` Benoit Cousson [this message]
2013-08-16 10:52 ` [PATCH v2 0/9] USB: phy: phy-nop: Manage RESET GPIO in the driver Benoit Cousson
2013-08-19 7:37 ` Roger Quadros
2013-08-19 7:37 ` Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=520E0461.70305@baylibre.com \
--to=bcousson@baylibre.com \
--cc=balbi@ti.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=rogerq@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.