During _ffs_func_bind(), the received descriptors are evaluated
to prepare for binding with the gadget in order to allocate
endpoints and optionally set up OS descriptors. However, the
high- and super-speed descriptors are only parsed based on
whether the gadget_is_dualspeed() and gadget_is_supersp
On Wed, 24 Jan 2018 at 04:07 Greg KH wrote:
>
> On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote:
> > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote:
> > >
> > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote:
> > > > Hi
> > > >
> > > > I raised https://bugzilla.kernel.org/s
Mathhew,
Just a minor question.
On Wed, 2018-01-17 at 12:20 -0800, Matthew Wilcox wrote:
> This is a direct replacement for struct radix_tree_root. Some of the
> struct members have changed name; convert those, and use a #define so
> that radix_tree users continue to work without change.
>
> Si
On Wed, Jan 24, 2018 at 08:39:10AM +, Mike Lothian wrote:
> On Wed, 24 Jan 2018 at 04:07 Greg KH wrote:
> >
> > On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote:
> > > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote:
> > > >
> > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothia
On Tue, Jan 23, 2018 at 07:30:06PM -0700, Shuah Khan wrote:
> commit 2f2d0088eb93 ("usbip: prevent vhci_hcd driver from leaking a
> socket pointer address")
Now queued up for 4.4 and 4.9, thanks.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a mes
On Tue, Jan 23, 2018 at 07:32:11PM -0700, Shuah Khan wrote:
> From: Jonathan Dieter
>
> Upstream commit cfd6ed4537a9 ("usbip: Fix implicit fallthrough warning")
>
> GCC 7 now warns when switch statements fall through implicitly, and with
> -Werror enabled in configure.ac, that makes these tools
On Wed, 24 Jan 2018 at 08:46 Greg KH wrote:
>
> >
> > Hi
> >
> > PCI Hotplug and ACPI Hotplug are disabled on my system due to bug
> > https://bugzilla.kernel.org/show_bug.cgi?id=112121 where by my NVMe
> > drive would disappear from the system after suspend making my system
> > inoperable
>
> Ah,
Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian:
>
> I've played around with this some more, if the device is connected
> after boot nothing shows when it's plugged in
>
> I did however get more messages out when I disconnected the device
> after booting with it (see attached)
>
T
--
Guten Tag:
Sind Sie in finanziellen Schwierigkeiten? Benötigen Sie ein Darlehen
mit niedrigem Zinssatz? Wenn ja, kontaktieren Sie uns jetzt mit
Ihr Name:
Land:
Darlehensbetrag:
Telefonnummer:
Darlehens Dauer:
Staat:
Sex:
Beruf:
Monatliches Einkommen:
Alter:
Privatadresse:
--
To unsubscribe from
On 24 January 2018 at 10:04, Oliver Neukum wrote:
> Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian:
>>
>> I've played around with this some more, if the device is connected
>> after boot nothing shows when it's plugged in
>>
>> I did however get more messages out when I disconnected
t-20180119]
[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/commits/Benjamin-Herrenschmidt/usb-gadget-Add-an-EP-dispose-callback-for-EP-lifetime-tracking/20180124-065635
base: https://git.kernel.org/pub/
Am Mittwoch, den 24.01.2018, 10:30 + schrieb Mike Lothian:
> On 24 January 2018 at 10:04, Oliver Neukum wrote:
> >
> > Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian:
> > >
> > >
> > > I've played around with this some more, if the device is connected
> > > after boot nothing
Hi,
Le Tue, 23 Jan 2018 11:24:05 +0100,
Greg Kroah-Hartman a écrit :
> Instead of "open coding" a DEVICE_ATTR() define, use the
> DEVICE_ATTR_RW() macro instead, which does everything properly instead.
>
> This does require a few static functions to be renamed to work properly,
> but thanks to
On 24 January 2018 at 10:42, Oliver Neukum wrote:
> Am Mittwoch, den 24.01.2018, 10:30 + schrieb Mike Lothian:
>
> echo "file $NAMEOFKERNELSOURCEFILEYOUWANT +mfp" >
> /sys/kernel/debug/dynamic_debug/control
>
> HTH
> Oliver
>
OK so I'm enabling dynamic debugging in th
On 23/01/18 14:41, Roger Quadros wrote:
> Hi Manu,
>
> On 23/01/18 05:45, Manu Gautam wrote:
>> Hi,
>>
>>
>> On 1/22/2018 6:31 PM, Roger Quadros wrote:
>>> Adding/removing host/gadget controller before .pm_complete()
>>> causes a lock-up. Let's prevent any dual-role state change
>>> between .pm_pr
Hello Felipe,
Thank you for your comments.
On Tue, 23 Jan 2018 15:12:36 +0200 wrote:
>
> Hi,
>
> Kunihiko Hayashi writes:
> > Add a specific glue layer for UniPhier SoC platform to support
> > USB host mode. It manages hardware operating sequences to enable multiple
> > clock gates and asser
Hi,
Kunihiko Hayashi writes:
> Hello Felipe,
>
> Thank you for your comments.
>
> On Tue, 23 Jan 2018 15:12:36 +0200 wrote:
>
>>
>> Hi,
>>
>> Kunihiko Hayashi writes:
>> > Add a specific glue layer for UniPhier SoC platform to support
>> > USB host mode. It manages hardware operating sequenc
This series contains patches which are already have been sent in
"usb: dwc2: fixes, enhancements and new features" series.
That patch series was too large, and based on community feedbacks decided to
split that series into small pieces. This is a third part.
In this series we included Active Cl
From: Razmik Karapetyan
Added function for supporting Active Clock Gating functionality
in the driver.
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature, and
the previously reserved 12th bit in GHWCFG4 now indicates that the
controlle
From: Razmik Karapetyan
Backup PCGCCTL1 register when entering hibernation mode and
restore it after exiting from hibernation, to keep active ACG
feature.
Signed-off-by: Razmik Karapetyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/core.c | 2 ++
drivers/usb/dwc2/core.h | 1 +
2 file
From: Sevak Arakelyan
Make field names of GLPMCFG register in definitions to be
the same with the databook.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/hw.h | 38 --
1 file changed, 20 insertions(+), 18 deletions(-)
From: Sevak Arakelyan
Add a function which will be called if device is in L1 sleep state
and Resume/Remote Wakeup Detected interrupt is asserted.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/core_intr.c | 52
From: Sevak Arakelyan
Add lpm, lpm_clock_gating, besl, hird_threshold_en and hird_threshold
core parameters. These will indicate LPM and LPM Errata support
as well as chosen L1 sleeping mode for the core and PHY.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/d
From: Sevak Arakelyan
Enable "LPM Transaction Received" interrupt for receive an
interrupt when host will send LPM token.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/core_intr.c | 5 +++--
drivers/usb/dwc2/gadget.c| 3 ++-
drivers/usb/dwc2/hcd.c
From: Sevak Arakelyan
This interrupt indicates that an LPM transaction
was received on the USB bus. After getting this
interrupt we are going from L0 state to L1 state.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/core_intr.c | 63 +++
From: Sevak Arakelyan
Configure core in device mode to support LPM according to
programming guide.
Device will start giving valid responses for LPM tokens.
After this patch device side LPM will start working.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/
Added call_gadget() function call when entering to L1 state
to inform gadget that core is in L1 state.
Did the same thing when exiting from L1 state
to inform gadget that core is in L0 state.
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/core_intr.c | 6 ++
1 file changed, 6 insertio
Added core state checking in dwc2_hsotg_ep_queue() function
to make sure that application will submit requests only in L0 state.
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/gadget.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drive
From: John Youn
Set 'lpm_capable' flag in the gadget structure so
indicating that LPM is supported.
Signed-off-by: Sevak Arakelyan
Signed-off-by: Grigor Tovmasyan
---
drivers/usb/dwc2/gadget.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2
SION bit should be used in the situation that we need
to read back the value of a pin and should be set by
default. This can generate any kind of random malfunction
as described in this thread.
According to this thread:
https://www.spinics.net/lists/linux-usb/msg162574.html
We consider this an ea
Hi Michael,
On Wed, Jan 24, 2018 at 12:56 PM, Michael Trimarchi
wrote:
> SION bit should be used in the situation that we need
> to read back the value of a pin and should be set by
> default. This can generate any kind of random malfunction
> as described in this thread.
>
> According to this th
Hi Fabio
On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
> Hi Michael,
>
> On Wed, Jan 24, 2018 at 12:56 PM, Michael Trimarchi
> wrote:
>> SION bit should be used in the situation that we need
>> to read back the value of a pin and should be set by
>> default. This can generate any kind of
Hi
On Wed, Jan 24, 2018 at 4:39 PM, Benoît Thébaudeau wrote:
> On 24/01/2018 at 16:34, Benoît Thébaudeau wrote:
>> On 24/01/2018 at 16:26, Michael Nazzareno Trimarchi wrote:
>>> On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
On Wed, Jan 24, 2018 at 12:56 PM, Michael Trimarchi
w
On 24/01/2018 at 16:34, Benoît Thébaudeau wrote:
> On 24/01/2018 at 16:26, Michael Nazzareno Trimarchi wrote:
>> On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
>>> On Wed, Jan 24, 2018 at 12:56 PM, Michael Trimarchi
>>> wrote:
SION bit should be used in the situation that we need
Hi Michael,
On 24/01/2018 at 16:26, Michael Nazzareno Trimarchi wrote:
> On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
>> On Wed, Jan 24, 2018 at 12:56 PM, Michael Trimarchi
>> wrote:
>>> SION bit should be used in the situation that we need
>>> to read back the value of a pin and should
On 24/01/2018 at 16:43, Michael Nazzareno Trimarchi wrote:
> On Wed, Jan 24, 2018 at 4:39 PM, Benoît Thébaudeau wrote:
>> On 24/01/2018 at 16:34, Benoît Thébaudeau wrote:
>>> On 24/01/2018 at 16:26, Michael Nazzareno Trimarchi wrote:
On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
Hi
On Wed, Jan 24, 2018 at 5:03 PM, Benoît Thébaudeau wrote:
> On 24/01/2018 at 16:43, Michael Nazzareno Trimarchi wrote:
>> On Wed, Jan 24, 2018 at 4:39 PM, Benoît Thébaudeau
>> wrote:
>>> On 24/01/2018 at 16:34, Benoît Thébaudeau wrote:
On 24/01/2018 at 16:26, Michael Nazzareno Trimarchi
Hi Fabio
On Wed, Jan 24, 2018 at 4:26 PM, Michael Nazzareno Trimarchi
wrote:
> Hi Fabio
>
> On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote:
>> Hi Michael,
>>
Can you check where SION bit is mandatory for mx25? I have on IMX51
some PINMUX where sion is enabled.
I can clean up a bit the pat
Hi,
On 24/01/2018 at 17:17, Michael Nazzareno Trimarchi wrote:
> On Wed, Jan 24, 2018 at 5:03 PM, Benoît Thébaudeau wrote:
>> On 24/01/2018 at 16:43, Michael Nazzareno Trimarchi wrote:
>>> On Wed, Jan 24, 2018 at 4:39 PM, Benoît Thébaudeau
>>> wrote:
On 24/01/2018 at 16:34, Benoît Thébaude
Traditionally, PORTSC should be set before initializing ULPI phys. But
setting PORTSC before powering on the phy results in a kernel freeze
on imx53 based GE PPD. As a workaround this initializes the phy early
in the imx platform code and disables phy power management from the
core.
Signed-off-by:
Some trivial cleanups, that do not change functionality.
Signed-off-by: Sebastian Reichel
---
drivers/usb/chipidea/ci_hdrc_imx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c
b/drivers/usb/chipidea/ci_hdrc_imx.c
index 3b45c25f296e..de15
-20180119]
> [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/commits/Benjamin-Herrenschmidt/usb-gadget-Add-an-EP-dispose-callback-for-EP-lifetime-tracking/20180124-065635
> b
The goal of this series is to initialize multiple PHYs on a USB host
controller, which is needed on Amlogic Meson GXL and GXM SoCs.
- Amlogic Meson GXL and GXM SoCs come with a dwc3 IP block which has two
or three USB2 ports enabled on the internal root-hub. The SoCs also
provide separate USB2
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-by: Martin Blumens
Many SoC platforms have separate devices for the USB PHY which are
registered through the generic PHY framework. These PHYs have to be
enabled to make the USB controller actually work. They also have to be
disabled again on shutdown/suspend.
Currently (at least) the following HCI platform drivers
This integrates the PHY wrapper into the core hcd infrastructure.
Multiple PHYs which are part of the HCD's device tree node are now
managed (= powered on/off when needed), by the new usb_phy_roothub code.
Suspend and resume is also supported, however not for
runtime/auto-suspend (which is trigger
The new PHY wrapper is now wired up in the core HCD code. This means
that PHYs are now controlled (initialized, enabled, disabled, exited)
without requiring any host-driver specific code.
Remove the custom USB PHY handling from the mtu3 driver as the core HCD
code now handles this.
Signed-off-by:
The new PHY wrapper is now wired up in the core HCD code. This means
that PHYs are now controlled (initialized, enabled, disabled, exited)
without requiring any host-driver specific code.
Remove the custom USB PHY handling from the xhci-mtk driver as the core
HCD code now handles this.
Signed-off-
The new PHY wrapper is now wired up in the core HCD code. This means
that PHYs are now controlled (initialized, enabled, disabled, exited)
without requiring any host-driver specific code.
Remove the custom USB PHY handling from the ehci-platform driver as the
core HCD code now handles this.
Signed
The new PHY wrapper is now wired up in the core HCD code. This means
that PHYs are now controlled (initialized, enabled, disabled, exited)
without requiring any host-driver specific code.
Remove the custom USB PHY handling from the ohci-platform driver as the
core HCD code now handles this.
Signed
(this is the follow-up to my "initialize (multiple) PHYs for a HCD"
series from [0])
Various USB controller drivers parse the "phys" device-tree property and
grab all listed PHYs.
There is a lot of duplicate code around this in the various drivers:
- parse the "phys" property during .probe and sav
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
---
drivers/usb/core/hcd.c |
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
---
drivers/usb/chipidea/host.
Hello Felipe,
On Wed, 24 Jan 2018 14:58:12 +0200 wrote:
>
> Hi,
>
> Kunihiko Hayashi writes:
> > Hello Felipe,
> >
> > Thank you for your comments.
> >
> > On Tue, 23 Jan 2018 15:12:36 +0200 wrote:
> >
> >>
> >> Hi,
> >>
> >> Kunihiko Hayashi writes:
> >> > Add a specific glue layer for U
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 (initialized, enabled, disabled, exited)
> without requiring any host-driver specific code.
> Remove the custom USB PHY handling f
Dear Johan / Greg,
We have a new customer who wants to add their VID/PID to the PL2303 driver
source.
Can you help me?
Customer: Chilitag
VID: 067B
PID: AAA8
{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_CHILITAG) },
#define PL2303_VENDOR_ID0x067b
#define PL2303_PRODUCT_ID_CHILITAG0xaaa8
T
> On Mon, Jan 15, 2018 at 2:35 PM, Michael Nazzareno Trimarchi
> wrote:
> > Hi Peter
> >
> > On Mon, Dec 25, 2017 at 1:56 AM, Peter Chen wrote:
> >>
> >>> > On Thu, Nov 16, 2017 at 10:20 AM, Peter Chen
> wrote:
> >>> >>
> >>> >>> >
> >>> >>> > All USB registers, including USB transceiver, USB
In commit 2bfa0719ac2a ("usb: gadget: function: f_fs: pass
companion descriptor along") there is a pointer arithmetic
bug where the comp_desc is obtained as follows:
comp_desc = (struct usb_ss_ep_comp_descriptor *)(ds +
USB_DT_ENDPOINT_SIZE);
Since ds is a pointer to usb_endpoint_
58 matches
Mail list logo