It dose not work when we want to use the usb-to-serial port based
on one usb gadget as a console. Thus this patch adds the console
initialization to support this request.
Signed-off-by: Baolin Wang
---
drivers/usb/gadget/Kconfig |6 +
drivers/usb/gadget/function/u_serial.c | 238
For supporting the usb charger, it adds the usb_charger_init() and
usb_charger_exit() functions for usb charger initialization and exit.
It will report to the usb charger when the gadget state is changed,
then the usb charger can do the power things.
Introduce a callback 'get_charger_type' which
When the usb gadget supporting for usb charger is ready, the usb charger
should get the type by the 'get_charger_type' callback which is implemented
by the usb gadget operations, and get the usb charger pointer from struct
'usb_gadget'.
Signed-off-by: Baolin Wang
---
drivers/usb/gadget/charger.c
Integrate with the newly added USB charger interface to limit the current
we draw from the USB input based on the input device configuration
identified by the USB stack, allowing us to charge more quickly from high
current inputs without drawing more current than specified from others.
Signed-off-
This patch introduces the usb charger driver based on usb gadget that
makes an enhancement to a power driver. It works well in practice but
that requires a system with suitable hardware.
The basic conception of the usb charger is that, when one usb charger
is added or removed by reporting from the
Currently the Linux kernel does not provide any standard integration of this
feature that integrates the USB subsystem with the system power regulation
provided by PMICs meaning that either vendors must add this in their kernels
or USB gadget devices based on Linux (such as mobile phones) may not b
Guten Tag,
Wir sind OCEAN FINANCE Darlehen Unternehmen geben Kredite per Post
Anzeige. Wir bieten verschiedene Arten von Krediten (kurz- und langfristige
Darlehen, persönliche Darlehen, Kredite an Unternehmen etc.) um 3% Zins. Wir
geben Kredite an Menschen in Not nicht unabhängig vo
Hi,
On Mon, Nov 16, 2015 at 3:46 AM, Hans de Goede wrote:
> From: Reinder de Haan
>
> Enable the 3 pairs of USB host controllers used on the Orange Pi Plus.
>
> Signed-off-by: Reinder de Haan
> Signed-off-by: Hans de Goede
> ---
> arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 28
> +
On Mon, Nov 16, 2015 at 3:46 AM, Hans de Goede wrote:
> From: Reinder de Haan
>
> Add a node describing the usb-clks found on the H3.
>
> Signed-off-by: Reinder de Haan
> Signed-off-by: Hans de Goede
Acked-by: Chen-Yu Tsai
(Also updated Mike's email in my reply.)
> ---
> arch/arm/boot/dts/
On Mon, Nov 16, 2015 at 3:46 AM, Hans de Goede wrote:
> From: Reinder de Haan
>
> The H3 has a usb-phy clk register which is similar to that of earlier
> SoCs, but with support for a larger number of phys. So we can simply add
> a new set of clk-data and a new compatible and be done with it.
>
>
Hi,
On 11/13/2015 11:34 PM, Dmitry Malkin wrote:
On Mon, 9 Nov 2015 15:38:33 +0800, Lu Baolu wrote:
On Intel platform, if the debug target is connected with debug
host, enabling DCE bit in command register leads to a hung bus
state. In the hung state, the host system will not see a port
connect
On Sat, Nov 14, 2015 at 12:36:48PM -0500, Alan Stern wrote:
> Hmmm. If the shared memory can be accessed by the CPU using ordinary
> load and store instructions and it can be kmalloc'ed, then it should be
> usable for zerocopy I/O. But again, only if it satisfies the
> restrictions imposed by the
Hi Reinder,
[auto build test ERROR on v4.3-rc7]
[also build test ERROR on next-20151115]
url:
https://github.com/0day-ci/linux/commits/Hans-de-Goede/reset-Add-of_reset_control_get_by_index/20151116-034643
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the
Hi Reinder,
[auto build test ERROR on: v4.3-rc7]
[also build test ERROR on: next-20151115]
url:
https://github.com/0day-ci/linux/commits/Hans-de-Goede/reset-Add-of_reset_control_get_by_index/20151116-034643
config: i386-allmodconfig (attached as .config)
reproduce:
# save the
On Sun, Nov 15, 2015 at 8:40 PM, Dave Penkler wrote:
> These ioctls provide support for the USBTMC-USB488 control requests
> for REN_CONTROL, GO_TO_LOCAL and LOCAL_LOCKOUT
>
Nitpicks below.
> Signed-off-by: Dave Penkler
> ---
> drivers/usb/class/usbtmc.c | 76
> +
On Sun, Nov 15, 2015 at 8:39 PM, Dave Penkler wrote:
> Background:
> When performing a read on an instrument that is executing a function
> that runs longer than the USB timeout the instrument may hang and
> require a device reset to recover. The READ_STATUS_BYTE operation
> always returns even wh
On Sat, Sep 12, 2015 at 4:08 AM, Hans-Peter Jansen wrote:
> With some changes in the 4.0 time frame, AND an update of the epson iscan
> stuff, I'm happily scanning with my Epson 4490 Photo scanner plugged to a USB
> 3.0 port using xsane.
>
> Other USB 3.0 issues are currently investigated.
Thank
On Sun, Nov 15, 2015 at 8:34 PM, Dave Penkler wrote:
> Implement support for the USB488 defined READ_STATUS_BYTE ioctl (1/5)
> and SRQ notifications with fasync (2/5) and poll/select (3/5) in order
> to be able to synchronize with variable duration instrument
> operations.
>
> Add ioctls for other
From: Reinder de Haan
Note this commit only adds support for phys 1-3, phy 0, the otg phy, is
not yet (fully) supported after this commit.
Signed-off-by: Reinder de Haan
Signed-off-by: Hans de Goede
---
.../devicetree/bindings/phy/sun4i-usb-phy.txt | 1 +
drivers/phy/phy-sun4i-usb.c
From: Reinder de Haan
Add nodes describing the H3's usbphy and usb host controller nodes.
Signed-off-by: Reinder de Haan
Signed-off-by: Hans de Goede
---
arch/arm/boot/dts/sun8i-h3.dtsi | 101
1 file changed, 101 insertions(+)
diff --git a/arch/arm/bo
From: Reinder de Haan
Enable the 3 pairs of USB host controllers used on the Orange Pi Plus.
Signed-off-by: Reinder de Haan
Signed-off-by: Hans de Goede
---
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm/
From: Reinder de Haan
Add a node describing the usb-clks found on the H3.
Signed-off-by: Reinder de Haan
Signed-off-by: Hans de Goede
---
arch/arm/boot/dts/sun8i-h3.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i
From: Reinder de Haan
The H3 has a usb-phy clk register which is similar to that of earlier
SoCs, but with support for a larger number of phys. So we can simply add
a new set of clk-data and a new compatible and be done with it.
Signed-off-by: Reinder de Haan
Signed-off-by: Hans de Goede
---
From: Reinder de Haan
At least the EHCI found on the Allwinnner H3 SoC needs multiple reset
lines, the controller will not initialize while the reset for its
companion OHCI is still asserted, which means we need to de-assert
2 reset-controllers for this EHCI controller to work.
Signed-off-by: Re
From: Reinder de Haan
In some cases it is useful to be able to get a reset-controller by
index rather then by name. E.g. for a generic ip-block driver such
as the ehci-platform drivers which needs to support more then one reset,
without knowing the names of the reset lines (as that would make it
Hi All,
Note the second patch in this set obviously depends on the first patch.
Perhaps it is best to merge both through Greg's tree with Philipp's ack ?
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
Mo
Background:
By configuring an instrument's event status register various
conditions can be reported via an SRQ notification. This complements
the synchronous polling approach using the READ_STATUS_BYTE ioctl
with an asynchronous notification.
Signed-off-by: Dave Penkler
---
drivers/usb/class/usb
This is a convenience function to obtain an instrument's
capabilities from its file descriptor without having to access sysfs
from the user program.
Signed-off-by: Dave Penkler
---
drivers/usb/class/usbtmc.c | 12
include/uapi/linux/usb/tmc.h | 21 ++---
2 files ch
Background:
In many situations operations on multiple instruments need to be
synchronized. poll/select provide a convenient way of waiting on a
number of different instruments and other peripherals
simultaneously.
Signed-off-by: Dave Penkler
---
drivers/usb/class/usbtmc.c | 23 ++
These ioctls provide support for the USBTMC-USB488 control requests
for REN_CONTROL, GO_TO_LOCAL and LOCAL_LOCKOUT
Signed-off-by: Dave Penkler
---
drivers/usb/class/usbtmc.c | 76
include/uapi/linux/usb/tmc.h | 6
2 files changed, 82 insertion
Background:
When performing a read on an instrument that is executing a function
that runs longer than the USB timeout the instrument may hang and
require a device reset to recover. The READ_STATUS_BYTE operation
always returns even when the instrument is busy permitting to poll
for the appropriate
Implement support for the USB488 defined READ_STATUS_BYTE ioctl (1/5)
and SRQ notifications with fasync (2/5) and poll/select (3/5) in order
to be able to synchronize with variable duration instrument
operations.
Add ioctls for other USB488 requests: REN_CONTROL, GOTO_LOCAL and
LOCAL_LOCKOUT. (4/5
for checking if a property is present or not,
of_property_read_bool is more appropriate then of_get_property()
Signed-off-by: Saurabh Sengar
---
drivers/usb/host/ohci-pxa27x.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/ohci-pxa27x.c b/driv
33 matches
Mail list logo