On Sat, Jun 23, 2018 at 11:24:08PM +0200, Aleksander Morgado wrote:
> This module exposes two USB configurations: a QMI+AT capable setup on
> USB config #1 and a MBIM capable setup on USB config #2.
>
> By default the kernel will choose the MBIM capable configuration as
> long as the cdc_mbim drive
>
> Fixes: 03e6275ae381087bd8 ("usb: chipidea: Fix ULPI on imx51")
> Suggested-by: Lucas Stach
> Signed-off-by: Fabio Estevam
> ---
> Changes since v1:
> - Only propagate the error when CONFIG_USB_CHIPIDEA_ULPI is unselected
>
> drivers/usb/chipidea/core.c | 11 +++
> 1 file changed,
On Tue, Jun 26, 2018 at 02:26:02AM +, Peter Chen wrote:
> The following changes since commit d5a4f93511b7000183c0d528739b824752139f79:
>
> usb: typec: tcpm: fix logbuffer index is wrong if _tcpm_log is re-entered
> (2018-06-25 21:43:35 +0800)
>
> are available in the git repository at:
>
The following changes since commit d5a4f93511b7000183c0d528739b824752139f79:
usb: typec: tcpm: fix logbuffer index is wrong if _tcpm_log is re-entered
(2018-06-25 21:43:35 +0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb.git/
tags/
Proof Of Payment. View your payment funds.
FBI Director Christopher A. Wray Director Since August 2, 2017 - Present
__
This email has been scanned by the Symantec Email Security.cloud service.
(SEND)__
Proof Of Payment. View your payment funds.
FBI Director Christopher A. Wray Director Since August 2, 2017 - Present
__
This email has been scanned by the Symantec Email Security.cloud service.
(SEND)__
Hi Greg,
a big thank for your exhaustive explanation. Of course this scenario was
more about testing than real-world experience since most serial
protocols I am aware of use much shorter messages.
What regards to the Prolific chip: I fully agree with you that it is a
consumer IC which does not co
On Mon, 25 Jun 2018 00:08:38 +0200
Sebastian Andrzej Siewior wrote:
> Use the _irqsave() variant of the locking primitives.
> usblp->wcomplete = 1;
> wake_up(&usblp->wwait);
> - spin_unlock(&usblp->lock);
> + spin_unlock_irqrestore(&usblp->lock, flags);
Code is correct, addr
On Mon, 25 Jun 2018, Sebastian Andrzej Siewior wrote:
> The USB completion callback does not disable interrupts while acquiring
> the lock. We want to remove the local_irq_disable() invocation from
> __usb_hcd_giveback_urb() and therefore it is required for the callback
> handler to disable the in
On Mon, 25 Jun 2018, Sebastian Andrzej Siewior wrote:
> The USB completion callback does not disable interrupts while acquiring
> the lock. We want to remove the local_irq_disable() invocation from
> __usb_hcd_giveback_urb() and therefore it is required for the callback
> handler to disable the in
On Mon, 25 Jun 2018, Sebastian Andrzej Siewior wrote:
> The USB completion callback does not disable interrupts while acquiring
> the lock. We want to remove the local_irq_disable() invocation from
> __usb_hcd_giveback_urb() and therefore it is required for the callback
> handler to disable the in
On Mon, Jun 25, 2018 at 05:48:05PM +0300, Heikki Krogerus wrote:
> On Mon, Jun 25, 2018 at 08:37:25PM +0800, Greg Kroah-Hartman wrote:
> > On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote:
> > > According to UCSI Specification, Connector Change Event only
> > > means a change in the
On Mon, Jun 25, 2018 at 08:37:25PM +0800, Greg Kroah-Hartman wrote:
> On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote:
> > According to UCSI Specification, Connector Change Event only
> > means a change in the Connector Status and Operation Mode
> > fields of the STATUS data structu
From: Fabio Estevam
Since commit 03e6275ae381087bd8 ("usb: chipidea: Fix ULPI on imx51") the
kernel hangs on a imx51-babbage board, when using the ULPI interface with
the CONFIG_USB_CHIPIDEA_ULPI option unselected.
Instead of hanging the kernel, let's warn the user that
CONFIG_USB_CHIPIDEA_ULPI
On Mon, Jun 25, 2018 at 11:06 AM, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Since commit 03e6275ae381087bd8 ("usb: chipidea: Fix ULPI on imx51") the
> kernel hangs on a imx51-babbage board, when using the ULPI interface with
> the CONFIG_USB_CHIPIDEA_ULPI option unselected.
>
> Instead of ha
From: Fabio Estevam
Since commit 03e6275ae381087bd8 ("usb: chipidea: Fix ULPI on imx51") the
kernel hangs on a imx51-babbage board, when using the ULPI interface with
the CONFIG_USB_CHIPIDEA_ULPI option unselected.
Instead of hanging the kernel, let's warn the user that
CONFIG_USB_CHIPIDEA_ULPI
On Sun, Jun 24, 2018 at 05:40:37PM +0200, Matthias Dieter Wallnöfer wrote:
> Hi people,
>
> as I am working with a PL2303-based USB-to-serial converter I discovered
> that the SW-based flow control was unsupported for all kernels till the
> upcoming 4.18 release. Thanks to the patch by Florian Zum
On Tue, 19 Jun 2018, Sebastian Andrzej Siewior wrote:
> The USB completion callback does not disable interrupts while acquiring
> the ->lock. We want to remove the local_irq_disable() invocation from
> __usb_hcd_giveback_urb() and therefore it is required for the callback
> handler to disable the
On Wed, Jun 20, 2018 at 02:14:57PM +0300, Felipe Balbi wrote:
>
> Hi Greg,
>
> here's the first set of fixes for current -rc cycle. Patches have been
> soaking for a while and I've also tested on some of our platforms from
> the lab.
>
> Let me know if you want anything to be changed.
Pulled an
On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote:
> According to UCSI Specification, Connector Change Event only
> means a change in the Connector Status and Operation Mode
> fields of the STATUS data structure. So any other change
> should create another event.
>
> Unfortunately on
Most of FTDI's devices have an EEPROM which records FTDI devices
configuration setting (e.g. the VID, PID, I/O config...) and user
data. For example, FT232R and FTX chips have 128-byte and 2048-byte
internal EEPROM respectively.
This patch adds support for FTDI EEPROM read/write via USB control
tr
Hi Loic,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.18-rc2 next-20180625]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux
Hi Loic,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.18-rc2 next-20180625]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux
On Mon, 2018-06-25 at 13:28 +0300, Felipe Balbi wrote:
>
> > > That would be a pretty strange thing to do. I'd say it's not worth
> > > worrying about until somebody makes that mistake.
> >
> > Well, things like usb_endpoint_maxp() seem not *completely* far fetched
> > but yeah EP0 is usually s
On Mon, 2018-06-25 at 13:11 +0300, Heikki Krogerus wrote:
> +Mika
>
> On Fri, Jun 22, 2018 at 10:12:10AM +0200, Timur Krist?f wrote:
> > Hi,
> >
> > I have a Dell XPS 13 9370, which has just Type-C ports. Currently
> > running kernel 4.17.2. I found that plugging in a powered USB hub
> > into
> >
On 25 June 2018 09:09, Li Jun wrote:
> This patch adds support of get typec and power delivery config from
> firmware description.
>
> Reviewed-by: Heikki Krogerus
> Reviewed-by: Guenter Roeck
> Signed-off-by: Li Jun
> ---
> drivers/usb/typec/tcpm.c | 132 +
Hi,
Benjamin Herrenschmidt writes:
> On Sat, 2018-06-23 at 11:07 -0400, Alan Stern wrote:
>> On Sat, 23 Jun 2018, Benjamin Herrenschmidt wrote:
>>
>> > Hi folks !
>> >
>> > I noticed some UDC drivers setup a "desc" pointer for ep0.desc for the
>> > driver, some don't.
>> >
>> > Is it official
+Mika
On Fri, Jun 22, 2018 at 10:12:10AM +0200, Timur Krist?f wrote:
> Hi,
>
> I have a Dell XPS 13 9370, which has just Type-C ports. Currently
> running kernel 4.17.2. I found that plugging in a powered USB hub into
> the Type-C port does not work.
>
> Please let me know if this isn't the corr
Most of FTDI's devices have an EEPROM which records FTDI devices
configuration setting (e.g. the VID, PID, I/O config...) and user
data. For example, FT232R and FTX chips have 128-byte and 2048-byte
internal EEPROM respectively.
This patch adds support for FTDI EEPROM read/write via USB control
tr
Hi,
please don't top-post and break your emails at 80 columns
liangshengjun writes:
> Hi balbi,
>
> Thanks for reponse. Now I fixed this case without check STALL
> status when clear-Halt request.
>
> BDW, I have meet other case:
>
> Run dwc3 for uvc function, the uvc video show vide
Hi balbi,
Thanks for reponse. Now I fixed this case without check STALL status
when clear-Halt request.
BDW, I have meet other case:
Run dwc3 for uvc function, the uvc video show video overlapping when windows 7
restart camera app.
I debug the dwc3 drivers ,found :
1. when came
On Mon, Jun 25, 2018 at 10:35:31AM +0200, Loic Poulain wrote:
> Hi Andy,
>
> On 25 June 2018 at 09:36, Andy Shevchenko wrote:
> > On Fri, Jun 22, 2018 at 5:22 PM, Loic Poulain
> > wrote:
> >> +#define EEPROM_SZ_FTX 2048 /* cf FTDI AN_201 */
> >> +#define EEPROM_SZ_FT232RL 128 /* cf FTDI AN_12
Hi Andy,
On 25 June 2018 at 09:36, Andy Shevchenko wrote:
> On Fri, Jun 22, 2018 at 5:22 PM, Loic Poulain wrote:
>> Most of FTDI's devices have an EEPROM which records FTDI devices
>> configuration setting (e.g. the VID, PID, I/O config...) and user
>> data.
>
>> FT230R chip integrates a 128-byt
We need regmap_update_bits to avoid touch any other bits when
enable or disable vconn.
Reviewed-by: Guenter Roeck
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ty
Move TCPCI(Typec port controller interface) driver and rt1711h
driver out of staging.
Signed-off-by: Li Jun
---
drivers/staging/Kconfig| 2 --
drivers/staging/Makefile | 1 -
drivers/staging/typec/Kconfig | 22 -
As tcpm_register_port() and tcpci_register_port() never return
NULL and NULL is not a success in this case, use IS_ERR() to check
the return value of both.
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
TCPCI implementation may need SW to enable VBUS detection to generate
power status events.
Reviewed-by: Guenter Roeck
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/staging/typec/tcpci.c b/d
From: Peter Chen
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.
Reviewed-by: Heikki Krogerus
Signed-off-by: Peter Chen
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 15 +--
1 file
This patch adds support of get typec and power delivery config from
firmware description.
Reviewed-by: Heikki Krogerus
Reviewed-by: Guenter Roeck
Signed-off-by: Li Jun
---
drivers/usb/typec/tcpm.c | 132 +++
1 file changed, 110 insertions(+), 22 dele
While set polarity, we should keep the disconnected cc line to be
open.
Reviewed-by: Heikki Krogerus
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/ty
This patch adds 3 APIs to get the typec port power and data type,
and preferred power role by its name string.
Signed-off-by: Li Jun
---
drivers/usb/typec/class.c | 58 +++
include/linux/usb/typec.h | 3 +++
2 files changed, 57 insertions(+), 4 deleti
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
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/usb/typec/tcpm.c | 10 +-
1 file changed, 5 insertions(+), 5 de
Since we will use config settings via device properties, so
remove the hard code tcpci_tcpc_config.
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/type
Add fwnode handle to get the fwnode so we can get typec configs
it contains.
Suggested-by: Heikki Krogerus
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers/staging/typec/tcpci.c | 7 +++
drivers/usb/typec/tcpm.c | 1 +
include/linux/usb/tcpm.h | 2 ++
3 files change
Add nxp ptn5110 typec controller compatible string: "nxp,ptn5110",
which is a standard tcpci chip with power delivery support. Meanwhile
remove "usb,tcpci" because it doesn't follow the binding format rule
and has not been used yet.
Reviewed-by: Heikki Krogerus
Signed-off-by: Li Jun
---
drivers
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"
Add bindings supported by current typec driver, so user can pass
all those properties via dt.
Reviewed-by: Rob Herring
Signed-off-by: Li Jun
---
.../bindings/connector/usb-connector.txt | 44 +++
include/dt-bindings/usb/pd.h | 62 +
This patch set attempts to move the tcpci drivers 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 an
On Mon, Jun 25, 2018 at 03:35:18PM +0800, Chengguang Xu wrote:
> Negative error code will be larger than sizeof().
Good catch!
I was gonna ask you to submit this as three separate patches to
facilitate stable backports, but fortunately it appears none of these
have any bad implications (besides p
Hi,
Alan Stern writes:
>> that patch is not 100% correct. You can revert it in your tree. I added
>> that because of a problem I found when running adb against macOS.
>>
>> It's actually okay to send Clear Halt at any time, but for some reason
>> dwc3 was hanging when running adb against macOS.
On Fri, Jun 22, 2018 at 5:22 PM, Loic Poulain wrote:
> Most of FTDI's devices have an EEPROM which records FTDI devices
> configuration setting (e.g. the VID, PID, I/O config...) and user
> data.
> FT230R chip integrates a 128-byte eeprom, FT230X a 2048-byte
> eeprom...
This sounds unfinished. W
Negative error code will be larger than sizeof().
Signed-off-by: Chengguang Xu
---
drivers/usb/serial/ir-usb.c | 2 +-
drivers/usb/serial/quatech2.c | 2 +-
drivers/usb/serial/ssu100.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/serial/ir-usb.c b/driver
52 matches
Mail list logo