On 08/22/2012 09:49 PM, Alan Stern wrote:
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index c3f619b..cac3ee2 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -292,7 +292,6 @@ config USB_OHCI_HCD
depends on USB&& USB_ARCH_HAS_OHCI
select
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote:
> + /* input final setup */
> + err = input_register_device(ebeam->input);
> + if (err) {
> + dev_dbg(&intf->dev,
> + "%s - input_register_device failed, err: %d\n",
> +
On 08/23/2012 12:16 AM, Roland Stigge wrote:
This issue could be resolved in a different way: Have you followed the
discussion at linux-arm-ker...@lists.infradead.org on 2012-08-20,
Subject "i2c: pnx: Fix bit definitions"? If nothing unexpected turns
out, PNX4008 should probably be removed altoge
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote:
> +static int ebeam_resume(struct usb_interface *intf)
> +{
> + struct ebeam_device *ebeam = usb_get_intfdata(intf);
> + struct input_dev *input = ebeam->input;
> + int result = 0;
> +
> + mutex_lock(&input->mutex);
> +
This patchset updates arch-vt8500 to devicetree and removes all the old-style
code. Support for WM8650 has also been added.
Example dts/dtsi files are given for the three currently supported models.
Major changes:
GPIO code has been converted to a platform_device and rewritten as WM8505
support
This patch adds common clock framework support for arch-vt8500.
Support for PLL and device clocks on VT8500, WM8505 and WM8650
are included.
Signed-off-by: Tony Prisk
---
drivers/clk/Makefile |1 +
drivers/clk/clk-vt8500.c | 511 ++
2 files ch
Converted the existing arch-vt8500 gpio to a platform_device.
Added support for WM8505 and WM8650 GPIO controllers.
Replaced existing readl/writel calls with _relaxed variants.
Replaced existing unsigned variables with u32 to match register size.
Signed-off-by: Tony Prisk
---
drivers/gpio/Kconfi
Bindings for gpio, interrupt controller, power management controller,
timer, realtime clock, serial uart, ehci and uhci controllers and
framebuffer controllers used on the arch-vt8500 platform.
Framebuffer binding also specifies a 'display' node which is required
for determining the lcd panel data
Add devicetree support for vt8500-ehci.
Convert vt8500-uhci to a generic non-pci platform-uhci with
device tree support.
Signed-off-by: Tony Prisk
---
drivers/usb/host/Kconfig |4 +-
drivers/usb/host/ehci-vt8500.c | 25 --
drivers/usb/host/uhci-hcd.c |5 ++
drivers/u
Increase vt8500_max_ports to 6 as the WM8505 as 6 available uarts.
Use devicetree port id as primary addressing for ports but allow
auto-allocation if id not specified.
Signed-off-by: Tony Prisk
---
drivers/tty/serial/vt8500_serial.c | 58
1 file changed, 5
Add device tree files for VT8500, WM8505 and WM8650 SoC's and
reference boards.
Signed-off-by: Tony Prisk
---
arch/arm/boot/dts/vt8500-bv07.dts | 31
arch/arm/boot/dts/vt8500.dtsi | 115 +
arch/arm/boot/dts/wm8505-ref.dts | 31
arch/arm/boo
Update vt8500-fb, wm8505-fb and wmt-ge-rops to support device
tree bindings.
Small change in wm8505-fb.c to support WM8650 framebuffer color
format.
Signed-off-by: Tony Prisk
---
drivers/video/Kconfig |6 +--
drivers/video/vt8500lcdfb.c | 79 ++-
drive
Signed-off-by: Tony Prisk
---
drivers/rtc/rtc-vt8500.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c
index 9e94fb1..07bf193 100644
--- a/drivers/rtc/rtc-vt8500.c
+++ b/drivers/rtc/rtc-vt8500.c
@@ -23,6 +23,7 @@
On Wed, Aug 22, 2012 at 11:25:16PM +0530, Pratyush Anand wrote:
> On 8/22/2012 5:01 PM, Felipe Balbi wrote:
> >Hi,
> >
> >On Wed, Aug 22, 2012 at 02:39:50PM +0530, Pratyush Anand wrote:
> >>Hi Felip,
> >>
> >>I am already discussing it with SNPS, but if you have observed
> >>following with current
On 08/23/2012 09:21 AM, Sebastian Andrzej Siewior wrote:
> On 08/23/2012 12:16 AM, Roland Stigge wrote:
>> This issue could be resolved in a different way: Have you followed the
>> discussion at linux-arm-ker...@lists.infradead.org on 2012-08-20,
>> Subject "i2c: pnx: Fix bit definitions"? If nothi
On 08/23/2012 10:18 AM, Roland Stigge wrote:
On 08/23/2012 09:21 AM, Sebastian Andrzej Siewior wrote:
On 08/23/2012 12:16 AM, Roland Stigge wrote:
This issue could be resolved in a different way: Have you followed the
discussion at linux-arm-ker...@lists.infradead.org on 2012-08-20,
Subject "i2
On 08/23/2012 10:29 AM, Sebastian Andrzej Siewior wrote:
>> For the PNX4008 removal - should I already post a patch to build the
>> respective changes on top of, without PNX4008 references?
>
> If nobody cares about PNX4008 and nobody tested if it actually works in
> the OHCI mode I don't see the
Hi Greg,
Here's my (hopefully) last set of fixes for v3.6-rc cycle. Let me know if you
want me to change anything and I'll do so ASAP.
cheers
The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)
are available in the git reposi
On 08/23/2012 11:03 AM, Felipe Balbi wrote:
> Hi Greg,
>
> Here's my (hopefully) last set of fixes for v3.6-rc cycle. Let me know if you
> want me to change anything and I'll do so ASAP.
>
> cheers
>
> The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:
>
> Linux 3.6-
This moves config.c into libcomposite and updates all gadgets.
Signed-off-by: Sebastian Andrzej Siewior
---
drivers/staging/ccg/ccg.c |1 -
drivers/usb/gadget/Makefile |2 +-
drivers/usb/gadget/acm_ms.c |1 -
drivers/usb/gadget/audio.c |1 -
dri
This patch aims to be simple. It removes #include usbstribgs.c line from each
gadget and creats libcomposite.ko which has only one member, that is
usbstribgs.c.
To avoid mass select statements in Kconfig I simply group the composite
based gadgets together. The three gadgets which are not part of th
epautoconf has two global variables which count the endpoint number
current endpoint assignet endpoint.
This patch removes the global variable and keeps it as per (UDC) gadget.
Signed-off-by: Sebastian Andrzej Siewior
---
drivers/usb/gadget/epautoconf.c | 23 ++-
include/li
This adds epautoconf.c into libcomposite and updates all gadgets.
Signed-off-by: Sebastian Andrzej Siewior
---
drivers/staging/ccg/ccg.c |1 -
drivers/usb/gadget/Makefile |2 +-
drivers/usb/gadget/acm_ms.c |1 -
drivers/usb/gadget/audio.c |2 +-
The next step is to move composite.c into the library. Since the Android
gadget has its composite.c copy this make makes sure both symbols do not
clash by making the symbols static. The unused functions are removed.
This patch also provides a local copy of composite.h because the
prototype is now d
This patch moves USB_BUFSIZ into global header file as
USB_COMP_EP0_BUFSIZ. There is currently only one user (f_sourcesink)
besides composite which needs it. Ideally f_sourcesink would have its
own ep0 buffer. Lets keep it that way it was for now.
Signed-off-by: Sebastian Andrzej Siewior
---
dri
there is no read user of bufsiz, its content is available via
USB_COMP_EP0_BUFSIZ. Remove it.
Signed-off-by: Sebastian Andrzej Siewior
---
drivers/usb/gadget/composite.c |1 -
include/linux/usb/composite.h |2 --
2 files changed, 3 deletions(-)
diff --git a/drivers/usb/gadget/composite
This is a partly revert of 4fffd6e5 ("usb: gadget: composite: make
module parameters accessible at runtime").
It is not possible to change the VID or other properly for a gadget
right now. This change has been made for Anrdoid gadget which has this
change in its copy of the file. This function is e
This patch moves the module options idVendor, idProduct and bcdDevice
from composite.c into each gadgets. This ensures compatibility with
current gadgets and removes the global variable which brings me step
closer towards composite.c in libcomposite
Signed-off-by: Sebastian Andrzej Siewior
---
d
El 22/08/12 18:43, Alan Stern escribió:
On Wed, 22 Aug 2012, Àlex Magaz Graça wrote:
Hi,
[1.] One line summary of the problem:
Certain USB devices wake up the system after power off
[2.] Full description of the problem/report:
The computer no longer shuts down properly after upgrading from U
On 08/23/2012 09:18 AM, Sebastian Andrzej Siewior wrote:
> On 08/22/2012 09:49 PM, Alan Stern wrote:
>>> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
>>> index c3f619b..cac3ee2 100644
>>> --- a/drivers/usb/host/Kconfig
>>> +++ b/drivers/usb/host/Kconfig
>>> @@ -292,7 +292,6 @@ c
On Thu, 23 Aug 2012 19:35:39 +1200
Tony Prisk wrote:
> Increase vt8500_max_ports to 6 as the WM8505 as 6 available uarts.
> Use devicetree port id as primary addressing for ports but allow
> auto-allocation if id not specified.
Acked-by: Alan Cox
for the serial bits
--
To unsubscribe from this
On Thursday 23 August 2012, Tony Prisk wrote:
> Patchset based on Arnd's arm-soc/for-next branch.
>
>
> Could I get this reviewed, hopefully for inclusion into v3.7.
I can take them into the arm-soc tree if there are no new comments.
For the last two patches, you need to get an Acked-by comment
With "select USB_ISP1301 ...", it could happen that I2C isn't selected although
USB_ISP1301 depends on it. Fixing with "depends on ..." and emulating the
condition via "|| !()".
Signed-off-by: Roland Stigge
---
drivers/usb/host/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
Sebastian Andrzej Siewior writes:
> This patch aims to be simple. It removes #include usbstribgs.c line from each
> gadget and creats libcomposite.ko which has only one member, that is
> usbstribgs.c.
> To avoid mass select statements in Kconfig I simply group the composite
> based gadgets togethe
Sebastian Andrzej Siewior writes:
> This moves config.c into libcomposite and updates all gadgets.
>
> Signed-off-by: Sebastian Andrzej Siewior
Acked-by: Michal Nazarewicz
> diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c
> index 7542a72..e3a9892 100644
> --- a/drivers/u
Sebastian Andrzej Siewior writes:
> epautoconf has two global variables which count the endpoint number
> current endpoint assignet endpoint.
> This patch removes the global variable and keeps it as per (UDC) gadget.
>
> Signed-off-by: Sebastian Andrzej Siewior
> ---
> drivers/usb/gadget/epautoc
On 08/23/2012 03:07 PM, Michal Nazarewicz wrote:
Perhaps also wrap declaration of usb_gadget_get_string() with an #ifdef
in include/linux/usb/gadget.h? This way, anything trying to use the
function w/o USB_LIBCOMPOSITE selected will fail to compile rather than
failing to load.
Good hint. The f
Sebastian Andrzej Siewior writes:
> This adds epautoconf.c into libcomposite and updates all gadgets.
>
> Signed-off-by: Sebastian Andrzej Siewior
Acked-by: Michal Nazarewicz
> diff --git a/drivers/usb/gadget/acm_ms.c b/drivers/usb/gadget/acm_ms.c
> index 3078d79..5db661d 100644
> --- a/driver
Sebastian Andrzej Siewior writes:
> This patch moves USB_BUFSIZ into global header file as
> USB_COMP_EP0_BUFSIZ. There is currently only one user (f_sourcesink)
> besides composite which needs it. Ideally f_sourcesink would have its
> own ep0 buffer. Lets keep it that way it was for now.
>
> Sign
Sebastian Andrzej Siewior writes:
> there is no read user of bufsiz, its content is available via
> USB_COMP_EP0_BUFSIZ. Remove it.
>
> Signed-off-by: Sebastian Andrzej Siewior
Acked-by: Michal Nazarewicz
> ---
> drivers/usb/gadget/composite.c |1 -
> include/linux/usb/composite.h |2
On 08/23/2012 03:15 PM, Michal Nazarewicz wrote:
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index fdf85a7..01fe02a 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -537,6 +537,12 @@ struct usb_gadget {
unsigneda_
On Thu, Aug 23, 2012 at 9:35 AM, Tony Prisk wrote:
> Converted the existing arch-vt8500 gpio to a platform_device.
> Added support for WM8505 and WM8650 GPIO controllers.
> Replaced existing readl/writel calls with _relaxed variants.
> Replaced existing unsigned variables with u32 to match regist
On 08/23/2012 03:25 PM, Michal Nazarewicz wrote:
diff --git a/drivers/usb/gadget/audio.c b/drivers/usb/gadget/audio.c
index 9e85df2..689d142 100644
--- a/drivers/usb/gadget/audio.c
+++ b/drivers/usb/gadget/audio.c
@@ -14,6 +14,7 @@
#include
#include
+#include "gadget_chips.h"
Perhaps we sh
On Thu, Aug 23, 2012 at 2:58 PM, Tony Prisk wrote:
> Linus W has provided some feedback on the gpio driver - I missed the
> issues he raised the first time around so just waiting for him to take a look
> at v4 when he's got time.
Reviewed and OK:ed, looking good now.
Yours,
Linus Walleij
--
To
Sebastian Andrzej Siewior writes:
> This patch moves the module options idVendor, idProduct and bcdDevice
> from composite.c into each gadgets. This ensures compatibility with
> current gadgets and removes the global variable which brings me step
> closer towards composite.c in libcomposite
>
> Si
On 08/23/2012 03:38 PM, Michal Nazarewicz wrote:
Wrap with a “do { ... } while (0)”.
Will do.
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.htm
>>> diff --git a/drivers/usb/gadget/audio.c b/drivers/usb/gadget/audio.c
>>> index 9e85df2..689d142 100644
>>> --- a/drivers/usb/gadget/audio.c
>>> +++ b/drivers/usb/gadget/audio.c
>>> @@ -14,6 +14,7 @@
>>> #include
>>> #include
>>>
>>> +#include "gadget_chips.h"
> On 08/23/2012 03:25 PM, Mich
Sebastian Andrzej Siewior writes:
> This is a partly revert of 4fffd6e5 ("usb: gadget: composite: make
> module parameters accessible at runtime").
> It is not possible to change the VID or other properly for a gadget
> right now. This change has been made for Anrdoid gadget which has this
> chang
On Thu, 23 Aug 2012, Lan Tianyu wrote:
> >>> Why not just update the ACPI information using the current hub
> >>> descriptor? You don't need to fetch the hub descriptor again.
> >>>
> >> You mean to set DeviceRemovable directly rather than via hub descriptor
> >> request
> >> here, right?
> >
>
On Thu, 23 Aug 2012, Sebastian Andrzej Siewior wrote:
> This patch aims to be simple. It removes #include usbstribgs.c line from each
> gadget and creats libcomposite.ko which has only one member, that is
> usbstribgs.c.
> To avoid mass select statements in Kconfig I simply group the composite
> b
On Thu, 23 Aug 2012, Roland Stigge wrote:
> With "select USB_ISP1301 ...", it could happen that I2C isn't selected
> although
> USB_ISP1301 depends on it. Fixing with "depends on ..." and emulating the
> condition via "|| !()".
>
> Signed-off-by: Roland Stigge
> ---
> drivers/usb/host/Kconfig
This patch (as1603) adds a NOGET quirk for the Eaton Ellipse MAX UPS
device. (The USB IDs were already present in hid-ids.h, apparently
under a different name.)
Signed-off-by: Alan Stern
Reported-by: Laurent Bigonville
CC:
---
drivers/hid/usbhid/hid-quirks.c |1 +
1 file changed, 1 inse
Hello,
Michael and I have a bunch of updates and improvement for the chipidea
driver. They apply to Richard's tree:
https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
What's the status of these patches? It would be fine if someone queues
them for upstream.
regards, Marc
--
Pengut
Otherwise the module's refcount is 0 and it's possible to unload the module,
even if the phy is in use.
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/otg/otg.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/otg/otg.c b/drivers/usb/otg/otg.c
index 1bf
This patch registers the msx-phy as an USB_PHY_TYPE_USB2. This is needed to get
reference to the phy with devm_usb_get_phy_by_phandle(), which will be added in
a later patch.
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/otg/mxs-phy.c |5 -
1 file changed, 4 insertions(+), 1 deletion(
From: Kishon Vijay Abraham I
This patch adds an API to get usb phy by passing a device node phandle value.
The new added devm_usb_get_phy_by_phandle() function will return a pointer to
the phy on success, -EPROBE_DEFER if there is a device_node for the phandle,
but the phy has not been added, or
This patch series improves the phy handling.
The first patch fixes the problem that the phy driver, when build as module,
can be unloaded when the phy is in use. The second patch takes up Kishon's work
and adds device tree support to the otg library. New in this patch is that
devm_usb_get_phy_by_p
From: Michael Grzeschik
When attaching an imx28 or imx53 in USB gadget mode to a Windows host and
starting a rndis connection we see this message every 4-10 seconds:
g_ether gadget: high speed config #2: RNDIS
Analysis shows that each time this message is printed, the rndis connection is
re
Hello,
this is a series fixes several problems in the chipidea udc driver. Although
this applies to v3.6-rc3, I don't want to push this into v3.6. Please review
and test.
These patches have been tested on mx28 and mx53.
regards, Marc
--
To unsubscribe from this list: send the line "unsubscribe
From: Michael Grzeschik
Add function to physicaly enable or disable of pullup connection on the USB-D+
line. The uvc gaget will fail, if this function is not implemented.
Signed-off-by: Michael Grzeschik
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/chipidea/udc.c | 21 +-
This patch fixes the error path of udc_start(). Now NULL is used to
unset the peripheral with otg_set_peripheral().
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/chipidea/udc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chip
From: Michael Grzeschik
Non control endpoints have an undefined maxpacket size on udc start. Some
gadget drivers check for the maxpacket size before they enable the endpoint,
which leads to a wrong state.
Signed-off-by: Michael Grzeschik
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/chipid
From: Michael Grzeschik
This patch adds support for a second and third clock to the chipidea driver. On
modern freescale ARM cores like the imx51, imx53 and imx6q three clocks ("ahb",
"ipg" and "per") must be enabled in order to access the USB core.
In the original driver, the clock was requeste
On Thu, 23 Aug 2012, Marc Kleine-Budde wrote:
> Otherwise the module's refcount is 0 and it's possible to unload the module,
> even if the phy is in use.
> @@ -139,8 +140,10 @@ EXPORT_SYMBOL(devm_usb_put_phy);
> */
> void usb_put_phy(struct usb_phy *x)
> {
> - if (x)
> + if (x) {
>
On 08/23/2012 08:33 PM, Alan Stern wrote:
> On Thu, 23 Aug 2012, Marc Kleine-Budde wrote:
>
>> Otherwise the module's refcount is 0 and it's possible to unload the module,
>> even if the phy is in use.
>
>> @@ -139,8 +140,10 @@ EXPORT_SYMBOL(devm_usb_put_phy);
>> */
>> void usb_put_phy(struct
On Mon, 20 Aug 2012, Felipe Balbi wrote:
> On Mon, Aug 20, 2012 at 04:37:28PM +0530, ABRAHAM, KISHON VIJAY wrote:
> > Hi,
> >
> > On Mon, Aug 20, 2012 at 3:56 PM, Felipe Balbi wrote:
> > > On Mon, Aug 20, 2012 at 03:46:07PM +0530, ABRAHAM, KISHON VIJAY wrote:
> > >> Hi,
> > >>
> > >> On Mon, Aug
Signed-off-by: Peter Meerwald
---
drivers/usb/otg/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index 13fd1ddf..fefca18 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -58,7 +58,7 @@ config US
Hi Sarah and Alan,
thank you for your answer. I finally got to look for some current patches and
to
test them. Confirming that patch 50d0206fcaea3e736f912fd5b00ec6233fb4ce44
applied over linux-3.5.1 fixes my problem and the modem now works fine
when attached to USB3 host.
Quoting the patch from
On 08/22/2012 01:44 AM, Arnd Bergmann wrote:
> On Wednesday 22 August 2012, Tony Prisk wrote:
>> The original patch was very simple, but I revisited it to fix other
>> issues and forgot to add the relevant comments.
>>
>> Port size is changed to fix a problem - WM8505 actually had 6 uart's
>> defin
On Thu, Aug 23, 2012 at 07:22:51PM +0200, Marc Kleine-Budde wrote:
> This patch series improves the phy handling.
>
> The first patch fixes the problem that the phy driver, when build as module,
> can be unloaded when the phy is in use.
ci13xxx_imx also have a try_module_get.
Thanks
Richard
> The
On Thu, Aug 23, 2012 at 06:57:03PM +0200, Marc Kleine-Budde wrote:
> Hello,
>
> Michael and I have a bunch of updates and improvement for the chipidea
> driver. They apply to Richard's tree:
>
> https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
>
> What's the status of these patche
On 2012年08月23日 22:10, Alan Stern wrote:
> On Thu, 23 Aug 2012, Lan Tianyu wrote:
>
> Why not just update the ACPI information using the current hub
> descriptor? You don't need to fetch the hub descriptor again.
>
You mean to set DeviceRemovable directly rather than via hub descr
Hi Marc,
Did you try both enableing and disabing DT pass build?
On Thu, Aug 23, 2012 at 07:22:53PM +0200, Marc Kleine-Budde wrote:
> From: Kishon Vijay Abraham I
>
> This patch adds an API to get usb phy by passing a device node phandle value.
> The new added devm_usb_get_phy_by_phandle() funct
On Thu, Aug 23, 2012 at 07:22:54PM +0200, Marc Kleine-Budde wrote:
> This patch registers the msx-phy as an USB_PHY_TYPE_USB2. This is needed to
> get
> reference to the phy with devm_usb_get_phy_by_phandle(), which will be added
> in
> a later patch.
>
> Signed-off-by: Marc Kleine-Budde
> ---
74 matches
Mail list logo