Hi
> -Original Message-
> From: Peter Chen [mailto:hzpeterc...@gmail.com]
> Sent: Tuesday, April 26, 2016 2:28 PM
> To: Jun Li
> Cc: Roger Quadros ; st...@rowland.harvard.edu;
> ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com;
> dan.j.willi...@intel.com; jun...@free
On Mon, Apr 25, 2016 at 06:09:01PM +, Konstantin Shkolnyy wrote:
> I was planning to define all these bits in a separate future patch.
> Would you rather prefer the magic numbers defined before fixing the bugs?
Fixing the RTS bug (patch 1), which is the only "real" bug, should be
done before a
On 04/26/2016 09:17 AM, Felipe Balbi wrote:
>
> Hi,
>
> Grygorii Strashko writes:
>> Now not all DMA paremters configured properly for "xhci-hcd" platform
>> device which is created manually. For example: dma_pfn_offset, dam_ops
>> and iommu configuration will not corresponds "dwc3" devices
>> c
On Tue, Apr 26, 2016 at 07:00:22AM +, Jun Li wrote:
> Hi
>
> > -Original Message-
> > From: Peter Chen [mailto:hzpeterc...@gmail.com]
> > Sent: Tuesday, April 26, 2016 2:28 PM
> > To: Jun Li
> > Cc: Roger Quadros ; st...@rowland.harvard.edu;
> > ba...@kernel.org; gre...@linuxfoundatio
Some imx usb charger dectection need software implement the whole process,
during which, pull up&down DP line via chipidea usb core is required.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/ci_hdrc_imx.c | 44 ++
drivers/usb/chipidea/ci_hdrc_imx.h | 3 +++
Adds imx7d usb charger detection implementation, which needs pull up
DP line before do secondary detection and pull down DP afterwards.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/ci_hdrc_imx.c | 3 +-
drivers/usb/chipidea/usbmisc_imx.c | 161 +
2 files c
Some usb module implementations have functionality of detect usb charger
type, it can be used by usb charger framework to report max current drawn
from charger in different situations.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/udc.c | 40
include/l
Set this property if your usb module has usb charger detect function
and you want to use it.
Signed-off-by: Li Jun
---
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
b/Documentat
Some usb module soc implementations can support usb charger type detection,
which can be used by usb charger framework to control the charging current.
User can define the charge detection api of the platform data if want to
enable it.
There are 2 api and one flag used for it, if the usb hardware c
On 2016年04月25日 20:01, Felipe Balbi wrote:
* PGP Signed by an unknown key
Is this happening on set_config() ? If that's the case, why is
gadget->speed set to USB_SPEED_SUPER to start with ? Your controller
should already have negotiated highspeed which means
function_descriptors() should have
Am Dienstag, den 26.04.2016, 09:58 +0800 schrieb Peter Chen:
> On Mon, Apr 25, 2016 at 12:55:42PM +0200, Lucas Stach wrote:
> > The Chipidea EHCI core seems to behave sanely and doesn't need
> > the IO watchdog. This kills off 10 non-deferrable wakeup events
> > per second when the controller is ot
On Tue, Apr 26, 2016 at 11:27:17AM +0200, Lucas Stach wrote:
> Am Dienstag, den 26.04.2016, 09:58 +0800 schrieb Peter Chen:
> > On Mon, Apr 25, 2016 at 12:55:42PM +0200, Lucas Stach wrote:
> > > The Chipidea EHCI core seems to behave sanely and doesn't need
> > > the IO watchdog. This kills off 10
Hi Geert-san,
> From: Geert Uytterhoeven
> Sent: Monday, April 25, 2016 11:57 PM
>
> Hi Shimoda-san,
>
> On Thu, Apr 21, 2016 at 2:57 PM, Geert Uytterhoeven
> wrote:
> > On Thu, Apr 21, 2016 at 12:27 PM, Yoshihiro Shimoda
> > wrote:
> >>> > [1.565605] xhci-hcd ee00.usb: xHCI Host Contr
On Tue, Apr 26, 2016 at 10:24:56AM +0800, Lu Baolu wrote:
> The GPIO name might be different in different use cases. For my case,
> it is "vbus_en", but other cases should use the different name.
> On ACPI compatible platforms, GPIO resources are reported via ACPI
> tables and (devm_)gpiod_get()
Hi Johan,
On Sun, 24 Apr 2016 15:36:35 +0200
Johan Hovold wrote:
> On Mon, Feb 29, 2016 at 04:11:20PM +0300, Maksim Salau wrote:
> > The adaptor can be found on development boards for 78k, RL78 and V850
> > microcontrollers produced by Renesas Electronics Corporation.
> >
> > This is not a full
Commit 4718c1774051 ("usb: host: xhci-plat: add clock support") adds
optional clk support, but it forgets to prepare/disable and
enable/unprepare the clk in the resume/suspend path. This path fixes
this issue by adding missing clk related calls.
Signed-off-by: Jisheng Zhang
Fixes: 4718c1774051 ("
Sorting the headers in alphabetic order will help to reduce the conflict
when adding new headers later.
Signed-off-by: Jisheng Zhang
---
drivers/usb/host/xhci-plat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-pla
The Marvell BG4CT has xhci controller. This controller has two phys:
one for usb2 and another for usb3. BG4CT boards have board level vbus
control through gpio.
I plan to add the xhci support in two steps: first of all, add generic
PHY and vbus regulator control support to the xhci-plat driver. Th
The Marvell BG4CT STB board has board level vbus control through gpio.
This patch adds the vbus regulator control to support this board.
Signed-off-by: Jisheng Zhang
---
drivers/usb/host/xhci-plat.c | 40 +++-
drivers/usb/host/xhci.h | 2 ++
2 files chan
Marvell BG4CT SoC needs two phy: one for usb2 and another for usb3. Add
the calls to retrieve generic PHY to xhci plat in order to support this.
Signed-off-by: Jisheng Zhang
---
drivers/usb/host/xhci-plat.c | 87 ++--
1 file changed, 75 insertions(+), 12 d
Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to
clk_{unprepare, disable}()") allows NULL or error pointer to be passed
unconditionally.
This patch is to simplify probe error and remove code paths.
Signed-off-by: Jisheng Zhang
---
drivers/usb/host/xhci-plat.c | 6 ++
1 fi
Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the
usb_phy for usb3, but it attached the usb_phy to incorrect hcd. The
xhci->shared_hcd is the hcd for usb3, this patch fixes this issue
by attach the usb_phy to the xhci->shared_hcd.
Signed-off-by: Jisheng Zhang
---
drivers/usb/
Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the
usb_phy for usb3, but it forgets to shutdown/init the usb_phy in the
suspend/resume path. This patch fixes this issue by adding missing
usb_phy related calls.
Signed-off-by: Jisheng Zhang
---
drivers/usb/host/xhci-plat.c | 5 +
On Mon, Apr 18, 2016 at 1:43 PM, Thierry Reding
wrote:
> On Fri, Mar 04, 2016 at 05:19:34PM +0100, Thierry Reding wrote:
>> -MODULE_LICENSE("GPL v2");
>> +EXPORT_SYMBOL_GPL(tegra_xusb_padctl_legacy_remove);
>
> Since this merely implements the binding change, does your Acked-by on
> the binding ap
Hello.
On 4/26/2016 9:45 AM, Max Uvarov wrote:
Fix soft lockup when resetting remote device attached
to usb host. Configuration:
pppd -> musb hub -> usb-serial -> gms modem
When gsm modem resets, musb rolls in incoming rx interrupts
which does not give any time to other application as result
it
On Tue, 26 Apr 2016, Jiancheng Xue wrote:
> > If an error occurs here...
> >
> Sorry. It's really a problem. I'll modify it in v2 like below:
>
> err = reset_control_deassert(priv->rsts[rst]);
> if(err) {
> reset_control_put(priv->rsts[rst]);
> goto err_reset;
> }
Yes, that would be
On Tue, 26 Apr 2016, Felipe Balbi wrote:
> > Is there a reason why a process (pnatd in this particular case) doesn't
> > get killed on reboot?
>
> there might be, and that's probably the bug we're trying to figure
> out. But so far, no idea.
One possible reason is that the process is in an unin
* Ivaylo Dimitrov [160426 09:46]:
>
>
> On 26.04.2016 18:03, Alan Stern wrote:
> >On Tue, 26 Apr 2016, Felipe Balbi wrote:
> >
> >>>Is there a reason why a process (pnatd in this particular case) doesn't
> >>>get killed on reboot?
> >>
> >>there might be, and that's probably the bug we're trying
On 26.04.2016 18:03, Alan Stern wrote:
On Tue, 26 Apr 2016, Felipe Balbi wrote:
Is there a reason why a process (pnatd in this particular case) doesn't
get killed on reboot?
there might be, and that's probably the bug we're trying to figure
out. But so far, no idea.
One possible reason is
On 26.04.2016 19:49, Tony Lindgren wrote:
* Ivaylo Dimitrov [160426 09:46]:
On 26.04.2016 18:03, Alan Stern wrote:
On Tue, 26 Apr 2016, Felipe Balbi wrote:
Is there a reason why a process (pnatd in this particular case) doesn't
get killed on reboot?
there might be, and that's probably
On Mon, Apr 18, 2016 at 11:38:23AM -0500, Bin Liu wrote:
> Hi Greg,
>
> Here are a couple fixes for musb for v4.6-rc5.
Sorry for the delay, I picked these up with the request for 4.6-rc6,
right?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body
On Tue, Mar 22, 2016 at 04:33:29PM +0900, Nobuo Iwata wrote:
> This patch adds a code fragment to ignore completing URBs in closing
> connection.
>
> Regarding this patch, 2 execution contexts are related.
>
> 1) stub_tx.c: stub_complete() which is called from USB core
> 1-1) add to unlink list
On Tue, Mar 08, 2016 at 09:49:03PM +0100, Krzysztof Opasiak wrote:
> From: Igor Kotrasinski
>
> Add sysfs attributes to allow controlling vudc from usbip tools.
>
> dev_desc - device descriptor of current gadget. This is required to
>be consisten with current usbip protocol and allow to
On Tue, Mar 08, 2016 at 05:15:17PM +0800, changbin...@intel.com wrote:
> From: "Du, Changbin"
>
> This is a reworked patch based on reverted commit d8f00cd685f5 ("usb:
> hub: do not clear BOS field during reset device").
>
> The privious one caused double mem-free if run to re_enumerate label.
>
On Tue, Mar 08, 2016 at 09:48:55PM +0100, Krzysztof Opasiak wrote:
> Hi,
>
> This series extends USB/IP support in Kernel by adding an emulated
> USB Device Controller. This allows to virtually connect USB gadget
> created on a server to some remote machine as if it would be a fully
> functional U
On Mon, Apr 11, 2016 at 04:35:37PM +0300, Felipe Balbi wrote:
> Felipe Balbi writes:
>
> > Hi guys,
> >
> > this patchset introduces support for threaded IRQs
> > for host controllers drivers to use. Right now, only
> > XHCI has been converted, but more drivers could
> > easily be converted as we
On Fri, Apr 08, 2016 at 11:21:05AM -0400, Alan Stern wrote:
> On Fri, 8 Apr 2016, Greg Kroah-Hartman wrote:
>
> > On Fri, Apr 08, 2016 at 05:08:03PM +0800, Chunfeng Yun wrote:
> > > NULL pointer dereferrence will happen when class driver
> > > wants to allocate zero length buffer and pool_max[0]
>
> Why spam the kernel log for this? What can a user do with this information?
> Why not make it just a debug statement?
No need to be 'info' level. It was my mistake.
I will change it to 'debug' and send v2.
Thank you for reviewing,
nobuo.iwata
//
> -Original Message-
> From: Greg KH [
Hi,
On Tue, 2016-04-26 at 16:11 -0700, Greg Kroah-Hartman wrote:
> On Fri, Apr 08, 2016 at 11:21:05AM -0400, Alan Stern wrote:
> > On Fri, 8 Apr 2016, Greg Kroah-Hartman wrote:
> >
> > > On Fri, Apr 08, 2016 at 05:08:03PM +0800, Chunfeng Yun wrote:
> > > > NULL pointer dereferrence will happen wh
Hi,
On 04/26/2016 06:23 PM, Mark Brown wrote:
> On Tue, Apr 26, 2016 at 10:24:56AM +0800, Lu Baolu wrote:
>
>> The GPIO name might be different in different use cases. For my case,
>> it is "vbus_en", but other cases should use the different name.
>> On ACPI compatible platforms, GPIO resources ar
This patch adds a code fragment to ignore completing URBs in closing
connection.
Regarding this patch, 2 execution contexts are related.
1) stub_tx.c: stub_complete() which is called from USB core
1-1) add to unlink list and free URB or
1-2) move to tx list
2) stub_dev.c: stub_shutdown_connecti
> On Tue, Mar 08, 2016 at 05:15:17PM +0800, changbin...@intel.com wrote:
> > From: "Du, Changbin"
> >
> > This is a reworked patch based on reverted commit d8f00cd685f5 ("usb:
> > hub: do not clear BOS field during reset device").
> >
> > The privious one caused double mem-free if run to re_enumer
On Tue, Apr 26, 2016 at 04:21:07PM +0800, Peter Chen wrote:
> On Tue, Apr 26, 2016 at 07:00:22AM +, Jun Li wrote:
> > Hi
> >
> > > -Original Message-
> > > From: Peter Chen [mailto:hzpeterc...@gmail.com]
> > > Sent: Tuesday, April 26, 2016 2:28 PM
> > > To: Jun Li
> > > Cc: Roger Quad
On Wed, Apr 27, 2016 at 11:16:05AM +0900, Nobuo Iwata wrote:
> This patch adds a code fragment to ignore completing URBs in closing
> connection.
>
> Regarding this patch, 2 execution contexts are related.
>
> 1) stub_tx.c: stub_complete() which is called from USB core
> 1-1) add to unlink list
Dear Greg,
Very sorry. I made mistake.
I will send update with changelog separator.
Thank you,
n.iwata
//
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Wednesday, April 27, 2016 12:41 PM
> To: fx IWATA NOBUO
> Cc: valentina.mane...@gmail.com; shuah...@
Hello Peter,
On 16-04-21 17:13:34, Peter Chen wrote:
> On Tue, Apr 19, 2016 at 12:20:18PM +0530, maitysancha...@gmail.com wrote:
> > Hello Peter,
> >
> > On 16-04-19 10:40:20, Peter Chen wrote:
> > > On Mon, Apr 18, 2016 at 02:36:06PM +0530, maitysancha...@gmail.com wrote:
> > > > Hello Peter,
>
Hi,
Greg Kroah-Hartman writes:
> On Mon, Apr 11, 2016 at 04:35:37PM +0300, Felipe Balbi wrote:
>> Felipe Balbi writes:
>>
>> > Hi guys,
>> >
>> > this patchset introduces support for threaded IRQs
>> > for host controllers drivers to use. Right now, only
>> > XHCI has been converted, but more
Hi,
Krzysztof Opasiak writes:
> From: Igor Kotrasinski
>
> Add endpoints definitions and ops for both endpoints and gadget.
> Add also a suitable platform driver and functions for handling
> usbip events.
>
> This commit is a result of cooperation between Samsung R&D Institute
> Poland and Open
Hi,
(since you're fixing somebody else's commit, it's nice to Cc authors)
Jisheng Zhang writes:
> Commit 4718c1774051 ("usb: host: xhci-plat: add clock support") adds
> optional clk support, but it forgets to prepare/disable and
^^^
Hi,
(Cc authors and maintainer, otherwise you're patch might be forgotten ;-)
Jisheng Zhang writes:
> Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the
> usb_phy for usb3, but it attached the usb_phy to incorrect hcd. The
where did you see that's the USB3 phy ? I can't see
Hi,
Jisheng Zhang writes:
> Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the
> usb_phy for usb3, but it forgets to shutdown/init the usb_phy in the
> suspend/resume path. This patch fixes this issue by adding missing
> usb_phy related calls.
Fixes: 7b8ef22ea547 ("usb: xhci:
On Tue, Apr 26, 2016 at 04:18:32PM +0800, Li Jun wrote:
> Some usb module soc implementations can support usb charger type detection,
> which can be used by usb charger framework to control the charging current.
> User can define the charge detection api of the platform data if want to
> enable it.
Jisheng Zhang writes:
> Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to
> clk_{unprepare, disable}()") allows NULL or error pointer to be passed
> unconditionally.
>
> This patch is to simplify probe error and remove code paths.
this seems wrong to me. xhci->clk isn't initiali
Hi,
Jisheng Zhang writes:
> Marvell BG4CT SoC needs two phy: one for usb2 and another for usb3. Add
> the calls to retrieve generic PHY to xhci plat in order to support this.
>
> Signed-off-by: Jisheng Zhang
> ---
> drivers/usb/host/xhci-plat.c | 87
> ++---
Hi,
Jisheng Zhang writes:
> The Marvell BG4CT STB board has board level vbus control through gpio.
> This patch adds the vbus regulator control to support this board.
>
> Signed-off-by: Jisheng Zhang
> ---
> drivers/usb/host/xhci-plat.c | 40 +++-
> drivers/
Hi,
Grygorii Strashko writes:
> On 04/26/2016 09:17 AM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko writes:
>>> Now not all DMA paremters configured properly for "xhci-hcd" platform
>>> device which is created manually. For example: dma_pfn_offset, dam_ops
>>> and iommu configuratio
On Wed, Apr 27, 2016 at 10:20:53AM +0530, maitysancha...@gmail.com wrote:
> >
> > Do you know the connect/disconnect by using USB Cable (not ID cable), I
> > just want to know if the software can know connection,
>
> I did not understand this? Can you elaborate?
When the board connects to PC, d
Dear Felipe,
On Wed, 27 Apr 2016 08:25:38 +0300 Felipe Balbi wrote:
> Hi,
>
> (since you're fixing somebody else's commit, it's nice to Cc authors)
>
> Jisheng Zhang writes:
> > Commit 4718c1774051 ("usb: host: xhci-plat: add clock support") adds
> > optional clk support, but it forgets to pre
Dear Felipe,
On Wed, 27 Apr 2016 08:29:34 +0300 Felipe Balbi wrote:
> Hi,
>
> (Cc authors and maintainer, otherwise you're patch might be forgotten ;-)
Thanks a lot for the kind remind. I just run get_maintainer.pl to get the
To and Cc lists. It seems Mathias's email changed, MAINTAINERS need t
Hi,
Jisheng Zhang writes:
> Dear Felipe,
>
> On Wed, 27 Apr 2016 08:29:34 +0300 Felipe Balbi wrote:
>
>> Hi,
>>
>> (Cc authors and maintainer, otherwise you're patch might be forgotten ;-)
>
> Thanks a lot for the kind remind. I just run get_maintainer.pl to get the
> To and Cc lists. It seems
Dear Felipe,
On Wed, 27 Apr 2016 08:33:52 +0300 Felipe Balbi wrote:
> Jisheng Zhang writes:
> > Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to
> > clk_{unprepare, disable}()") allows NULL or error pointer to be passed
> > unconditionally.
> >
> > This patch is to simplify pr
This patch adds a code fragment to ignore completing URBs in closing
connection.
Regarding this patch, 2 execution contexts are related.
1) stub_tx.c: stub_complete() which is called from USB core
1-1) add to unlink list and free URB or
1-2) move to tx list
2) stub_dev.c: stub_shutdown_connecti
Dear Felipe,
On Wed, 27 Apr 2016 08:35:58 +0300 Felipe Balbi wrote:
> Hi,
>
> Jisheng Zhang writes:
> > Marvell BG4CT SoC needs two phy: one for usb2 and another for usb3. Add
> > the calls to retrieve generic PHY to xhci plat in order to support this.
> >
> > Signed-off-by: Jisheng Zhang
> >
Fix soft lockup when resetting remote device attached
to usb host. Configuration:
pppd -> musb hub -> usb-serial -> gsm modem
When gsm modem resets, musb rolls in incoming rx interrupts
which does not give any time to other application as result
it totally lock ups. Solution is to keep original log
64 matches
Mail list logo