Adds support for querying the phy bus width from the generic phy
subsystem. Configure UTMI bus width in GUSBCFG based on this value.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 14 +-
drivers/usb/gadget/s3c-hsotg.h | 1 +
2 files changed
Add a binding that describes the Broadcom Kona USB2 PHY found
on the BCM281xx family of SoCs.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
.../devicetree/bindings/phy/bcm-kona-usb2-phy.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation
Adds USB OTG/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
arch/arm/boot/dts/bcm11351
Enable support for the dwc2 binding.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index a8e6c3d..da3879b 100644
--- a/drivers/usb/gadget/s3c
Add a driver for the internal Broadcom Kona USB 2.0 PHY found
on the BCM281xx family of SoCs.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/phy/Kconfig | 6 ++
drivers/phy/Makefile| 1 +
drivers/phy/phy-bcm-kona-usb2.c | 158
If a generic phy is present, call phy_init()/phy_exit(). This supports
generic phys that must be soft reset before power on.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/gadget/s3c
dwc2/s3c-hsotg require a single clock to be specified and optionally
a generic phy. On the s3c-hsotg driver old style USB phy support is
present as a fallback so the generic phy properties are optional.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
Documentation/devicetree/bindings
Remove unused Samsung-specific machine include and Kconfig
dependency on S3C.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
drivers/usb/gadget/Kconfig | 7 +++
drivers/usb/gadget/s3c
to properly configure the controller.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
include/linux/phy/phy.h | 20
1 file changed, 20 insertions(+)
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 6d72269..6ca6c61 100644
--- a/include/linux/phy/phy.h
. I do add phy_init/phy_exit support
which is probably better coming in with my series as my phy driver
makes use of the init method.
Tested-by: Matt Porter matt.por...@linaro.org
-Matt
[1] http://www.kernelhub.org/?msg=367354p=2
--
To unsubscribe from this list: send the line unsubscribe linux
On Tue, Nov 05, 2013 at 03:22:53PM +0100, Stanislaw Wadas wrote:
mkdir() function is now performed after successful memory allocation
and gadget function creation.
Added inline to gadget_write_string().
256 hard coded value has been replaced by two defined
constants MAX_LENGTH and
On Tue, Nov 05, 2013 at 03:22:54PM +0100, Stanislaw Wadas wrote:
Error handling was added to fputs()/fgets() functions.
Signed-off-by: Stanislaw Wadas s.wa...@samsung.com
---
Changes since v2:
- fixed code indentation
- removed unused variable ret
Changes since v1:
-
On Mon, Nov 04, 2013 at 04:09:39PM +0100, Stanislaw Wadas wrote:
Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
Signed-off-by: Stanislaw Wadas s.wa...@samsung.com
Need a commit log entry for this one.
Can you please follow kernel conventions when posting/reposting?
Submit the updated
On Mon, Nov 04, 2013 at 02:55:46PM +0100, Stanislaw Wadas wrote:
In reference to the message sent by Andrzej Pietrasiewicz
(about libusbg (formerly libgadget)) I would like to propose
some changes to libusbg.
Along the lines in my other reply, it would be preferred if you could
send this type
On Sat, Nov 02, 2013 at 10:46:55PM +0530, Kishon Vijay Abraham I wrote:
Hi Tomasz,
On Saturday 02 November 2013 06:44 PM, Tomasz Figa wrote:
Hi Matt,
On Friday 01 of November 2013 15:45:50 Matt Porter wrote:
This adds a pair of APIs that allows the generic PHY subsystem to
provide
On Sat, Nov 02, 2013 at 02:09:21PM +0100, Tomasz Figa wrote:
Hi Matt.
On Friday 01 of November 2013 15:45:54 Matt Porter wrote:
Adds support for the generic PHY subsystem. Generic PHY
support is probed and then the driver falls back to checking
for an old style USB PHY and pdata
On Thu, Oct 31, 2013 at 01:35:45PM +0100, Krzysztof Opasiak wrote:
Hi,
-Original Message-
From: Felipe Balbi [mailto:ba...@ti.com]
Sent: Wednesday, October 30, 2013 6:33 PM
To: Krzysztof Opasiak
Cc: linux-usb@vger.kernel.org; Matt Porter
Subject: Re: Gadget tool proposition
Add a binding that describes the Broadcom Kona USB2 PHY found
on the BCM281xx family of SoCs.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
.../devicetree/bindings/phy/bcm-kona-usb2-phy.txt | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 Documentation
Enable support for the dwc2 binding.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 258bc73..3e0c124 100644
--- a/drivers/usb/gadget/s3c
Remove unused Samsung-specific machine include and Kconfig
dependency on S3C.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
drivers/usb/gadget/Kconfig | 7 +++
drivers/usb/gadget/s3c
Adds support for querying the phy bus width from the generic phy
subsystem. Configure UTMI bus width in GUSBCFG based on this value.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 14 +-
drivers/usb/gadget/s3c-hsotg.h | 1 +
2 files changed
Adds USB OTG/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
arch/arm/boot/dts/bcm11351
Add a driver for the internal Broadcom Kona USB 2.0 PHY found
on the BCM281xx family of SoCs.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/phy/Kconfig | 6 ++
drivers/phy/Makefile| 2 +
drivers/phy/phy-bcm-kona-usb2.c | 161
Adds support for the generic PHY subsystem. Generic PHY
support is probed and then the driver falls back to checking
for an old style USB PHY and pdata if not found.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/s3c-hsotg.c | 54
dwc2/s3c-hsotg require a single clock to be specified and optionally
a generic phy. On the s3c-hsotg driver old style USB phy support is
present as a fallback so the generic phy properties are optional.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
Documentation/devicetree/bindings
). The dependencies noted for that
series are already queued for 3.13. It also depends on the generic PHY
subsystem which has also been queued for 3.13.
Matt Porter (9):
phy: add phy_get_bus_width()/phy_set_bus_width() calls
staging: dwc2: update DT binding to add generic clock/phy properties
usb: gadget
to properly configure the controller.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
include/linux/phy/phy.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 6d72269..e858ce1 100644
--- a/include/linux/phy/phy.h
+++ b
On Fri, Nov 01, 2013 at 11:56:33PM +0300, Sergei Shtylyov wrote:
Hello.
On 11/01/2013 10:45 PM, Matt Porter wrote:
Adds USB OTG/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.
Signed-off-by: Matt Porter matt.por...@linaro.org
On Fri, Nov 01, 2013 at 09:54:10PM +0100, Arend van Spriel wrote:
On 11/01/2013 08:45 PM, Matt Porter wrote:
Add a binding that describes the Broadcom Kona USB2 PHY found
on the BCM281xx family of SoCs.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
.../devicetree/bindings/phy/bcm
On Wed, Oct 23, 2013 at 09:29:22PM +, Paul Zimmerman wrote:
From: Matt Porter [mailto:matt.por...@linaro.org]
Sent: Wednesday, October 23, 2013 7:43 AM
On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote:
On 10/22/2013 06:25 AM, Matt Porter wrote:
On Tue, Oct 22, 2013
On Thu, Oct 24, 2013 at 10:51:43AM +0530, Kishon Vijay Abraham I wrote:
Hi,
On Wednesday 23 October 2013 08:12 PM, Matt Porter wrote:
On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote:
On 10/22/2013 06:25 AM, Matt Porter wrote:
On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs
On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote:
On 10/22/2013 06:25 AM, Matt Porter wrote:
On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs Kooijman wrote:
Hi Kishon,
On Mon, Oct 21, 2013 at 02:57:26PM +0530, Kishon Vijay Abraham I wrote:
I think it makes sense to keep
On Wed, Oct 23, 2013 at 01:11:15PM -0500, Felipe Balbi wrote:
Hi,
On Wed, Oct 23, 2013 at 10:42:42AM -0400, Matt Porter wrote:
On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote:
On 10/22/2013 06:25 AM, Matt Porter wrote:
On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs
On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs Kooijman wrote:
Hi Kishon,
On Mon, Oct 21, 2013 at 02:57:26PM +0530, Kishon Vijay Abraham I wrote:
I think it makes sense to keep the data width property in the dwc2 node
itself.
I mean it describes how the dwc2 IP is configured in that
This is a summary of an unresolved issue resulting from this thread:
http://www.spinics.net/lists/arm-kernel/msg277700.html
The BCM281xx family of SoCs contain an OTG subsystem consisting of a
DWC2 HSOTG controller and an internal UTMI PHY. This is appears as
follows (monospace font requirement
On Fri, Oct 11, 2013 at 08:37:31AM -0500, Felipe Balbi wrote:
Hi,
On Thu, Oct 10, 2013 at 11:21:30PM -0400, Matt Porter wrote:
On 10/10/2013 03:07 PM, Matt Porter wrote:
On 10/10/2013 01:57 PM, Paul Zimmerman wrote:
From: Felipe Balbi [mailto:ba...@ti.com]
Sent: Thursday, October 10
On 10/10/2013 11:31 AM, Felipe Balbi wrote:
Hi,
On Mon, Oct 07, 2013 at 06:12:30AM -0400, Matt Porter wrote:
Broadcom BCM281xx parts have a PHY control block that
operates in conjunction with the DWC2 USB OTG. This driver
exposes an API that allows control of power/reset for a
connected USB
On 10/10/2013 11:29 AM, Felipe Balbi wrote:
On Mon, Oct 07, 2013 at 06:12:29AM -0400, Matt Porter wrote:
Extend dwc2 binding with an optional utmi phy width property.
Enable the s3c-hsotg.c driver to use standard dwc2 binding
and enable configuration of the UTMI phy width based on the
property
On 10/10/2013 01:57 PM, Paul Zimmerman wrote:
From: Felipe Balbi [mailto:ba...@ti.com]
Sent: Thursday, October 10, 2013 10:46 AM
On Thu, Oct 10, 2013 at 12:54:40PM -0400, Matt Porter wrote:
On 10/10/2013 11:29 AM, Felipe Balbi wrote:
On Mon, Oct 07, 2013 at 06:12:29AM -0400, Matt Porter wrote
On 10/10/2013 03:07 PM, Matt Porter wrote:
On 10/10/2013 01:57 PM, Paul Zimmerman wrote:
From: Felipe Balbi [mailto:ba...@ti.com]
Sent: Thursday, October 10, 2013 10:46 AM
On Thu, Oct 10, 2013 at 12:54:40PM -0400, Matt Porter wrote:
On 10/10/2013 11:29 AM, Felipe Balbi wrote:
On Mon, Oct 07
Extend dwc2 binding with an optional utmi phy width property.
Enable the s3c-hsotg.c driver to use standard dwc2 binding
and enable configuration of the UTMI phy width based on the
property.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Add a USB PHY driver for BCM281xx devices. This driver makes use of the
Broadcom Kona USB control driver to control init/shutdown of the PHY.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
Adds USB OTG/Control/PHY and clock support to BCM281xx and enables
UDC support on the bcm11351-brt and bcm28155-ap boards.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
arch/arm/boot/dts
Broadcom BCM281xx parts have a PHY control block that
operates in conjunction with the DWC2 USB OTG. This driver
exposes an API that allows control of power/reset for a
connected USB PHY.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed
Remove unused Samsung-specific machine include and Kconfig
dependency on S3C.
Signed-off-by: Matt Porter matt.por...@linaro.org
Reviewed-by: Markus Mayer markus.ma...@linaro.org
Reviewed-by: Tim Kryger tim.kry...@linaro.org
---
drivers/usb/gadget/Kconfig | 7 +++
drivers/usb/gadget/s3c
/3/645). The dependencies noted for that
series are already queued for 3.13.
Matt Porter (5):
usb: gadget: s3c-hsotg: enable build for other platforms
usb: gadget: s3c-hsotg: support configurable UTMI PHY width
usb: phy: add Broadcom Kona USB control driver
usb: phy: add Broadcom Kona USB
On 09/11/2013 03:42 AM, Jan Engelhardt wrote:
On Wednesday 2013-09-04 19:25, Matt Porter wrote:
With the move to configfs for creation of arbitrary USB composite gadgets,
I found myself wanting a simple C library to configure and parse gadgets
in a system. It has no other dependencies other
With the move to configfs for creation of arbitrary USB composite gadgets,
I found myself wanting a simple C library to configure and parse gadgets
in a system. It has no other dependencies other than libc itself.
It can be found at:
git://git.linaro.org/people/mporter/libgadget.git
This series fixes a build warning from USB Ethernet module parameters
in g_ffs and adds an additional configuration for CDC ACM + FunctionFS.
Matt Porter (2):
usb: gadget: ffs: fix eth module parameters warning in pure-only
config
usb: gadget: ffs: add ACM + FunctionFS configuration
Adds an additional configuration to g_ffs to allow for
CDC ACM support in conjuction with FunctionFS. A module
parameter is added to allow for multiple ACM ports to
be instantiated.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/Kconfig |9 ++
drivers/usb/gadget
Fixes the build warning spewed out by USB_ETHERNET_MODULE_PARAMETERS()
which was unconditionally included even when ethernet configs are
disabled.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
drivers/usb/gadget/g_ffs.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
On 08/16/2013 11:32 AM, Felipe Balbi wrote:
On Fri, Aug 16, 2013 at 11:27:48AM -0400, Matt Porter wrote:
Adds an additional configuration to g_ffs to allow for
CDC ACM support in conjuction with FunctionFS. A module
parameter is added to allow for multiple ACM ports to
be instantiated.
Signed
Add a table explaining the module parameters that g_serial
digests.
Signed-off-by: Matt Porter matt.por...@linaro.org
---
Documentation/usb/gadget_serial.txt | 13 +
1 file changed, 13 insertions(+)
diff --git a/Documentation/usb/gadget_serial.txt
b/Documentation/usb
101 - 153 of 153 matches
Mail list logo