where we're missing
conversions.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/udc.c | 6 +++---
drivers/usb/chipidea/udc.h | 12 ++--
2 files changed,
Quoting Stephen Boyd (2016-09-07 14:35:00)
> @@ -174,6 +219,21 @@ static int ulpi_register(struct device *dev, struct ulpi
> *ulpi)
> ulpi->id.product = ulpi_read(ulpi, ULPI_PRODUCT_ID_LOW);
> ulpi->id.product |= ulpi_read(ulpi, ULPI_PRODUCT_ID_HIGH) <<
On 09/07, Martin Blumenstingl wrote:
> On Wed, Sep 7, 2016 at 2:33 AM, Stephen Boyd <sb...@codeaurora.org> wrote:
> > On 09/04, Martin Blumenstingl wrote:
> >> USB0_DDR_BRIDGE and USB1_DDR_BRIDGE1 are needed for the related
> >> dwc2 usb controller. USB, USB0
.com>
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci.h | 3 ---
drivers/usb/chipidea/core.c | 32
drivers/usb/chipidea/otg.c | 34
The ULPI bus can be built as a module, and it will soon be
calling these functions when it supports probing devices from DT.
Export them so they can be used by the ULPI module.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boy
ot;Ivan T. Ivanov" <iivanov...@gmail.com>
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/otg.c | 46 +++-
include/linux
Heikki Krogerus <heikki.kroge...@linux.intel.com>
Cc: <devicet...@vger.kernel.org>
Cc: Rob Herring <robh...@kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
Documentation/devicetree/bindings/usb/ulpi.txt | 20 +++
drivers/usb/common/ul
pin is pulled low, so we
change the name of ->state to ->connected to properly reflect
that we're interested in the cable being connected.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: "Ivan T. Ivanov" <iivanov...@gmail.com>
S
: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 7 +++
drivers/usb/chipidea/Makefile | 1 +
drivers/usb/chipidea/ci.h |
;
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/chipidea/ci_hdrc_msm.c
index 3889809fd0c4..89c1a02d69b5 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
<peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sb...@codeaurora.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 40 +++---
drivers/usb/chipidea/core.c| 8 ++--
drivers/usb/chipidea/
The HSIC USB controller on qcom SoCs has an integrated all
digital phy controlled via the ULPI viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-h
Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 1 +
drivers/usb/chipidea/ci_hdrc_msm.c | 50 --
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/dr
to be anything besides 0,
we expect the 'ahb-burst-config' dts property to be present.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 4 ++
wrapper specific things after the device
is stopped. So when we stop the host role, send the stopped
event.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ho
.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/core.c | 6 ++
include/linux/usb/chipidea.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/dr
oah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 72 +++---
1 file changed, 68 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/
The high-speed phy on qcom SoCs is controlled via the ULPI
viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-hs-phy.txt| 83 ++
d
to delete that
file soon.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff -
consolidate the
register writes into the wrapper driver instead so that we
clearly split the wrapper from the phys.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
dr
If something fails in ci_hdrc_add_device() due to probe defer, we
shouldn't print an error message. Be silent in this case as we'll
try probe again later.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boy
of this structure per each
device instance so that odd things don't happen.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 23 +
phy) after the
RESET bit is set in USBCMD.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 62 --
om>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/udc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 065f5d97aa67..f16be4710cdb
https://git.linaro.org/people/stephen.boyd/linux.git/shortlog/refs/heads/usb-hsic-8074
Stephen Boyd (22):
of: device: Support loading a module with OF based modalias
of: device: Export of_device_{get_modalias,uvent_modalias} to modules
usb: ulpi: Support device discovery via DT
usb: chipidea: Only r
to request it with the
OF based modalias instead. Add a common function that allows
anyone to request a module with the OF based modalias.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/of/d
.com>
> Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
> ---
Assuming authorship is resolved:
Acked-by: Stephen Boyd <sb...@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
On 09/04, Martin Blumenstingl wrote:
> USB0_DDR_BRIDGE and USB1_DDR_BRIDGE1 are needed for the related
> dwc2 usb controller. USB, USB0 and USB1 are needed for the PHYs.
> Expose these clocks to DT and comment out in clk driver.
>
> Signed-off-by: Jerome Brunet
>
On Sun, Sep 4, 2016 at 7:39 PM, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Fri, Sep 02, 2016 at 06:03:06PM -0700, Stephen Boyd wrote:
>> On Thu, Sep 1, 2016 at 8:17 PM, Peter Chen <hzpeterc...@gmail.com> wrote:
>> > On Wed, Aug 31, 2016 at 05:40:
On Fri, Sep 2, 2016 at 7:09 AM, Heikki Krogerus
<heikki.kroge...@linux.intel.com> wrote:
> Hi,
>
> On Wed, Aug 31, 2016 at 05:40:17PM -0700, Stephen Boyd wrote:
>> @@ -174,14 +219,37 @@ static int ulpi_register(struct device *dev, struct
>> ulpi *ulpi)
>>
On Thu, Sep 1, 2016 at 8:17 PM, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Wed, Aug 31, 2016 at 05:40:24PM -0700, Stephen Boyd wrote:
>>
>>
>> if (cable->state)
>> - val |= OTGSC_ID;
>> +
before it's powered up and avoid this problem.
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Cc: <devicet...@vger.kernel.org>
Cc: Rob Herring <robh...@kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@lin
The ULPI bus can be built as a module, and it will soon be
calling these functions when it supports probing devices from DT.
Export them so they can be used by the ULPI module.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.or
Signed-off-by: Stephen Boyd <stephen.b..
//lkml.org/lkml/2016/2/22/7
[2]
http://lkml.kernel.org/g/1449621618-11900-1-git-send-email-tim.b...@sonymobile.com
[3]
https://git.linaro.org/people/stephen.boyd/linux.git/shortlog/refs/heads/usb-hsic-8074
Stephen Boyd (22):
of: device: Support loading a module with OF based modalias
ot;Ivan T. Ivanov" <iivanov...@gmail.com>
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/otg.c | 46 +++-
include/linux
;
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/chipidea/ci_hdrc_msm.c
index 3889809fd0c4..89c1a02d69b5 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
t;
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci.h | 3 ---
drivers/usb/chipidea/core.c | 32
drivers/usb/chipidea/otg.c | 34
to request it with the
OF based modalias instead. Add a common function that allows
anyone to request a module with the OF based modalias.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/of/d
.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/core.c | 6 ++
include/linux/usb/chipidea.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/dr
to be anything besides 0,
we expect the 'ahb-burst-config' dts property to be present.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 4 ++
pin is pulled low.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: "Ivan T. Ivanov" <iivanov...@gmail.com>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/core.c | 41 ++
wrapper specific things after the device
is stopped. So when we stop the host role, send the stopped
event.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ho
Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 7 +++
drivers/usb/chipidea/Makefile | 1 +
drivers/usb/chipidea/ci.h | 21 ++
The HSIC USB controller on qcom SoCs has an integrated all
digital phy controlled via the ULPI viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-h
The high-speed phy on qcom SoCs is controlled via the ULPI
viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-hs-phy.txt| 83 ++
d
to delete that
file soon.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff -
If something fails in ci_hdrc_add_device() due to probe defer, we
shouldn't print an error message. Be silent in this case as we'll
try probe again later.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boy
oah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 72 +++---
1 file changed, 68 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/
<peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sb...@codeaurora.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 40 +++---
drivers/usb/chipidea/core.c| 8 ++--
drivers/usb/chipidea/
artman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 1 +
drivers/usb/chipidea/ci_hdrc_msm.c | 50 --
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/drivers/us
of this structure per each
device instance so that odd things don't happen.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 23 +
consolidate the
register writes into the wrapper driver instead so that we
clearly split the wrapper from the phys.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
dr
phy) after the
RESET bit is set in USBCMD.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 62 --
On Tue, Aug 23, 2016 at 4:06 PM, Rob Herring <r...@kernel.org> wrote:
> On Tue, Aug 23, 2016 at 3:00 PM, Stephen Boyd <stephen.b...@linaro.org> wrote:
>> On Fri, Aug 5, 2016 at 2:40 PM, Stephen Boyd <stephen.b...@linaro.org> wrote:
>>> Quoting Rob Herring (2016
On Fri, Aug 5, 2016 at 2:40 PM, Stephen Boyd <stephen.b...@linaro.org> wrote:
> Quoting Rob Herring (2016-07-17 19:23:55)
>> On Thu, Jul 07, 2016 at 03:20:54PM -0700, Stephen Boyd wrote:
>> > +---
>> > +
>> > +usb {
>> > + compatibl
On Fri, Aug 5, 2016 at 2:27 PM, Stephen Boyd <stephen.b...@linaro.org> wrote:
> Quoting Peter Chen (2016-07-08 02:04:58)
>> On Thu, Jul 07, 2016 at 03:20:54PM -0700, Stephen Boyd wrote:
>> > @@ -39,6 +42,10 @@ static int ulpi_match(struct device *dev, struct
&g
Quoting Peter Chen (2016-08-08 01:52:10)
> From: Peter Chen
>
> At device tree, we have no device node for chipidea core,
> the glue layer's node is the parent node for host and udc
> device. But in related driver, the parent device is chipidea
> core. So, in order to
On 10 July 2016 at 22:32, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Thu, Jul 07, 2016 at 03:21:09PM -0700, Stephen Boyd wrote:
>> @@ -40,11 +43,38 @@ struct ci_hdrc_msm {
>> struct clk *iface_clk;
>> struct clk *fs_clk;
>> struct ci_hdrc_pla
On 10 July 2016 at 21:43, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Thu, Jul 07, 2016 at 03:21:06PM -0700, Stephen Boyd wrote:
>> diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
>> b/drivers/usb/chipidea/ci_hdrc_msm.c
>> index 7e870a253f55..7708bee3ff3e 100644
&g
On 10 July 2016 at 20:10, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Thu, Jul 07, 2016 at 03:21:01PM -0700, Stephen Boyd wrote:
>> @@ -418,6 +427,17 @@ static inline bool ci_otg_is_fsm_mode(struct ci_hdrc
>> *ci)
>> #endif
>> }
>>
>> +#if
Quoting Peter Chen (2016-07-07 02:14:51)
> diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
> index 053bac9..55120ef 100644
> --- a/drivers/usb/chipidea/host.c
> +++ b/drivers/usb/chipidea/host.c
> @@ -109,15 +109,25 @@ static int host_start(struct ci_hdrc *ci)
>
to request it with the
OF based modalias instead. Add a common function that allows
anyone to request a module with the OF based modalias.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/of/d
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/udc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 065f5d97aa67..f16be4710cdb 100
The HSIC USB controller on qcom SoCs has an integrated all
digital phy controlled via the ULPI viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-h
ot;Ivan T. Ivanov" <iivanov...@gmail.com>
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/otg.c | 46 +++-
include/linux
r.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
I think this was rejected last time around but I've kept it in the
series to continue discussion on how we're supposed to be emulating
vbus an id pin interr
wrapper specific things after the device
is stopped. So when we stop the host role, send the stopped
event.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/host.c
t;
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci.h | 3 ---
drivers/usb/chipidea/core.c | 32
drivers/usb/chipidea/otg.c | 34
artman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 1 +
drivers/usb/chipidea/ci_hdrc_msm.c | 45 --
2 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/drivers/us
.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/core.c | 6 ++
include/linux/usb/chipidea.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/dr
of this structure per each
device instance so that odd things don't happen.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 20
The ULPI phy on qcom platforms needs to be initialized and
powered on after a USB reset and before we toggle the run/stop
bit. Otherwise, the phy locks up and doesn't work properly. Hook
the phy initialization into the RESET event and the phy power off
into the STOPPED event.
Cc: Peter Chen
<peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/dr
oah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 72 +++---
1 file changed, 68 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/chipidea/ci_h
If something fails in ci_hdrc_add_device() due to probe defer, we
shouldn't print an error message. Be silent in this case as we'll
try probe again later.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.
The high-speed phy on qcom SoCs is controlled via the ULPI
viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-hs-phy.txt| 83 ++
d
to delete that
file soon.
Acked-by: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff -
phy) after the
RESET bit is set in USBCMD.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 67 +++---
1 file chan
and disable the
power domain to match the 'inactive' state of the device. Let's
mark the device as active so that runtime PM doesn't improperly
power down this device when it's actually active.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off
consolidate the
register writes into the wrapper driver instead so that we
clearly split the wrapper from the phys.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chip
up and avoid this problem.
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Cc: <devicet...@vger.kernel.org>
Cc: Rob Herring <robh...@kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
Documen
The ULPI bus can be built as a module, and it will soon be
calling these functions when it supports probing devices from DT.
Export them so they can be used by the ULPI module.
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/of/device.c | 2 ++
1 file changed, 2 inse
Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/Kconfig | 7 +++
drivers/usb/chipidea/Makefile | 1 +
drivers/usb/chipidea/ci.h | 22 ++
9621618-11900-1-git-send-email-tim.b...@sonymobile.com
[3]
https://git.linaro.org/people/stephen.boyd/linux.git/shortlog/refs/heads/usb-hsic-8074
Stephen Boyd (22):
of: device: Support loading a module with OF based modalias
of: device: Export of_device_{get_modalias,uvent_modalias} to modul
On 30 June 2016 at 01:54, Peter Chen <hzpeterc...@gmail.com> wrote:
> On Wed, Jun 29, 2016 at 12:13:45PM -0700, Stephen Boyd wrote:
>> Quoting Peter Chen (2016-06-29 01:26:48
>> > Why not using ci->platdata->vbus_extcon directly?
>>
>> Because ci->plat
Quoting Neil Armstrong (2016-06-29 02:16:51)
> On 06/28/2016 11:58 PM, Stephen Boyd wrote:
> > Quoting Neil Armstrong (2016-06-28 01:49:37)
> >> On 06/26/2016 09:28 AM, Stephen Boyd wrote:
> >>> + uphy->cal_sleep_clk = clk = devm_clk_get(>dev, &quo
Quoting Neil Armstrong (2016-06-28 01:49:37)
> On 06/26/2016 09:28 AM, Stephen Boyd wrote:
> > + uphy->cal_sleep_clk = clk = devm_clk_get(>dev, "cal_sleep");
> > + if (IS_ERR(clk))
> > + return PTR_ERR(clk);
>
> Hi Stephen,
>
>
n <gre...@linuxfoundation.org>
Fixes: ae57e97a9521 ("usb: common: otg-fsm: add HNP polling support")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/common/usb-otg-fsm.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/usb/common
Quoting Jun Li (2016-06-27 01:04:39)
> > diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index
> > 03b6743461d1..763a8332b009 100644
> > --- a/drivers/usb/chipidea/otg.c
> > +++ b/drivers/usb/chipidea/otg.c
> > @@ -104,7 +104,32 @@ void ci_handle_vbus_change(struct ci_hdrc
[1] https://lkml.org/lkml/2016/2/22/7
[2]
http://lkml.kernel.org/g/1449621618-11900-1-git-send-email-tim.b...@sonymobile.com
[3]
https://git.linaro.org/people/stephen.boyd/linux.git/shortlog/refs/heads/usb-hsic-8074
Stephen Boyd (21):
of: device: Support loading a module with OF based modalias
to request it with the
OF based modalias instead. Add a common function that allows
anyone to request a module with the OF based modalias.
Cc: Rob Herring <robh...@kernel.org>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/of/d
consolidate the
register writes into the wrapper driver instead so that we
clearly split the wrapper from the phys.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chip
.kernel.org>
Cc: Rob Herring <robh...@kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
Documentation/devicetree/bindings/usb/ulpi.txt | 20 +
drivers/usb/common/ulpi.c | 56 +-
2 files changed, 74 insertions(+
phy) after the
RESET bit is set in USBCMD.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 78 +++---
1 file chan
t;
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/core.c | 32
drivers/usb/chipidea/otg.c | 35 +++
2 f
The HSIC USB controller on qcom SoCs has an integrated all
digital phy controlled via the ULPI viewport.
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: <devicet...@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
.../devicetree/bindings/phy/qcom,usb-h
Ivanov" <iivanov...@gmail.com>
Fixes: 3ecb3e09b042 ("usb: chipidea: Use extcon framework for VBUS and ID
detect")
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/otg.c | 46 +++-
include/linux
If something fails in ci_hdrc_add_device() due to probe defer, we
shouldn't print an error message. Be silent in this case as we'll
try probe again later.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.
artman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci_hdrc_msm.c | 43 +-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c
b/drivers/usb/chip
is properly managed across
role switches.
Cc: Peter Chen <peter.c...@nxp.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.b...@linaro.org>
---
drivers/usb/chipidea/ci.h | 3 ++-
drivers/usb/chipidea/core.c | 23 ++-
dr
101 - 200 of 236 matches
Mail list logo