On Wed, Jul 4, 2018 at 4:16 PM Martin Blumenstingl
wrote:
[...]
> unfortunately it seems that plugging in seems to fill the kmsg buffer
> instantly, so I cannot (at least I don't know how - do you have any
> idea how to get around this?) get the information from the second
> where
Hello Arthur, Hello Minas,
On Wed, Jul 4, 2018 at 1:43 PM Artur Petrosyan
wrote:
>
> Hello Martin,
>
> On 7/4/2018 01:39, Martin Blumenstingl wrote:
> > Hello Minas,
> >
> > On Thu, May 10, 2018 at 11:44 AM Martin Blumenstingl
> > wrote:
> >>
> &g
Hello Minas,
On Thu, May 10, 2018 at 11:44 AM Martin Blumenstingl
wrote:
>
> Hello Minas,
>
> On Mon, May 7, 2018 at 3:27 PM, Minas Harutyunyan
> wrote:
> > Hi Martin,
> >
> > On 5/7/2018 12:28 AM, Martin Blumenstingl wrote:
> >> Hello,
> >>
to struct usb_hcd")
> Cc: Martin Blumenstingl
> Reported-by: Mats Karrman
> Signed-off-by: Peter Chen
Acked-by: Martin Blumenstingl
> ---
> drivers/usb/chipidea/host.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/us
Hello Minas,
On Mon, May 7, 2018 at 3:27 PM, Minas Harutyunyan
<minas.harutyun...@synopsys.com> wrote:
> Hi Martin,
>
> On 5/7/2018 12:28 AM, Martin Blumenstingl wrote:
>> Hello,
>>
>> I was a bit surprised to see that hot-plugging USB devices on Amlogic
&
Hello,
I was a bit surprised to see that hot-plugging USB devices on Amlogic
Meson8b (for example: Odroid-C1) is broken.
to be fair: I *think* it worked before, but I cannot guarantee it nor
can I say when it broke
all examples below are from an Odroid-C1 board with Amlogic Meson8b (S805) SoC.
(adding Yixun from Amlogic to this mail)
On Sat, Apr 28, 2018 at 4:41 AM, Masahiro Yamada
<yamada.masah...@socionext.com> wrote:
> Hi Martin,
>
>
> 2018-04-24 2:44 GMT+09:00 Martin Blumenstingl
> <martin.blumensti...@googlemail.com>:
>> Hello,
>>
>&
Hello,
On Thu, Apr 19, 2018 at 1:03 PM, Masahiro Yamada
wrote:
> Historically, the clocks and resets are handled on the glue layer
> side instead of the DWC3 core. For simple cases, dwc3-of-simple.c
> takes care of arbitrary number of clocks and resets. The DT
Hi Greg,
On Sun, Apr 22, 2018 at 3:01 PM, Greg KH <gre...@linuxfoundation.org> wrote:
> On Wed, Apr 18, 2018 at 09:39:51PM +0200, Martin Blumenstingl wrote:
>> This clarifies the license of the code. While here also add an include
>> guard to the header file.
>>
>
Hello Johan,
On Thu, Apr 19, 2018 at 9:43 AM, Johan Hovold <jo...@kernel.org> wrote:
> On Wed, Apr 18, 2018 at 09:18:30PM +0200, Martin Blumenstingl wrote:
>> Hi Johan,
>>
>> On Fri, Apr 13, 2018 at 5:15 PM, Johan Hovold <jo...@kernel.org> wrote:
>> > I'
7472.html
[8] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006882.html
[9] http://lists.infradead.org/pipermail/linux-amlogic/2018-April/007009.html
Martin Blumenstingl (6):
usb: core: phy: fix return value of usb_phy_roothub_exit()
usb: core: split usb_phy_roothub_{init,al
This clarifies the license of the code. While here also add an include
guard to the header file.
Fixes: 07dbff0ddbd86c ("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: Masahiro Yamada <yamada.masah...@socionext.com>
Signed-off-by: Martin Blumenstingl &
is disabled). All
existing usb_phy_roothub_* functions are already NULL-safe, so no
special handling is required there.
Fixes: 07dbff0ddbd8 ("usb: core: add a wrapper for the USB PHYs on the HCD")
Reported-by: Stefan Wahren <stefan.wah...@i2se.com>
Signed-off-by: Martin Blumenstingl &
;usb: core: hcd: integrate the PHY wrapper into the HCD
core")
Reported-by: Roger Quadros <rog...@ti.com>
Suggested-by: Roger Quadros <rog...@ti.com>
Suggested-by: Chunfeng Yun <chunfeng@mediatek.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlema
include any of the struct device API headers.
Fixes: 07dbff0ddbd86c ("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: Masahiro Yamada <yamada.masah...@socionext.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/co
if
that failed somewhere).
This is a preparation step for adding proper suspend support for some
hardware that requires phy_exit to be called during suspend and phy_init
to be called during resume.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Chunfeng Yun <
: add a wrapper for the USB PHYs on the HCD")
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Signed-off-by: Rishabh Bhatnagar <risha...@codeaurora.org>
Tested-by: Keerthy <j-keer...@ti.com>
---
drivers/usb/core/phy.c | 2 +-
1 file changed, 1 i
Hi Johan,
On Fri, Apr 13, 2018 at 5:15 PM, Johan Hovold wrote:
> I've been carrying a patch out-of-tree since my work on improving the
> USB device-tree support which is needed to be able to describe USB
> topologies for musb based controllers.
>
> This patch, which associates
This clarifies the license of the code. While here also add an include
guard to the header file.
Fixes: 07dbff0ddbd86c ("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: Masahiro Yamada <yamada.masah...@socionext.com>
Signed-off-by: Martin Blumenstingl &
is disabled). All
existing usb_phy_roothub_* functions are already NULL-safe, so no
special handling is required there.
Fixes: 07dbff0ddbd8 ("usb: core: add a wrapper for the USB PHYs on the HCD")
Reported-by: Stefan Wahren <stefan.wah...@i2se.com>
Signed-off-by: Martin Blumenstingl &
include any of the struct device API headers.
Fixes: 07dbff0ddbd86c ("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: Masahiro Yamada <yamada.masah...@socionext.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/co
http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006794.html
[5] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006820.html
[6] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006847.html
[7] https://www.spinics.net/lists/linux-usb/msg167472.html
[8] http:/
: add a wrapper for the USB PHYs on the HCD")
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Signed-off-by: Rishabh Bhatnagar <risha...@codeaurora.org>
---
drivers/usb/core/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/u
if
that failed somewhere).
This is a preparation step for adding proper suspend support for some
hardware that requires phy_exit to be called during suspend and phy_init
to be called during resume.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Chunfeng Yun <
;usb: core: hcd: integrate the PHY wrapper into the HCD
core")
Reported-by: Roger Quadros <rog...@ti.com>
Suggested-by: Roger Quadros <rog...@ti.com>
Suggested-by: Chunfeng Yun <chunfeng@mediatek.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlema
Hello,
thank you for finding this!
On Sat, Apr 7, 2018 at 1:04 AM, Rishabh Bhatnagar
wrote:
> In file drivers/usb/core/phy.c line 114, ret variable is assigned to
> itself. The following error was observed:
>
> kernel/drivers/usb/core/phy.c:114:8: warning: explicitly
On Fri, Apr 6, 2018 at 5:48 AM, Masahiro Yamada
<yamada.masah...@socionext.com> wrote:
> 2018-04-06 5:04 GMT+09:00 Martin Blumenstingl
> <martin.blumensti...@googlemail.com>:
>> Hello,
>>
>> (great to hear that this might be useful on Socionext SoCs as well :))
Hi Greg,
On Thu, Apr 5, 2018 at 3:38 PM, Greg KH <gre...@linuxfoundation.org> wrote:
> On Thu, Apr 05, 2018 at 11:47:11AM +0300, Roger Quadros wrote:
>> Greg,
>>
>> On 28/03/18 00:26, Martin Blumenstingl wrote:
>> > This is a follow-up to my previou
Hello,
(great to hear that this might be useful on Socionext SoCs as well :))
On Wed, Apr 4, 2018 at 2:10 PM, Masahiro Yamada
<yamada.masah...@socionext.com> wrote:
> 2018-03-04 6:43 GMT+09:00 Martin Blumenstingl
> <martin.blumensti...@googlemail.com>:
>> Many SoC platfor
Hello Stefan,
On Sat, Mar 31, 2018 at 9:28 PM, Stefan Wahren wrote:
> If the generic PHY support is disabled the stub of devm_of_phy_get_by_index
> returns ENOSYS. This corner case isn't handled properly by
> usb_phy_roothub_add_phy and at least breaks USB support on
if
that failed somewhere).
This is a preparation step for adding proper suspend support for some
hardware that requires phy_exit to be called during suspend and phy_init
to be called during resume.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Chunfeng Yun <
;usb: core: hcd: integrate the PHY wrapper into the HCD
core")
Reported-by: Roger Quadros <rog...@ti.com>
Suggested-by: Roger Quadros <rog...@ti.com>
Suggested-by: Chunfeng Yun <chunfeng@mediatek.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlema
h/006819.html
[4] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006794.html
[5] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006820.html
[6] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006847.html
Martin Blumenstingl (2):
usb: core: split usb_phy
;usb: core: hcd: integrate the PHY wrapper into the HCD
core")
Reported-by: Roger Quadros <rog...@ti.com>
Suggested-by: Roger Quadros <rog...@ti.com>
Suggested-by: Chunfeng Yun <chunfeng@mediatek.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlem
x-amlogic/2018-March/006737.html
[2] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006758.html
[3] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006819.html
[4] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006794.html
[5] http://lists.infradead.org/piper
if
that failed somewhere).
This is a preparation step for adding proper suspend support for some
hardware that requires phy_exit to be called during suspend and phy_init
to be called during resume.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/core/hcd.
Hi Chunfeng,
On Mon, Mar 26, 2018 at 5:37 AM, Chunfeng Yun <chunfeng@mediatek.com> wrote:
> On Sat, 2018-03-24 at 15:21 +0100, Martin Blumenstingl wrote:
>> Before this patch usb_phy_roothub_init served two purposes (from a
>> caller's point of view - like hcd.c):
Hi Chunfeng,
On Mon, Mar 26, 2018 at 5:43 AM, Chunfeng Yun <chunfeng@mediatek.com> wrote:
> On Sat, 2018-03-24 at 14:56 +0100, Martin Blumenstingl wrote:
>> usb_phy_roothub_exit() should return the error code from the phy_exit()
>> call if exiting the PHY failed.
>
if
that failed somewhere).
This is a preparation step for adding proper suspend support for some
hardware that requires phy_exit to be called during suspend and phy_init
to be called during resume.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/core/hcd.
4] http://lists.infradead.org/pipermail/linux-amlogic/2018-March/006794.html
Martin Blumenstingl (2):
usb: core: split usb_phy_roothub_{init,alloc}
usb: core: use phy_exit during suspend if wake up is not supported
drivers/usb/core/hcd.c | 18 +++
drivers/usb/core/phy.c | 88 ++
the PHY wrapper into the HCD
core")
Reported-by: Roger Quadros <rog...@ti.com>
Suggested-by: Roger Quadros <rog...@ti.com>
Suggested-by: Chunfeng Yun <chunfeng@mediatek.com>
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/core/hcd.
() to the "ret"
variable to propagate the error correctly.
Fixes: 07dbff0ddbd86c ("usb: core: add a wrapper for the USB PHYs on the HCD")
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/core/phy.c | 2 +-
1 file changed, 1 inserti
Hi Roger,
On Wed, Mar 21, 2018 at 12:30 PM, Roger Quadros <rog...@ti.com> wrote:
> Martin,
>
> On 21/03/18 00:01, Martin Blumenstingl wrote:
>> Hi Roger, Hi Chunfeng,
>>
>> On Tue, Mar 20, 2018 at 1:04 PM, Chunfeng Yun <chunfeng@mediatek.com>
>>
Hi Roger, Hi Chunfeng,
On Tue, Mar 20, 2018 at 1:04 PM, Chunfeng Yun <chunfeng@mediatek.com> wrote:
> Hi Martin & Roger:
>
> On Mon, 2018-03-19 at 17:12 +0100, Martin Blumenstingl wrote:
>> Hi Roger,
>>
>> On Mon, Mar 19, 2018 at 9:49 AM, Roger Q
Hello Kishon,
On Tue, Mar 20, 2018 at 12:27 PM, Kishon Vijay Abraham I <kis...@ti.com> wrote:
> Hi,
>
> On Monday 19 March 2018 09:42 PM, Martin Blumenstingl wrote:
>> Hi Roger,
>>
>> On Mon, Mar 19, 2018 at 9:49 AM, Roger Quadros <rog...@ti.com> wrote:
&g
Hi Roger,
On Mon, Mar 19, 2018 at 9:49 AM, Roger Quadros <rog...@ti.com> wrote:
> Hi,
>
> On 19/03/18 00:29, Martin Blumenstingl wrote:
>> Hi Roger,
>>
>> On Fri, Mar 16, 2018 at 3:32 PM, Roger Quadros <rog...@ti.com> wrote:
>>> +some TI folks
>
Hi Roger,
On Fri, Mar 16, 2018 at 3:32 PM, Roger Quadros <rog...@ti.com> wrote:
> +some TI folks
>
> Hi Martin,
>
> On 18/02/18 20:44, Martin Blumenstingl wrote:
>> Many SoC platforms have separate devices for the USB PHY which are
>> registered through the gener
Hello Felipe, Hello Greg,
On Tue, Feb 20, 2018 at 11:39 PM, Martin Blumenstingl
<martin.blumensti...@googlemail.com> wrote:
> Hello Felipe,
>
> On Sun, Feb 11, 2018 at 10:15 PM, Martin Blumenstingl
> <martin.blumensti...@googlemail.com> wrote:
>> Amlogic Meson AXG
to be initialized (if one of the USB
PHYs it not initialized then none of USB port works at all).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Yixun Lan <yixun@amlogic.com>
Cc: Neil Armstrong <narmstr...@baylibre.com>
Cc: Chunfeng Yun <chun
-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/xhci-mtk.c | 98 +
1 file changed, 2 insertions(+), 96 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index b0ab4d5e2751..7334da
A USB HCD may have several PHYs which need to be configured before the
the HCD starts working.
This adds the documentation for such a USB HCD as well as a reference to
the new "usb-hcd.txt" from all bindings that implement a USB HCD which
support one USB PHY per port.
Signed-off-
ot;multiple PHY" handling is
disabled for drivers that opted out of the management logic of a single
PHY.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
Acked-by: Chunfeng Yun <chunfeng@mediat
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ehci-platform.c | 55 +++-
1 file changed, 4 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ehci-
With the new PHY wrapper in place we can now handle multiple PHYs.
Remove the code which handles only one generic PHY as this is now
covered (with support for multiple PHYs as well as suspend/resume
support) by the new PHY wrapper.
Signed-off-by: Martin Blumenstingl <martin.blumen
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ohci-platform.c | 56
1 file changed, 5 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ohci-
of the PHY management provided by the USB HCD core
driver. This means that for these drivers the new "multiple PHY"
handling (which will be added in a follow-up patch) will be disabled as
well.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Peter Chen <pet
ic/2017-October/005192.html
[10] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006274.html
[11] https://marc.info/?l=linux-usb=151683941207898=2
[12]
http://lists.infradead.org/pipermail/linux-amlogic/2018-February/006412.html
[13]
http://lists.infradead.org/pipermail/linux-amlogic/2018-Februar
Hello Felipe,
On Sun, Feb 11, 2018 at 10:15 PM, Martin Blumenstingl
<martin.blumensti...@googlemail.com> wrote:
> Amlogic Meson AXG and GXL SoCs can use the dwc3-of-simple with little
> modifications. These SoCs use:
> - a gate clock for the USB components (DWC3, USB PHYs)
> -
of the PHY management provided by the USB HCD core
driver. This means that for these drivers the new "multiple PHY"
handling (which will be added in a follow-up patch) will be disabled as
well.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/chipidea/host.c
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ohci-platform.c | 56
1 file changed, 5 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ohci-
-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/xhci-mtk.c | 98 +
1 file changed, 2 insertions(+), 96 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index b0ab4d5e2751..7334da
A USB HCD may have several PHYs which need to be configured before the
the HCD starts working.
This adds the documentation for such a USB HCD as well as a reference to
the new "usb-hcd.txt" from all bindings that implement a USB HCD which
support one USB PHY per port.
Signed-off-
to be initialized (if one of the USB
PHYs it not initialized then none of USB port works at all).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Yixun Lan <yixun@amlogic.com>
Cc: Neil Armstrong <narmstr...@baylibre.com>
Cc: Chunfeng Yun <chun
With the new PHY wrapper in place we can now handle multiple PHYs.
Remove the code which handles only one generic PHY as this is now
covered (with support for multiple PHYs as well as suspend/resume
support) by the new PHY wrapper.
Signed-off-by: Martin Blumenstingl <martin.blumen
ttp://lists.infradead.org/pipermail/linux-amlogic/2017-October/005124.html
[9] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/005192.html
[10] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006274.html
[11] https://marc.info/?l=linux-usb=151683941207898=2
[12]
http://lists.
ot;multiple PHY" handling is
disabled for drivers that opted out of the management logic of a single
PHY.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
Acked-by: Chunfeng Yun <chunfeng@mediat
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ehci-platform.c | 55 +++-
1 file changed, 4 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ehci-
Hi Alan,
On Mon, Feb 12, 2018 at 4:15 PM, Alan Stern <st...@rowland.harvard.edu> wrote:
> On Sun, 11 Feb 2018, Martin Blumenstingl wrote:
>
>> The USB HCD core driver parses the device-tree node for "phys" and
>> "usb-phys" properties. I
.
For now this falls back to the old defaults, which are:
- reset lines are exclusive
- level resets are being used
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Yixun Lan <yixun@amlogic.com>
---
drivers/usb/dwc3/dwc3-of-simple.c | 23 ++
a
level reset (reset_control_{assert,deassert}).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Yixun Lan <yixun@amlogic.com>
---
drivers/usb/dwc3/dwc3-of-simple.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/dwc3/dwc3-of
on AXG SoC
[0] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006274.html
[1] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006286.html
Martin Blumenstingl (3):
dt-bindings: usb: add support for dwc3 controller on Amlogic Meson GX
usb: dwc3: of-simple: a
Amlogic Meson GX SoCs (GXL and AXG) come with a (host-only) dwc3 USB
controller. This requires a clock to be enabled and a reset line to be
pulsed to get the hardware into a known state.
Add the documentation for this IP block, similar to "qcom,dwc3.txt".
Signed-off-by: Martin Bl
-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/xhci-mtk.c | 98 +
1 file changed, 2 insertions(+), 96 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index b0ab4d5e2751..7334da
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ehci-platform.c | 55 +++-
1 file changed, 4 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ehci-
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
---
drivers/usb/host/ohci-platform.c | 56
1 file changed, 5 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ohci-
A USB HCD may have several PHYs which need to be configured before the
the HCD starts working.
This adds the documentation for such a USB HCD as well as a reference to
the new "usb-hcd.txt" from all bindings that implement a USB HCD which
support one USB PHY per port.
Signed-off-
ot;multiple PHY" handling is
disabled for drivers that opted out of the management logic of a single
PHY.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
Acked-by: Chunfeng Yun <chunfeng@mediat
se the new flag if they
want to opt out of the PHY management provided by the USB HCD core
driver. This means that for these drivers the new "multiple PHY"
handling (which will be added in a follow-up patch) will be disabled as
well.
Signed-off-by: Martin Blumenstingl <martin.blumensti..
With the new PHY wrapper in place we can now handle multiple PHYs.
Remove the code which handles only one generic PHY as this is now
covered (with support for multiple PHYs as well as suspend/resume
support) by the new PHY wrapper.
Signed-off-by: Martin Blumenstingl <martin.blumen
ctober/005121.html
[8] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/005124.html
[9] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/005192.html
[10] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006274.html
[11] https://marc.info/?l=linux-usb=1516839
to be initialized (if one of the USB
PHYs it not initialized then none of USB port works at all).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Tested-by: Yixun Lan <yixun@amlogic.com>
Cc: Neil Armstrong <narmstr...@baylibre.com>
Cc: Chunfeng Yun <chun
gt;> Remove the code which sets struct usb_hcd's phy field from the
>> >> chipidea driver as this field will go away soon.
>> >>
>> >> Signed-off-by: Martin Blumenstingl
>> >> <martin.blumensti...@googlemail.com>
>> >> ---
>> &g
Hi Felipe,
On Mon, Jan 29, 2018 at 9:18 AM, Felipe Balbi <ba...@kernel.org> wrote:
>
> Hi,
>
> Martin Blumenstingl <martin.blumensti...@googlemail.com> writes:
>> Some SoCs (such as Amlogic Meson GXL for example) share the reset line
>> with other componen
/pipermail/linux-amlogic/2018-January/006274.html
Martin Blumenstingl (3):
dt-bindings: usb: add support for dwc3 controller on Amlogic Meson GX
usb: dwc3: of-simple: add support for shared and pulsed reset lines
usb: dwc3: of-simple: add support for the Amlogic Meson GXL and AX
Amlogic Meson GX SoCs (GXL and AXG) come with a (host-only) dwc3 USB
controller. This requires a clock to be enabled and a reset line to be
pulsed to get the hardware into a known state.
Add the documentation for this IP block, similar to "qcom,dwc3.txt".
Signed-off-by: Martin Bl
a
level reset (reset_control_{assert,deassert}).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/dwc3/dwc3-of-simple.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/usb/dwc3/dwc3-of-simple.c
b/drivers/usb/dwc3/dwc3-of-si
an internal per-of_device_id struct which can be used to configure
whether the reset lines are shared and whether they use level or pulse
resets.
For now this falls back to the old defaults, which are:
- reset lines are exclusive
- level resets are being used
Signed-off-by: Martin Blumenstingl
hcd's phy field from the chipidea
>> driver as
>> this field will go away soon.
>>
>> Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
>> ---
>> drivers/usb/chipidea/host.c | 4 +---
>> 1 file changed, 1 insertion(+), 3 deletions(-)
&
Hi,
On Thu, Jan 25, 2018 at 3:47 AM, Chunfeng Yun <chunfeng@mediatek.com> wrote:
> Hi,
>
> On Thu, 2018-01-25 at 01:16 +0100, Martin Blumenstingl wrote:
>> The new PHY wrapper is now wired up in the core HCD code. This means
>> that PHYs are now controlled (ini
Now that usb_add_hcd parses all generic PHYs anyways the code which
skips initialization of a single PHY will go away.
Remove the code which sets struct usb_hcd's phy field from the chipidea
driver as this field will go away soon.
Signed-off-by: Martin Blumenstingl <martin.blumen
With the new PHY wrapper in place we can now handle multiple PHYs.
Remove the code which handles only one generic PHY as this is now
covered (with support for multiple PHYs as well as suspend/resume
support) by the new PHY wrapper.
Signed-off-by: Martin Blumenstingl <martin.blumen
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/ohci-platform.c | 56
1 file changed, 5 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
than one PHY)
preconditions for testing this series: all patches from [0] need to be
applied.
disclaimer: I don't have any hardware that uses any of the affected
drivers!
[0] http://lists.infradead.org/pipermail/linux-amlogic/2018-January/006274.html
Martin Blumenstingl (6):
usb: mtu3: remo
this.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/ehci-platform.c | 55 +++-
1 file changed, 4 insertions(+), 51 deletions(-)
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/mtu3/mtu3_plat.c | 101 ---
1 file changed, 101 deletions(-)
diff --git a/drivers/usb/mtu3/mtu3_plat.c b/drivers/usb/mtu3/mtu3_plat.c
index 628d5ce356ca..a894ddf25bcd
-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
---
drivers/usb/host/xhci-mtk.c | 98 +
1 file changed, 2 insertions(+), 96 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index b0ab4d5e2751..7334da
the dwc3
driver internally creates a xhci-hcd which then registers a HCD which
then triggers our new PHY wrapper.
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Acked-by: Alan Stern <st...@rowland.harvard.edu>
Acked-by: Chunfeng Yun <chunfeng@mediatek.com>
] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/004924.html
[6] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/005049.html
[7] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/005121.html
[8] http://lists.infradead.org/pipermail/linux-amlogic/2017-O
A USB HCD may have several PHYs which need to be configured before the
the HCD starts working.
This adds the documentation for such a USB HCD as well as a reference to
the new "usb-hcd.txt" from all bindings that implement a USB HCD which
support one USB PHY per port.
Signed-off-
to be initialized (if one of the USB
PHYs it not initialized then none of USB port works at all).
Signed-off-by: Martin Blumenstingl <martin.blumensti...@googlemail.com>
Cc: Neil Armstrong <narmstr...@baylibre.com>
Cc: Chunfeng Yun <chunfeng@mediatek.com>
---
drivers/usb/c
1 - 100 of 200 matches
Mail list logo