> -Original Message-
> From: zhangfei [mailto:zhangfei@linaro.org]
> Sent: Monday, March 16, 2015 3:26 AM
> To: Kaukab, Yousaf; linux-usb@vger.kernel.org; ba...@ti.com;
> john.y...@synopsys.com
> Cc: Herrero, Gregory; r.bald...@samsung.com;
> dingu...@opensource.altera.com
> Subject: Re
On Tue, Mar 17, 2015 at 03:37:42AM +, Peter Chen wrote:
>
> >
> > Greetings All,
> > I have been getting the below build warnings:
> > drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’:
> > drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to
> > integer of
Hi,
On Tue, 2015-03-17 at 11:01 +0900, Chanwoo Choi wrote:
> Hi Ivan,
>
> On 03/16/2015 11:23 PM, Ivan T. Ivanov wrote:
> > Hi Roger,
> >
> > On Mon, 2015-03-16 at 15:11 +0200, Roger Quadros wrote:
> > > Hi Ivan,
> > >
> > > On 16/03/15 14:32, Ivan T. Ivanov wrote:
> > > > Hi,
> > > >
> > > >
Fixed spelling error.
On Tue, 2015-03-17 at 09:52 +0200, Ivan T. Ivanov wrote:
> Hi,
>
> On Tue, 2015-03-17 at 11:01 +0900, Chanwoo Choi wrote:
> > Hi Ivan,
> >
> > On 03/16/2015 11:23 PM, Ivan T. Ivanov wrote:
> > > Hi Roger,
> > >
> > > On Mon, 2015-03-16 at 15:11 +0200, Roger Quadros wrote:
On 16/03/15 19:53, Tony Lindgren wrote:
> * Roger Quadros [150126 04:19]:
>> This driver is needed for USB cable type detection on dra7-evm,
>> dra72-evm and am57xx-beagle-x15.
>>
>> Signed-off-by: Roger Quadros
>
> Applying this into omap-for-v4.1/defconfig. I think it's all
> queued up after t
The original driver had do not any h/w change in driver.
This patch implements with configure H/W for
baud/parity/word length/stop bits functional in f81232_set_termios().
This patch also implement DTR/RTS control when baudrate B0.
We drop DTR/RTS when B0, otherwise enable it.
We are checking bau
Add me to co-author and fix no '>' in greg kh's email
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index a0e0b9d..54cc707 100644
--- a/drivers/usb/serial/f
We remove non-used define in this patch to avoid wrong usage.
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 0da16ce..a0e0b9d 100644
--- a/drivers/usb/ser
We extract TIOCGSERIAL section in f81232_ioctl() to f81232_get_serial_info()
to make it clarify.
Also we fix device type from 16654 to 16550A, and set it's baud_base
to 115200 (1.8432MHz/16).
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 30 +++---
1 file c
We put FCR/IER initial step to f81232_port_enable()/f81232_port_disable().
When port is open, it set MSR interrupt on. Otherwise set it off.
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 49 +
1 file changed, 49 insertions(+)
diff --git
This patch implement relative MCR/MSR function, such like
tiocmget()/tiocmset()/dtr_rts()/carrier_raised()
original f81232_carrier_raised() compared with wrong value UART_DCD.
It's should compared with UART_MSR_DCD.
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 139 +++
Hi,
This patchset consists of some bug fixes and feature enhancements for
the dwc2 driver. All the patches are verified on dwc2 v3.0a with
dedicated fifos. Main focus of testing was with dma enabled. Although
basic testing without dma was also done.
This is based on testing/next branch in Felipe's
Prepare to add more debug code. Moreover, don't save dentry * for
each file in struct dwc2_hsotg as clean up is done with
debugfs_remove_recursive(). s3c_hsotg_delete_debug() is removed
altogether for the same reason.
Signed-off-by: Mian Yousaf Kaukab
---
drivers/usb/dwc2/Makefile | 4 +
dri
From: Gregory Herrero
Align buffer must be allocated using kmalloc since irqs are disabled.
Coherency is handled through dma_map_single which can be used with irqs
disabled.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/hcd.c | 7 ---
drivers/usb/dwc2/hcd_intr.c | 10
From: Gregory Herrero
Once hub is runtime suspended, dwc2 must resume it
on port connect event.
Else, roothub will stay in suspended state and will
not resume transfers.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/hcd_intr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/driver
If phy driver is present register hcd handle to it.
Signed-off-by: Mian Yousaf Kaukab
---
drivers/usb/dwc2/hcd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index a387e9f..130e9a2 100644
--- a/drivers/usb/dwc2/hcd.c
+++ b/drivers/usb/
On Tue, Mar 03, 2015 at 06:12:44PM +0200, Mathias Nyman wrote:
> On 03.03.2015 11:59, Maxime Ripard wrote:
> > On Mon, Mar 02, 2015 at 08:23:37PM +0100, Gregory CLEMENT wrote:
> >> Hi Maxime,
> >>
> >> On 19/01/2015 14:01, Maxime Ripard wrote:
> >>> The Armada 385 AP board has a USB3 port exposed t
From: Gregory Herrero
When suspending usb bus, phy driver may disable controller power.
In this case, registers need to be saved on suspend and restored
on resume.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/core.c | 382
drivers/usb/dwc
From: Gregory Herrero
Nothing to be done in pm suspend/resume when controller is in L2.
Don't disconnect or reset. State is already saved when putting
controller in hibernation and will be restored on USB bus resume.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/gadget.c | 6 ++
1 fi
From: Gregory Herrero
This is required due to an Intel specific hardware issue. Where id-
pin setup causes glitches on the interrupt line when CONIDSTSCHG
interrupt is enabled.
Specify external_id_pin_ctl when an external driver (for example phy)
can handle id change, so that CONIDSTSCHG interru
From: Gregory Herrero
Allow controller to enter in hibernation during usb bus suspend and
inform both phy and gadget about the suspended state.
While in hibernation, the controller can't detect the resume condition.
An external mechanism must call usb_phy_set_suspend on resume.
Exit hibernation w
From: Gregory Herrero
During suspend, there could a race condition between ep_queue and
suspend interrupt if lx_state is updated after releasing spinlock in
call_gadget(hsotg, suspend).
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/core_intr.c | 11 ---
1 file changed, 8 insertio
Ac dwc2 pci module is now exporting dwc2 platform device, include
platform.o in dwc2-y and remove USB_DWC2_PLATFORM configuration
option. Driver will be built as two modules, dwc2.ko and dwc2_pci.ko.
dwc2.ko is the new platform driver.
Remove all EXPORT_SYMBOL_GPL as they are not needed any more.
Force argument is not used anymore. Clean up leftovers from
https://lkml.org/lkml/2014/12/9/283
Signed-off-by: Mian Yousaf Kaukab
---
drivers/usb/dwc2/gadget.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 2e2
From: Gregory Herrero
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index 130e9a2..23a8f2f 100644
--- a/drivers/usb/dwc2/hcd.c
+++ b/drivers/usb/dwc2/hcd.c
@@ -23
Dump all registers to take a complete snapshot of dwc2 state.
Code is inspired by dwc3/debugfs.c
Signed-off-by: Mian Yousaf Kaukab
---
drivers/usb/dwc2/core.h| 1 +
drivers/usb/dwc2/debugfs.c | 356 +
2 files changed, 357 insertions(+)
diff --gi
From: Gregory Herrero
During urb_enqueue, if the urb can't be queued to the endpoint,
the urb is freed without any spinlock protection.
This leads to memory corruption when concurrent urb_dequeue try to free
same urb->hcpriv.
Thus, ensure the whole urb_enqueue in spinlocked.
Signed-off-by: Grego
So the parameters can be used in both host and gadget modes.
Also consolidate param functions in the core.h
Signed-off-by: Mian Yousaf Kaukab
---
drivers/usb/dwc2/core.c | 19 +++
drivers/usb/dwc2/core.h | 13 ++---
drivers/usb/dwc2/hcd.c | 34 +--
From: Gregory Herrero
During vbus session, usb controller needs to exit hibernation if it was
previously in suspend state.
Since controller will be resetted and configured, there is no need
to restore registers.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/gadget.c | 8
1 file
From: Jingwu Lin
Add support for SetPortFeature(PORT_TEST) for root port.
Signed-off-by: Jingwu Lin
---
drivers/usb/dwc2/hcd.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index 54f58c1..f8f3f5b 100644
--- a/drivers/usb/dwc2/hcd.c
From: Gregory Herrero
If usb controller is in partial power down, any write to registers may
cause unpredictable behavior.
Thus, prevent any new request submission once controller is in partial
power down.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/gadget.c | 7 +++
1 file changed
This series patch V9 is changed from V8 as following:
1. add comments for read URB 1byte LSR when port open.
2. change error handle flow of set_register()/get_register()
V8 (old change):
1. The V7 MSR strange delta value is checked with locking problem. We changed
f81232_set_mctrl() & f81232_r
From: Gregory Herrero
ResetDet interrupt is used to detect a reset of the bus
while the controller is suspended.
This may happens for example when using Command Verifier.
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/gadget.c | 19 ---
1 file changed, 16 insertions(+), 3
The F81232 bulk-in is RX data + LSR channel, data format is
[LSR+Data][LSR+Data]. , We had implemented in f81232_process_read_urb().
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 73 +
1 file changed, 40 insertions(+), 33 deletions(-)
From: Gregory Herrero
Signed-off-by: Gregory Herrero
---
drivers/usb/dwc2/gadget.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index bb83826..2e27bfd 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -3524,
Change private struct member name from line_status to modem_status.
It will store MSR for some functions used
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81
The original driver lock with spin_lock_irqsave()/spin_unlock_irqrestore()
because of it's maybe used in interrupt context f81232_process_read_urb().
We had remove it from previous patch "implement RX bulk-in EP", so we can
change it from busying loop spin_lock to sleepable mutex_lock.
Signed-off
The interrupt endpoint will report current IIR. If we got IIR with MSR changed
, We will do read MSR with interrupt_work worker to do f81232_read_msr()
function.
Signed-off-by: Peter Hung
---
drivers/usb/serial/f81232.c | 126 +---
1 file changed, 118 inse
+stable, v3.16+
On 11/03/15 03:41, Axel Lin wrote:
> Current code does not call clk_prepare(phy->optclk) when using the old
> usb_otg_ss_refclk960m name. Fix it.
>
> Signed-off-by: Axel Lin
Acked-by: Roger Quadros
cheers,
-roger
> ---
> drivers/phy/phy-omap-usb2.c | 5 +++--
> 1 file change
On Tue, Mar 17, 2015 at 10:06:44AM +0800, Peter Chen wrote:
> On Mon, Mar 16, 2015 at 12:21:53PM -0500, Felipe Balbi wrote:
> > On Mon, Mar 16, 2015 at 05:34:43PM +0800, Li Jun wrote:
> > > On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote:
> > > > On Mon, Mar 16, 2015 at 04:15:22PM +0800,
On Mon, 2 Mar 2015, Alan Stern wrote:
> On Fri, 27 Feb 2015, Christian Böhme wrote:
>
> > Alan Stern writes:
> >
> > > > Specifically, HID_QUIRK_IGNORE_MOUSE existed in 2.6.27
> > > > and was dealt with in drivers/hid/usbhid/hid-core.c:730,
> > > > thereby somehow "fixing things". But those li
Set host_request_flag if the current peripheral wants to take host role
via changing a_bus_req or b_bus_req by user application.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/otg_fsm.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/otg_f
Adds HNP polling timer when transits to host state, the OTG status request
will be sent to peripheral after timeout, if host request flag is set, it will
switch to peripheral state, otherwise it will repeat HNP polling every 1.5s and
maintain the current session.
Signed-off-by: Li Jun
---
driver
Since gadget driver will handle this request, so controller driver bypass it.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/udc.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 4254792..a65cdaf 100644
--- a/
If gadget with HNP polling support receives GetStatus request of otg status
selector, it feedback to host with host request flag to indicate if it wants
to take host role.
Signed-off-by: Li Jun
---
drivers/usb/gadget/composite.c | 25 +
1 file changed, 17 insertions(+),
HNP polling is a mechanism which allows the OTG device currently acting as host
to determine when the other attached OTG device wishes to take the host role.
When an OTG host, which supports HNP, is connected to an OTG peripheral which
also supports HNP it shall poll the peripheral regularly to det
Enable HNP polling support for chipidea gadget when otg fsm init.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/otg_fsm.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index 2ec90dc..82b1e23 100644
--- a/drivers/usb/chipid
From: Li Jun
Add 2 flags for USB OTG HNP polling, hnp_polling_support is to indicate if
the gadget can support HNP polling, host_request_flag is used for gadget
to store host request information from application, which can be used to
respond to HNP polling from host.
Signed-off-by: Li Jun
---
From: Li Jun
Update HNP test procedure as HNP polling is supported.
Signed-off-by: Li Jun
---
Documentation/usb/chipidea.txt |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/Documentation/usb/chipidea.txt b/Documentation/usb/chipidea.txt
index 3f848c1..95d9170 10
A host is required to use the GetStatus command, with wIndex set to the OTG
status selector(F000H) to request the Host request flag from the peripheral.
Signed-off-by: Li Jun
---
include/uapi/linux/usb/ch9.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/usb/ch9.h b/
On 03/17/2015, 03:20 PM, Alan Stern wrote:
> On Mon, 2 Mar 2015, Alan Stern wrote:
>
>> On Fri, 27 Feb 2015, Christian Böhme wrote:
>>
>>> Alan Stern writes:
>>>
> Specifically, HID_QUIRK_IGNORE_MOUSE existed in 2.6.27
> and was dealt with in drivers/hid/usbhid/hid-core.c:730,
> there
On Mon, Mar 16, 2015 at 5:29 PM, Mathias Nyman wrote:
> On 16.03.2015 17:21, Alistair Grant wrote:
>> On Mon, Mar 16, 2015 at 3:47 PM, Mathias Nyman
>> wrote:
>>> On 16.03.2015 16:31, Alistair Grant wrote:
On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman
wrote:
> On 15.03.2015 21:18
Hi,
On 17-03-15 15:50, Jeremy White wrote:
Hey Hans,
I'm coming back around to this; we've been tasked to actually make this
work.
It seems as though adding usbredir support to the kernel, either as a
flavor of usbip, or as a parallel solution is the best approach.
But I realize I'm really ig
On 16.03.2015 22:17, Alan Stern wrote:
> On Wed, 7 Jan 2015, Hans de Goede wrote:
>
>> Hi,
>>
>> On 07-01-15 16:19, Alan Stern wrote:
>>> On Tue, 6 Jan 2015, Taegil Bae wrote:
>>>
Hi all,
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=90791
My machine is Thinkpad Yo
On Mon, Feb 23, 2015 at 11:59:14 +0100, Bjørn Mork wrote:
> So my conclusion is that there is some higher level USB communication
> problem here, not directly involving neither usbnet nor the minidriver.
Do you have new ideas as to where the problem might be?
I have now used the cdc_ether driver t
The ohci driver now calls clk_set_rate on the uhpck clock (which forwards
set_rate requests to its parent: the usb clock).
Remove useless references to usb clocks from ohci definitions.
Signed-off-by: Boris Brezillon
---
arch/arm/boot/dts/at91rm9200.dtsi | 4 ++--
arch/arm/boot/dts/at91sam9260.
The uhpck is useless for High-Speed communications, remove the reference
to this clock in all ehci definitions.
Signed-off-by: Boris Brezillon
---
arch/arm/boot/dts/at91sam9g45.dtsi | 4 ++--
arch/arm/boot/dts/at91sam9x5.dtsi | 4 ++--
arch/arm/boot/dts/sama5d3.dtsi | 4 ++--
arch/arm/boot/
Add documentation for the missing clocks, clock-names, reg and interrupts
properties.
Signed-off-by: Boris Brezillon
---
.../devicetree/bindings/usb/atmel-usb.txt | 25 ++
1 file changed, 25 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.
The EHCI IP only needs the UTMI/UPLL (uclk) and the peripheral (iclk)
clocks to work properly. Remove the useless system clock (fclk).
Avoid calling set_rate on the fixed rate UTMI/IPLL clock and remove
useless IS_ENABLED(CONFIG_COMMON_CLK) tests (all at91 platforms have been
moved to the CCF).
T
Hello,
This series reworks clock handling in atmel USB host drivers, and while
doing so fixes a regression introduced by 3440ef1 (ARM: at91/dt: fix USB
high-speed clock to select UTMI).
Best Regards,
Boris
Boris Brezillon (5):
USB: ehci-atmel: rework clk handling
USB: host: ohci-at91: remov
Now that the system clock driver is forwarding set_rate request to the
parent clock, we can safely call clk_set_rate on the system clk and get
rid of the uclk field.
Signed-off-by: Boris Brezillon
---
drivers/usb/host/ohci-at91.c | 18 +++---
1 file changed, 3 insertions(+), 15 delet
Hi Greg
Two xhci patches for usb-next, one to add usb phy support to xhci-plat
needed by Marvell Armada 385 AP to get its USB3 VBUS up.
The other one is a tiny code consistency cleanup.
-Mathias
Lin Wang (1):
xhci: unify cycle state toggling operation with 'XOR'
Maxime Ripard (1):
usb: xhci
From: Lin Wang
Some toggling operation in xHCI driver still use conditional toggling:
ring->cycle_state = (ring->cycle_state ? 0 : 1);
Use XOR to invert the cycle state instead of a conditional toggle to unify
cycle state toggling operation in xHCI driver.
Signed-off-by: Lin Wang
Signed-off-by
From: Maxime Ripard
The Marvell Armada 385 AP needs a dumb phy in order to enable the USB3 VBUS.
Add a call to retrieve a USB PHY to XHCI plat in order to support this.
Signed-off-by: Maxime Ripard
Signed-off-by: Mathias Nyman
---
drivers/usb/host/xhci-plat.c | 19 ++-
1 file
On Fri, Mar 13, 2015 at 01:45:36PM -0700, Stephen Boyd wrote:
> On 03/13/15 12:55, Arnd Bergmann wrote:
> > On Friday 13 March 2015 11:09:33 Stephen Boyd wrote:
> >> The maintainers for mach-msm no longer have any plans to support
> >> or test the platforms supported by this architecture[1]. Most l
On Tue, Mar 17, 2015 at 06:34:21PM +0200, Mathias Nyman wrote:
> On 17.03.2015 11:51, Maxime Ripard wrote:
> > On Tue, Mar 03, 2015 at 06:12:44PM +0200, Mathias Nyman wrote:
> >> On 03.03.2015 11:59, Maxime Ripard wrote:
> >>> On Mon, Mar 02, 2015 at 08:23:37PM +0100, Gregory CLEMENT wrote:
>
On Tue, Mar 17, 2015 at 10:06:44AM +0800, Peter Chen wrote:
> On Mon, Mar 16, 2015 at 12:21:53PM -0500, Felipe Balbi wrote:
> > On Mon, Mar 16, 2015 at 05:34:43PM +0800, Li Jun wrote:
> > > On Mon, Mar 16, 2015 at 05:03:17PM +0800, Peter Chen wrote:
> > > > On Mon, Mar 16, 2015 at 04:15:22PM +0800,
On 17.03.2015 11:51, Maxime Ripard wrote:
> On Tue, Mar 03, 2015 at 06:12:44PM +0200, Mathias Nyman wrote:
>> On 03.03.2015 11:59, Maxime Ripard wrote:
>>> On Mon, Mar 02, 2015 at 08:23:37PM +0100, Gregory CLEMENT wrote:
Hi Maxime,
On 19/01/2015 14:01, Maxime Ripard wrote:
> The
On 3/16/2015 8:53 PM, Felipe Balbi wrote:
> Hi,
>
> On Mon, Mar 16, 2015 at 07:59:04PM +, Alan Cox wrote:
>> drivers/built-in.o: In function `dwc2_pci_remove':
>> /rotating/Kernel/next/drivers/usb/dwc2/pci.c:70: undefined reference to
>> `usb_phy_generic_unregister' drivers/built-in.o: In func
On Tue, Mar 17, 2015 at 10:41:52AM -0700, John Youn wrote:
> On 3/16/2015 8:53 PM, Felipe Balbi wrote:
> > Hi,
> >
> > On Mon, Mar 16, 2015 at 07:59:04PM +, Alan Cox wrote:
> >> drivers/built-in.o: In function `dwc2_pci_remove':
> >> /rotating/Kernel/next/drivers/usb/dwc2/pci.c:70: undefined r
The dwc2-pci driver should be compiled as a module when configured to
do so. If the dwc2-pci is configured as a module but actually
built-in, it can cause build errors due to the fact that the
generic-phy will be allowed to compile as a module causing undefined
references.
Reported-by: Alan Cox
S
On Tue, 17 Mar 2015, Boris Brezillon wrote:
> The EHCI IP only needs the UTMI/UPLL (uclk) and the peripheral (iclk)
> clocks to work properly. Remove the useless system clock (fclk).
>
> Avoid calling set_rate on the fixed rate UTMI/IPLL clock and remove
> useless IS_ENABLED(CONFIG_COMMON_CLK) te
On Tue, 17 Mar 2015, Boris Brezillon wrote:
> Now that the system clock driver is forwarding set_rate request to the
> parent clock, we can safely call clk_set_rate on the system clk and get
> rid of the uclk field.
>
> Signed-off-by: Boris Brezillon
Acked-by: Alan Stern
--
To unsubscribe fro
On 3/16/2015 7:24 PM, John Youn wrote:
> On 3/12/2015 9:53 AM, Antti Seppälä wrote:
>> Here are two patches needed to add support for mips based
>> big-endian SoCs made by Lantiq to dwc2 driver.
>>
>> The first patch converts the readl/writel io-accessors of dwc2 to
>> big-endian friendly versions
Sami Farin writes:
> On Mon, Feb 23, 2015 at 11:59:14 +0100, Bjørn Mork wrote:
>> So my conclusion is that there is some higher level USB communication
>> problem here, not directly involving neither usbnet nor the minidriver.
>
> Do you have new ideas as to where the problem might be?
> I have no
Add a minimal driver for dm816x USB. This makes USB work on dm816x
without any other changes needed as it can use the existing musb_dsps
glue layer for the USB controller.
Note that this phy is different from dm814x and am335x.
Cc: Bin Liu
Cc: Brian Hutchinson
Cc: Felipe Balbi
Cc: Matthijs van
On Tue, Mar 17, 2015 at 12:23:03PM -0700, John Youn wrote:
> On 3/16/2015 7:24 PM, John Youn wrote:
> > On 3/12/2015 9:53 AM, Antti Seppälä wrote:
> >> Here are two patches needed to add support for mips based
> >> big-endian SoCs made by Lantiq to dwc2 driver.
> >>
> >> The first patch converts th
On Tue, Mar 17, 2015 at 12:09:22PM -0500, Felipe Balbi wrote:
> On Tue, Mar 17, 2015 at 10:06:44AM +0800, Peter Chen wrote:
> > On Mon, Mar 16, 2015 at 12:21:53PM -0500, Felipe Balbi wrote:
> > > On Mon, Mar 16, 2015 at 05:34:43PM +0800, Li Jun wrote:
> > > > On Mon, Mar 16, 2015 at 05:03:17PM +080
On Tue, Mar 17, 2015 at 10:37:46PM +0800, Li Jun wrote:
> A host is required to use the GetStatus command, with wIndex set to the OTG
> status selector(F000H) to request the Host request flag from the peripheral.
Small comment, "Host request flag" you may use all words in capital letter
or lower l
On Tue, Mar 17, 2015 at 10:37:45PM +0800, Li Jun wrote:
> From: Li Jun
>
> Add 2 flags for USB OTG HNP polling, hnp_polling_support is to indicate if
> the gadget can support HNP polling, host_request_flag is used for gadget
> to store host request information from application, which can be used
On 3/17/2015 2:54 AM, Mian Yousaf Kaukab wrote:
> From: Gregory Herrero
>
> When suspending usb bus, phy driver may disable controller power.
> In this case, registers need to be saved on suspend and restored
> on resume.
>
> Signed-off-by: Gregory Herrero
> ---
> drivers/usb/dwc2/core.c | 382
On 3/17/2015 2:54 AM, Mian Yousaf Kaukab wrote:
> From: Gregory Herrero
>
> Signed-off-by: Gregory Herrero
> ---
> drivers/usb/dwc2/gadget.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
> index bb83826..2e27bfd 100644
> --- a
On 3/17/2015 2:54 AM, Mian Yousaf Kaukab wrote:
> From: Gregory Herrero
>
> During urb_enqueue, if the urb can't be queued to the endpoint,
> the urb is freed without any spinlock protection.
> This leads to memory corruption when concurrent urb_dequeue try to free
> same urb->hcpriv.
> Thus, ens
On 3/17/2015 2:54 AM, Mian Yousaf Kaukab wrote:
> Hi,
> This patchset consists of some bug fixes and feature enhancements for
> the dwc2 driver. All the patches are verified on dwc2 v3.0a with
> dedicated fifos. Main focus of testing was with dma enabled. Although
> basic testing without dma was al
On 3/17/2015 2:54 AM, Mian Yousaf Kaukab wrote:
> Dump all registers to take a complete snapshot of dwc2 state.
> Code is inspired by dwc3/debugfs.c
>
> Signed-off-by: Mian Yousaf Kaukab
> ---
> drivers/usb/dwc2/core.h| 1 +
> drivers/usb/dwc2/debugfs.c | 356
> +++
On Tue, Mar 17, 2015 at 10:37:47PM +0800, Li Jun wrote:
> Adds HNP polling timer when transits to host state, the OTG status request
> will be sent to peripheral after timeout, if host request flag is set, it will
> switch to peripheral state, otherwise it will repeat HNP polling every 1.5s
> and
On Tue, Mar 17, 2015 at 10:37:48PM +0800, Li Jun wrote:
> Since gadget driver will handle this request, so controller driver bypass it.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/chipidea/udc.c |3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/chipidea
On Tue, Mar 17, 2015 at 10:37:49PM +0800, Li Jun wrote:
> If gadget with HNP polling support receives GetStatus request of otg status
> selector, it feedback to host with host request flag to indicate if it wants
> to take host role.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/gadget/composite
On Tue, Mar 17, 2015 at 10:37:50PM +0800, Li Jun wrote:
> Set host_request_flag if the current peripheral wants to take host role
> via changing a_bus_req or b_bus_req by user application.
%s/changing/setting
After changing avoid, add: Acked-by: Peter Chen
>
> Signed-off-by: Li Jun
> ---
> d
On Tue, Mar 17, 2015 at 10:37:51PM +0800, Li Jun wrote:
> Enable HNP polling support for chipidea gadget when otg fsm init.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/chipidea/otg_fsm.c |1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/c
On Tue, Mar 17, 2015 at 10:37:52PM +0800, Li Jun wrote:
> From: Li Jun
>
> Update HNP test procedure as HNP polling is supported.
>
> Signed-off-by: Li Jun
> ---
> Documentation/usb/chipidea.txt |9 -
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation
91 matches
Mail list logo