Re: [PATCH 3/3] ARM: dts: imx6q-evi: Fix onboard hub reset line

2016-08-12 Thread Joshua Clayton
Hi Peter, On 08/11/2016 08:11 PM, Peter Chen wrote: > On Thu, Aug 11, 2016 at 09:40:32AM -0700, Joshua Clayton wrote: >> Previously the onboard hub was made to work by treating its >> reset gpio as a regulator enable. >> Get rid of that kludge now that pwseq has added reset

[PATCHES] ARM: dts: update udoo and evi hubs to use pwrseq

2016-08-11 Thread Joshua Clayton
Hi Peter, Consider this my attempt to squeeze my own dts into your patch series. These patches repalce patch 6 in V5. of the usb pwrseq series I adding a #address and #size to imx6qdl.dtsi in patch 1 and remove those lines from imx6qdl-udoo.dtsi in patch 2 (formerly patch 6) Finally I make the ch

[PATCH 2/3] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2016-08-11 Thread Joshua Clayton
From: Peter Chen The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Signed-off-by: Peter Chen Signed-off-by: Joshua Clayton --- arch/ar

[PATCH 1/3] ARM: dts: imx6qdl: Enable usb node children with

2016-08-11 Thread Joshua Clayton
Give usb nodes #address and #size attributes, so that a child node representing a permanently connected device such as an onboard hub may be addressed with a attribute Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6qdl.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a

[PATCH 3/3] ARM: dts: imx6q-evi: Fix onboard hub reset line

2016-08-11 Thread Joshua Clayton
Previously the onboard hub was made to work by treating its reset gpio as a regulator enable. Get rid of that kludge now that pwseq has added reset gpio support Move pin muxing the hub reset pin into the usbh1 group Signed-off-by: Joshua Clayton --- arch/arm/boot/dts/imx6q-evi.dts | 25

Re: [PATCH v5 6/6] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2016-08-09 Thread Joshua Clayton
Hi Peter, On 08/08/2016 01:52 AM, Peter Chen wrote: > The current dts describes USB HUB's property at USB controller's > entry, it is improper. The USB HUB should be the child node > under USB controller, and power sequence properties are under > it. > > Signed-off-by: Peter Chen > --- > arch/ar

Re: [PATCH v3 0/6] power: add power sequence library

2016-08-01 Thread Joshua Clayton
On 07/28/2016 09:41 AM, Fabio Estevam wrote: > Hi Joshua, > > On Thu, Jul 28, 2016 at 12:56 PM, Joshua Clayton > wrote: > >> I assume there is a v4 coming due to rmk's comments on patch 5. >> I couldn't figure out where to null the of_node in error paths, bu

Re: [PATCH v3 4/6] usb: core: add power sequence handling for USB devices

2016-07-28 Thread Joshua Clayton
Peter, On 07/27/2016 06:45 PM, Peter Chen wrote: > On Wed, Jul 27, 2016 at 09:25:11AM -0700, Joshua Clayton wrote: >> Patch 4 does not apply for me >> (The Makefile has a "usbcore-$(CONFIG_OF) += of.o" >> line which I don't see in 4.7 or linux/next master)

Re: [PATCH v3 0/6] power: add power sequence library

2016-07-28 Thread Joshua Clayton
ings/power/pwrseq/pwrseq-generic.txt > create mode 100644 drivers/power/pwrseq/Kconfig > create mode 100644 drivers/power/pwrseq/Makefile > create mode 100644 drivers/power/pwrseq/core.c > create mode 100644 drivers/power/pwrseq/pwrseq_generic.c > create mode 100644 drivers/usb/

Re: [PATCH v3 4/6] usb: core: add power sequence handling for USB devices

2016-07-27 Thread Joshua Clayton
On 07/20/2016 02:40 AM, Peter Chen wrote: > Some hard-wired USB devices need to do power sequence to let the > device work normally, the typical power sequence like: enable USB > PHY clock, toggle reset pin, etc. But current Linux USB driver > lacks of such code to do it, it may cause some hard-w

Re: [PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity

2016-07-18 Thread Joshua Clayton
Greetings, On 07/18/2016 04:15 AM, Li Jun wrote: > Adding over-current-polarity to indicate the over current flag > is low active or high active. > > Signed-off-by: Li Jun > --- > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Doc

Re: [PATCH v2 1/6] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2016-07-13 Thread Joshua Clayton
On 07/13/2016 01:42 AM, Peter Chen wrote: > On Wed, Jul 13, 2016 at 09:27:31AM +0200, Philipp Zabel wrote: >> Am Mittwoch, den 13.07.2016, 10:06 +0800 schrieb Peter Chen: >>> Add binding doc for generic power sequence library. >>> >>> Signed-off-by: Peter Chen >>> --- >>> .../bindings/power/pwr

Re: [PATCH 1/6] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2016-07-07 Thread Joshua Clayton
On 07/07/2016 02:47 AM, Philipp Zabel wrote: > Am Donnerstag, den 07.07.2016, 17:14 +0800 schrieb Peter Chen: >> Add binding doc for generic power sequence library. >> >> Signed-off-by: Peter Chen >> --- >> .../bindings/power/pwrseq/pwrseq-generic.txt | 56 >> ++ >> 1