Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Alan Stern
On Tue, 21 Apr 2015, Ivan T. Ivanov wrote: > > On Tue, 2015-04-21 at 11:04 -0400, Alan Stern wrote: > > On Tue, 21 Apr 2015, Ivan T. Ivanov wrote: > > > > > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use > > > devm_ioremap_resource instead of devm_ioremap"), because msm_otg > > > an

Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Ivan T. Ivanov
On Tue, 2015-04-21 at 11:04 -0400, Alan Stern wrote: > On Tue, 21 Apr 2015, Ivan T. Ivanov wrote: > > > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use > > devm_ioremap_resource instead of devm_ioremap"), because msm_otg > > and this driver are using same address space to access AHB m

Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Alan Stern
On Tue, 21 Apr 2015, Ivan T. Ivanov wrote: > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use > devm_ioremap_resource instead of devm_ioremap"), because msm_otg > and this driver are using same address space to access AHB mode > and USB command registers. Um, this patch is in fact _not

Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Ivan T. Ivanov
On Tue, 2015-04-21 at 16:46 +0530, Vivek Gautam wrote: > Hi, > > On Tuesday, April 21, 2015 12:41 PM "Ivan T. Ivanov" > iva...@linaro.org> wrote: > > This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use > > devm_ioremap_resource instead of devm_ioremap"), because msm_otg > > and this drive

Re: [PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Vivek Gautam
Hi, On Tuesday, April 21, 2015 12:41 PM "Ivan T. Ivanov" wrote: This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"), because msm_otg and this driver are using same address space to access AHB mode and USB command registers. Cc: Vivek Gaut

Re: [RFC 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-21 Thread Geert Uytterhoeven
On Tue, Apr 21, 2015 at 10:56 AM, Rajendra Nayak wrote: >> Note that the new code always has a dev_pm_domain, while the old code had >> it >> conditionally on CONFIG_PM. > > Right, but since USE_PM_CLK_RUNTIME_OPS is actually a nop with > !CONFIG_PM, we don't really need the checks anymore. What

Re: [RFC 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-21 Thread Rajendra Nayak
> On Tue, Apr 21, 2015 at 1:25 AM, santosh shilimkar > wrote: >> On 4/20/2015 4:21 PM, Kevin Hilman wrote: >>> >>> Rajendra Nayak writes: >>> Most users of PM clocks do the exact same thing in runtime callbacks. >>> >>> >>> Probably because they were all copied from mach-davinci. ;) >>> >>

Re: [RFC 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-21 Thread Geert Uytterhoeven
On Tue, Apr 21, 2015 at 1:25 AM, santosh shilimkar wrote: > On 4/20/2015 4:21 PM, Kevin Hilman wrote: >> >> Rajendra Nayak writes: >> >>> Most users of PM clocks do the exact same thing in runtime callbacks. >> >> >> Probably because they were all copied from mach-davinci. ;) >> > Yep. ;-) If yo

Re: [PATCH 1/2] usb: phy: msm: Use extcon framework for VBUS and ID detection

2015-04-21 Thread Ivan T. Ivanov
On Thu, 2015-04-09 at 11:34 +0300, Ivan T. Ivanov wrote: > On recent Qualcomm platforms VBUS and ID lines are not routed to > USB PHY LINK controller. Use extcon framework to receive connect > and disconnect ID and VBUS notification. > > Signed-off-by: Ivan T. Ivanov iva...@linaro.org> Hi Felipe

[PATCH] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-21 Thread Ivan T. Ivanov
This reverts commit 70843f623b58 ("usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"), because msm_otg and this driver are using same address space to access AHB mode and USB command registers. Cc: Vivek Gautam Signed-off-by: Ivan T. Ivanov --- drivers/usb/host/ehci-msm.c