2018-03-19 7:37 GMT+09:00 Masahiro Yamada :
> Hi Rob,
>
> 2018-03-18 21:52 GMT+09:00 Rob Herring :
>> On Thu, Mar 15, 2018 at 08:39:58PM +0900, Masahiro Yamada wrote:
>>> dwc3-of-simple.c only handles arbitrary number of clocks and resets.
>>> They
The Aspeed BMC SoCs support a "virtual hub" function. It provides some
HW support for a top-level USB2 hub behind which sit 5 gadget "ports".
This driver adds support for the full functionality, emulating the
hub standard requests and exposing 5 UDC gadget drivers corresponding
to the ports.
The
On Tue, Mar 27, 2018 at 9:30 AM, 李書帆 wrote:
> Hi Rob,
>
> 2018-03-27 6:23 GMT+08:00 Rob Herring :
>> On Tue, Mar 20, 2018 at 05:15:04PM +0800, ShuFan Lee wrote:
>>> From: ShuFan Lee
>>>
>>> Add device tree binding document for Richtek
The table is never modified by the function. This allows us
to use it on a statically defined table that is marked const.
Signed-off-by: Benjamin Herrenschmidt
---
drivers/usb/gadget/usbstring.c | 2 +-
include/linux/usb/gadget.h | 2 +-
2 files changed, 2
Fixes the following sparse warning:
drivers/usb/dwc3/gadget.c:169:6: warning:
symbol 'dwc3_gadget_del_and_unmap_request' was not declared. Should it be
static?
Signed-off-by: Wei Yongjun
---
drivers/usb/dwc3/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1
platform_get_resource() may fail and return NULL, so we should
better check it's return value to avoid a NULL pointer dereference
a bit later in the code.
This is detected by Coccinelle semantic patch.
@@
expression pdev, res, n, t, e, e1, e2;
@@
res = platform_get_resource(pdev, t, n);
+ if
On Thu, 2018-03-29 at 09:26 +1100, Benjamin Herrenschmidt wrote:
> On Thu, 2018-03-29 at 09:19 +1100, Benjamin Herrenschmidt wrote:
> > On Tue, 2018-03-27 at 10:30 +0300, Felipe Balbi wrote:
> > > $ gcc --version
> > > gcc (Debian 7.3.0-12) 7.3.0
> >
> > BTW. What debian version while at it ?
> >
Sounds good to me. Thanks Felipe.
Best,
Tuba Yavuz
From: Felipe Balbi
Sent: Wednesday, March 28, 2018 3:43 AM
To: Alan Stern
Cc: Greg Kroah-Hartman; Linux USB; Yavuz, Tuba
Subject: Re: [PATCH 1/2] usb: gadget: udc: core:
On Thu, 2018-03-29 at 09:19 +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2018-03-27 at 10:30 +0300, Felipe Balbi wrote:
> > $ gcc --version
> > gcc (Debian 7.3.0-12) 7.3.0
>
> BTW. What debian version while at it ?
>
> I still haven't managed to find a gcc that reproduces this, so I
> probably
On Tue, 2018-03-27 at 10:30 +0300, Felipe Balbi wrote:
> $ gcc --version
> gcc (Debian 7.3.0-12) 7.3.0
BTW. What debian version while at it ?
I still haven't managed to find a gcc that reproduces this, so I
probably need to get the exact same distro you are using installed
somewhere :-(
Cheers,
This allows dual-role ports to be reported as having gadget mode by the
musb_has_gadget helper. This is required to enable MUSB at all with MUSB
glue layers that set the port mode to MUSB_PORT_MODE_DUAL_ROLE at init.
Most notably, this allows calling musb_start when needed in the virtual
MUSB
On Wed, Mar 28, 2018 at 03:20:18PM +0200, Teichmann, Martin wrote:
> Hi list,
>
> Physik Instrumente uses an FTDI chip for their hardware. I found yet another
> new hardware type from them which is not in the FTDI list. Here is a patch
> for it.
>
> Greetings
>
> Martin
>
> >From
We need regmap_update_bits to avoid touch any other bits when
enable or disable vconn.
Reviewed-by: Guenter Roeck
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
Move TCPCI(Typec port controller interface) driver out of staging.
Signed-off-by: Li Jun
---
drivers/staging/Kconfig| 2 --
drivers/staging/Makefile | 1 -
drivers/staging/typec/Kconfig | 14 --
drivers/staging/typec/Makefile
While set polarity, we should keep the not connecting cc line to be
open.
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c
With that we can clear any pending events and the port is registered
so driver can be ready to handle typec events once we request irq.
Signed-off-by: Peter Chen
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 15 ---
1 file changed, 8
As DRP port autonomously toggles the Rp/Rd need a start value to
begin with, so add one parameter for it in tcpm_start_drp_toggling.
Reviewed-by: Guenter Roeck
Signed-off-by: Li Jun
---
drivers/usb/typec/tcpm.c | 10 +-
1 file changed, 5
TCPCI implementation may need SW to enable VBUS detection to generate
power status events.
Reviewed-by: Guenter Roeck
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 6 ++
1 file changed, 6 insertions(+)
diff --git
In case of drp toggling, we may need set correct cc value for role control
after attach as it may never been set.
Signed-off-by: Li Jun
---
drivers/usb/typec/tcpm.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/typec/tcpm.c b/drivers/usb/typec/tcpm.c
index
Add nxp ptn5110 typec controller compatible string: usb-tcpci,ptn5110,
which is a standard tcpci chip with power delivery support.
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/typec/tcpci.c
This patch adds support of get typec and power delivery config from
firmware description.
Signed-off-by: Li Jun
---
drivers/usb/typec/tcpm.c | 140 ++-
1 file changed, 115 insertions(+), 25 deletions(-)
diff --git
TCPCI stands for typec port controller interface, its implementation
has full typec port control with power delivery support, it's a
standard i2c slave with GPIO input as irq interface, detail see spec
"Universal Serial Bus Type-C Port Controller Interface Specification
Revision 1.0, Version 1.1"
This patch adds 3 APIs to get the typec port power and data type,
and preferred power role by its name string.
Suggested-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/usb/typec/class.c | 52 +++
Add fwnode handle to get the fwnode so we can get typec configs
it contains.
Suggested-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 14 +++---
drivers/usb/typec/tcpm.c | 1 +
Add bingdings supported by current typec driver, so user can pass
all those properties via dt.
Signed-off-by: Li Jun
---
.../bindings/connector/usb-connector.txt | 39 ++
1 file changed, 39 insertions(+)
diff --git
This patch set attempts to move the tcpci driver out of staging by fix
some tcpci driver issues and define typec and power delivery device
properties, the changes are verified on NXP PTN5110, which is a standard
tcpci typec port controller device with power delivery support, tested
power source
Fix to return error code -ENOMEM from the alloc fail error handling
case instead of 0, as done elsewhere in this function.
Fixes: ecd29dabb2ba ("usb: dwc2: pci: Handle error cleanup in probe")
Signed-off-by: Wei Yongjun
---
drivers/usb/dwc2/pci.c | 4 +++-
1 file
Hi list,
Physik Instrumente uses an FTDI chip for their hardware. I found yet another
new hardware type from them which is not in the FTDI list. Here is a patch for
it.
Greetings
Martin
>From de5ba08836b6b8fc851a481404295ccad7b7fc62 Mon Sep 17 00:00:00 2001
From: Martin Teichmann
On Mon, Mar 5, 2018 at 5:22 PM, Thang Q. Nguyen wrote:
> On Mon, Jan 29, 2018 at 5:24 PM, Thang Q. Nguyen wrote:
>> From: Tung Nguyen
>>
>> Currently, hcd->shared_hcd always creates and registers to the usb-core.
>> If, for some reasons,
Hi,
Alan Stern writes:
>> Alan Stern writes:
>> > On Mon, 26 Mar 2018, Felipe Balbi wrote:
>> >
>> >> Mention that ->complete() should never be called from within
>> >> usb_ep_queue().
>> >>
>> >> Signed-off-by: Felipe Balbi
Hi,
Alan Stern writes:
> Improve the kerneldoc for usb_ep_queue() to note explicitly that the
> request's completion routine will be called if and only if the return
> value is 0. The corresponding fact about usb_submit_urb() for the
> host-side API has long been
31 matches
Mail list logo