[PATCH v2 5/6] pwm: enable TI PWMSS if the IIO tiecap driver is selected

2014-02-03 Thread Matt Porter
The IIO TI ECAP driver depends on the TI PWMSS management driver in this subsystem. Enable PWMSS when the IIO TI ECAP driver is selected. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig

[PATCH v2 3/6] iio: enable selection and build of pulse drivers

2014-02-03 Thread Matt Porter
Add the pulse driver subdirectory when configuring and building IIO. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 5dd0e12..286acc3 100644

[PATCH v2 1/6] iio: add support for pulse width capture devices

2014-02-03 Thread Matt Porter
Add a channel type to support pulse width capture devices. These devices capture the timing of a PWM signal based on a configurable trigger Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2

[PATCH v2 2/6] iio: pulse: add TI ECAP driver

2014-02-03 Thread Matt Porter
Adds support for capturing PWM signals using the TI ECAP peripheral. This driver supports triggered buffer capture of pulses on multiple ECAP instances. In addition, the driver supports configurable polarity of the signal to be captured. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers

[PATCH v2 4/6] iio: Add ABI docs for pulse capture devices

2014-02-03 Thread Matt Porter
Add standard ABI entries for pulse capture devices. Also add a separate ABI entry for the TI ECAP driver polarity option. Signed-off-by: Matt Porter mpor...@linaro.org --- Documentation/ABI/testing/sysfs-bus-iio | 18 ++ Documentation/ABI/testing/sysfs-bus-iio-pulse

[PATCH] usb: gadget: s3c-hsotg: fix build on x86 and other architectures

2014-02-03 Thread Matt Porter
update printk formatting to handle a long long dma_addr_t to avoid warnings on !32-bit architectures. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/usb/gadget/Kconfig | 1 - drivers/usb/gadget/s3c-hsotg.c | 12 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 2/2] iio: Add AS3935 lightning sensor support

2014-01-31 Thread Matt Porter
On Fri, Jan 31, 2014 at 10:05:07PM +0100, Alexandre Belloni wrote: > Hi Matt, > > On 30/01/2014 at 02:11:13 -0800, Matt Ranostay wrote : > > AS3935 chipset can detect lightning strikes and reports those > > back as events and the esimated distance to the storm. > > > > Signed-off-by: Matt

Re: [PATCH 2/2] iio: Add AS3935 lightning sensor support

2014-01-31 Thread Matt Porter
On Fri, Jan 31, 2014 at 10:05:07PM +0100, Alexandre Belloni wrote: Hi Matt, On 30/01/2014 at 02:11:13 -0800, Matt Ranostay wrote : AS3935 chipset can detect lightning strikes and reports those back as events and the esimated distance to the storm. Signed-off-by: Matt Ranostay

[PATCH 1/5] iio: add support for pulse width capture devices

2014-01-29 Thread Matt Porter
Add a channel type to support pulse width capture devices. These devices capture the timing of a PWM signal based on a configurable trigger Signed-off-by: Matt Porter --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 5/5] ARM: dts: AM33XX: Add ecap interrupt properties

2014-01-29 Thread Matt Porter
Add missing interrupt properties to the ecap0, ecap1, and ecap2 nodes. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 6d95d3d..b4139ba 100644 --- a/arch

[PATCH 4/5] pwm: enable TI PWMSS if the IIO tiecap driver is selected

2014-01-29 Thread Matt Porter
The IIO TI ECAP driver depends on the TI PWMSS management driver in this subsystem. Enable PWMSS when the IIO TI ECAP driver is selected. Signed-off-by: Matt Porter --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm

[PATCH 2/5] iio: pulse: add TI ECAP driver

2014-01-29 Thread Matt Porter
Adds support for capturing PWM signals using the TI ECAP peripheral. This driver supports triggered buffer capture of pulses on multiple ECAP instances. In addition, the driver supports configurable polarity of the signal to be captured. Signed-off-by: Matt Porter --- drivers/iio/pulse/Kconfig

[PATCH 0/5] IIO pulse capture support for TI ECAP

2014-01-29 Thread Matt Porter
s hardware. Initially, the driver supports a single pulse width measurement with configurable polarity. The ECAP hardware can support measurement of a complete period and duty cycle but this is not yet implemented. Matt Porter (5): iio: add support for pulse width capture devices iio: pulse: a

[PATCH 3/5] iio: enable selection and build of pulse drivers

2014-01-29 Thread Matt Porter
Add the pulse driver subdirectory when configuring and building IIO. Signed-off-by: Matt Porter --- drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 5dd0e12..286acc3 100644 --- a/drivers/iio

[PATCH 3/5] iio: enable selection and build of pulse drivers

2014-01-29 Thread Matt Porter
Add the pulse driver subdirectory when configuring and building IIO. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 5dd0e12..286acc3 100644

[PATCH 0/5] IIO pulse capture support for TI ECAP

2014-01-29 Thread Matt Porter
. Initially, the driver supports a single pulse width measurement with configurable polarity. The ECAP hardware can support measurement of a complete period and duty cycle but this is not yet implemented. Matt Porter (5): iio: add support for pulse width capture devices iio: pulse: add TI ECAP

[PATCH 2/5] iio: pulse: add TI ECAP driver

2014-01-29 Thread Matt Porter
Adds support for capturing PWM signals using the TI ECAP peripheral. This driver supports triggered buffer capture of pulses on multiple ECAP instances. In addition, the driver supports configurable polarity of the signal to be captured. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers

[PATCH 1/5] iio: add support for pulse width capture devices

2014-01-29 Thread Matt Porter
Add a channel type to support pulse width capture devices. These devices capture the timing of a PWM signal based on a configurable trigger Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2

[PATCH 4/5] pwm: enable TI PWMSS if the IIO tiecap driver is selected

2014-01-29 Thread Matt Porter
The IIO TI ECAP driver depends on the TI PWMSS management driver in this subsystem. Enable PWMSS when the IIO TI ECAP driver is selected. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig

[PATCH 5/5] ARM: dts: AM33XX: Add ecap interrupt properties

2014-01-29 Thread Matt Porter
Add missing interrupt properties to the ecap0, ecap1, and ecap2 nodes. Signed-off-by: Matt Porter mpor...@linaro.org --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 6d95d3d..b4139ba

Re: [PATCH] pinctrl: Rename Broadcom Capri pinctrl driver

2014-01-21 Thread Matt Porter
M11351, BCM28145 > > and BCM28155 SoCs. > > > > Signed-off-by: Sherman Yin > > Reviewed-by: Matt Porter > > --- > > ...capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} |8 +- > > arch/arm/boot/dts/bcm11351.dtsi

libusbg 0.1.0 (formerly libgadget)

2014-01-21 Thread Matt Porter
libusbg 0.1.0 is released. libusbg is a library that provides a C API to the kernel USB gadget configfs API. It simplifies creation and management of USB gadget devices from C applications. Get it at: git://github.com/libusbg/libusbg.git API docs at:

Re: [PATCH v4 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2014-01-21 Thread Matt Porter
On Mon, Jan 20, 2014 at 09:16:24AM +0100, Linus Walleij wrote: > On Sat, Jan 18, 2014 at 3:56 AM, Matt Porter wrote: > > > I wonder if Linus would accept a rename at this point (too late for 3.14 > > presumably, but for 3.15) of s/capri/bcm281xx throughout, bcm11351 for > &g

Re: [PATCH v4 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2014-01-21 Thread Matt Porter
On Mon, Jan 20, 2014 at 09:16:24AM +0100, Linus Walleij wrote: On Sat, Jan 18, 2014 at 3:56 AM, Matt Porter mpor...@linaro.org wrote: I wonder if Linus would accept a rename at this point (too late for 3.14 presumably, but for 3.15) of s/capri/bcm281xx throughout, bcm11351

libusbg 0.1.0 (formerly libgadget)

2014-01-21 Thread Matt Porter
libusbg 0.1.0 is released. libusbg is a library that provides a C API to the kernel USB gadget configfs API. It simplifies creation and management of USB gadget devices from C applications. Get it at: git://github.com/libusbg/libusbg.git API docs at:

Re: [PATCH] pinctrl: Rename Broadcom Capri pinctrl driver

2014-01-21 Thread Matt Porter
...@broadcom.com Reviewed-by: Matt Porter mpor...@linaro.org --- ...capri-pinctrl.txt = brcm,bcm11351-pinctrl.txt} |8 +- arch/arm/boot/dts/bcm11351.dtsi|2 +- arch/arm/configs/bcm_defconfig |2 +- drivers/pinctrl/Kconfig

Re: [PATCH v4 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2014-01-17 Thread Matt Porter
rman Yin > >>Reviewed-by: Christian Daudt > >>Reviewed-by: Matt Porter > >>--- > >>v4: - PINCTRL selected in Kconfig, PINCTRL_CAPRI selected in bcm_defconfig > >> - make use of regmap > >> - change CAPRI_PIN_UPDATE from macro to inl

Re: [PATCH v4 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2014-01-17 Thread Matt Porter
-by: Christian Daudt b...@fixthebug.org Reviewed-by: Matt Porter matt.por...@linaro.org --- v4: - PINCTRL selected in Kconfig, PINCTRL_CAPRI selected in bcm_defconfig - make use of regmap - change CAPRI_PIN_UPDATE from macro to inline function. - Handle pull-up strength arg in Ohm

[PATCH v9 0/9] USB Device Controller support for BCM281xx

2013-12-23 Thread Matt Porter
nds on: - "Update Kona drivers to use clocks" v4 series https://lkml.org/lkml/2013/12/5/508 (relevant portion now queued for 3.14) Matt Porter (9): phy: add phy_get_bus_width()/phy_set_bus_width() calls staging: dwc2: update DT binding to add generic clock

[PATCH v9 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-23 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree

[PATCH v9 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-23 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter --- 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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers

[PATCH v9 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/usb/gadget/Kconfig | 8 drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 4 insertions(+), 6 deletions

[PATCH v9 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-23 Thread Matt Porter
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 --- drivers/usb/gadget/s3c-hsotg.c | 55 ++ 1 file changed, 39

[PATCH v9 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-23 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158 3 files

[PATCH v9 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-23 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb/gadget/s3c-hsotg.h | 1 + 2

[PATCH v9 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Matt Porter
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 Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 6 ++ arch/arm/boot/dts/bcm11351.dtsi| 18

[PATCH v9 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-23 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[PATCH v9 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-23 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 6d72269..e273e5a 100644

Re: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Matt Porter
On Mon, Dec 23, 2013 at 05:30:41PM +0100, Tomasz Figa wrote: > On Monday 23 of December 2013 10:25:57 Felipe Balbi wrote: > > On Thu, Dec 19, 2013 at 09:23:04AM -0500, Matt Porter wrote: > > > Remove unused Samsung-specific machine include and Kconfig > > > dependency

Re: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Matt Porter
On Mon, Dec 23, 2013 at 05:30:41PM +0100, Tomasz Figa wrote: On Monday 23 of December 2013 10:25:57 Felipe Balbi wrote: On Thu, Dec 19, 2013 at 09:23:04AM -0500, Matt Porter wrote: Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt

[PATCH v9 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-23 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index

[PATCH v9 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-23 Thread Matt Porter
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 mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org --- arch/arm/boot/dts/bcm11351-brt.dts

[PATCH v9 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-23 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158

[PATCH v9 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-23 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb

[PATCH v9 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-23 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions

[PATCH v9 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-23 Thread Matt Porter
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 mpor...@linaro.org --- drivers/usb/gadget/s3c-hsotg.c | 55

[PATCH v9 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-23 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org --- drivers/usb/gadget/Kconfig | 8 drivers/usb/gadget/s3c

[PATCH v9 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-23 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v9 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-23 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter mpor...@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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c

[PATCH v9 0/9] USB Device Controller support for BCM281xx

2013-12-23 Thread Matt Porter
to use clocks v4 series https://lkml.org/lkml/2013/12/5/508 (relevant portion now queued for 3.14) 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: s3c-hsotg: enable

[PATCH v8 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-19 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 6d72269..e273e5a 100644

[PATCH v8 0/9] USB Device Controller support for BCM281xx

2013-12-19 Thread Matt Porter
o enable UDC support on both BCM281xx boards in the kernel. This series depends on: - "Update Kona drivers to use clocks" v4 series https://lkml.org/lkml/2013/12/5/508 (relevant portion now queued for 3.14) Matt Porter (9): phy: add phy_get_bus_width()/phy_s

[PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-19 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/usb/gadget/Kconfig | 7 +++ drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 3 insertions(+), 6 deletions

[PATCH v8 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-19 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158 3 files

[PATCH v8 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-19 Thread Matt Porter
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 --- drivers/usb/gadget/s3c-hsotg.c | 55 ++ 1 file changed, 39

Re: [PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-19 Thread Matt Porter
On Thu, Dec 19, 2013 at 11:19:35AM +0530, Kishon Vijay Abraham I wrote: > Hi Felipe, > > On Wednesday 18 December 2013 09:55 PM, Felipe Balbi wrote: > > On Tue, Dec 17, 2013 at 02:42:35PM -0500, Matt Porter wrote: > >> Add a driver for the internal Broadco

[PATCH v8 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-19 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb/gadget/s3c-hsotg.h | 1 + 2

[PATCH v8 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-19 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-19 Thread Matt Porter
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 Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 6 ++ arch/arm/boot/dts/bcm11351.dtsi| 18

[PATCH v8 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-19 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter --- 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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers

[PATCH v8 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-19 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree

[PATCH v8 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-19 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v8 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-19 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter mpor...@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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c

[PATCH v8 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-19 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions

[PATCH v8 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-19 Thread Matt Porter
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 mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org --- arch/arm/boot/dts/bcm11351-brt.dts

[PATCH v8 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-19 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb

[PATCH v8 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-19 Thread Matt Porter
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 mpor...@linaro.org --- drivers/usb/gadget/s3c-hsotg.c | 55

Re: [PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-19 Thread Matt Porter
On Thu, Dec 19, 2013 at 11:19:35AM +0530, Kishon Vijay Abraham I wrote: Hi Felipe, On Wednesday 18 December 2013 09:55 PM, Felipe Balbi wrote: On Tue, Dec 17, 2013 at 02:42:35PM -0500, Matt Porter wrote: Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family

[PATCH v8 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-19 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158

[PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-19 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter mpor...@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

[PATCH v8 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-19 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index

[PATCH v8 0/9] USB Device Controller support for BCM281xx

2013-12-19 Thread Matt Porter
on both BCM281xx boards in the kernel. This series depends on: - Update Kona drivers to use clocks v4 series https://lkml.org/lkml/2013/12/5/508 (relevant portion now queued for 3.14) Matt Porter (9): phy: add phy_get_bus_width()/phy_set_bus_width() calls staging: dwc2

Re: [PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-18 Thread Matt Porter
On Wed, Dec 18, 2013 at 10:25:54AM -0600, Felipe Balbi wrote: > On Tue, Dec 17, 2013 at 02:42:35PM -0500, Matt Porter wrote: > > Add a driver for the internal Broadcom Kona USB 2.0 PHY found > > on the BCM281xx family of SoCs. > > > > Signed-off-by: Matt Port

Re: [PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-18 Thread Matt Porter
On Wed, Dec 18, 2013 at 10:25:54AM -0600, Felipe Balbi wrote: On Tue, Dec 17, 2013 at 02:42:35PM -0500, Matt Porter wrote: Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org Kishon, are you ok

[PATCH v7 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-17 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[PATCH v7 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-17 Thread Matt Porter
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 Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- arch/arm/boot/dts/bcm11351-brt.dts | 6 ++ arch/arm/boot/dts/bcm11351.dtsi| 18

[PATCH v7 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-17 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/usb/gadget/Kconfig | 7 +++ drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 3 insertions(+), 6 deletions

[PATCH v7 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-17 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter --- 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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers

[PATCH v7 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-17 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter Acked-by: Kishon Vijay Abraham I --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 6d72269..e273e5a 100644

[PATCH v7 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-17 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- Documentation/devicetree

[PATCH v7 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-17 Thread Matt Porter
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 --- drivers/usb/gadget/s3c-hsotg.c | 55 ++ 1 file changed, 39

[PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-17 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158 3 files

[PATCH v7 0/9] USB Device Controller support for BCM281xx

2013-12-17 Thread Matt Porter
https://lkml.org/lkml/2013/12/5/508 (relevant portion now queued for 3.14) 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: s3c-hsotg: enable build for other platforms

[PATCH v7 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-17 Thread Matt Porter
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 Acked-by: Kishon Vijay Abraham I --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb/gadget/s3c-hsotg.h | 1 + 2

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-17 Thread 'Matt Porter'
te my original version of this patch in case your work can't be taken in this window. -Matt > > -Original Message- > > From: Matt Porter [mailto:mpor...@linaro.org] > > Sent: Monday, December 16, 2013 10:40 PM > > To: Kamil Debski > > Cc: linux-ke

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-17 Thread 'Matt Porter'
work can't be taken in this window. -Matt -Original Message- From: Matt Porter [mailto:mpor...@linaro.org] Sent: Monday, December 16, 2013 10:40 PM To: Kamil Debski Cc: linux-kernel@vger.kernel.org; linux-samsung-...@vger.kernel.org; linux-...@vger.kernel.org; devicet

[PATCH v7 0/9] USB Device Controller support for BCM281xx

2013-12-17 Thread Matt Porter
/12/5/508 (relevant portion now queued for 3.14) 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: s3c-hsotg: enable build for other platforms usb: gadget: s3c-hsotg: add snps

[PATCH v7 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-12-17 Thread Matt Porter
Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-bcm-kona-usb2.c | 158

[PATCH v7 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-12-17 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/gadget/s3c-hsotg.c | 14 +- drivers/usb

[PATCH v7 5/9] usb: gadget: s3c-hsotg: enable generic phy support

2013-12-17 Thread Matt Porter
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 mpor...@linaro.org --- drivers/usb/gadget/s3c-hsotg.c | 55

[PATCH v7 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-12-17 Thread Matt Porter
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 mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v7 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-12-17 Thread Matt Porter
to properly configure the controller. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- include/linux/phy/phy.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index

[PATCH v7 3/9] usb: gadget: s3c-hsotg: enable build for other platforms

2013-12-17 Thread Matt Porter
Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter mpor...@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

[PATCH v7 4/9] usb: gadget: s3c-hsotg: add snps,dwc2 compatible string

2013-12-17 Thread Matt Porter
Enable support for the dwc2 binding. Signed-off-by: Matt Porter mpor...@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 db797f2..cbfbf41 100644 --- a/drivers/usb/gadget/s3c

[PATCH v7 9/9] ARM: dts: add usb udc support to bcm281xx

2013-12-17 Thread Matt Porter
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 mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org --- arch/arm/boot/dts/bcm11351-brt.dts

[PATCH v7 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-12-17 Thread Matt Porter
Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/phy/bcm-phy.txt | 15 +++ 1 file changed, 15 insertions

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-16 Thread Matt Porter
On Thu, Dec 05, 2013 at 01:29:35PM +0100, Kamil Debski wrote: > Change the used phy driver to the new Exynos USB phy driver that uses the > generic phy framework. > > Signed-off-by: Kamil Debski > Signed-off-by: Kyungmin Park > --- > .../devicetree/bindings/usb/samsung-hsotg.txt |4

Re: [PATCH v6 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-12-16 Thread Matt Porter
On Mon, Dec 16, 2013 at 03:20:01PM -0600, Felipe Balbi wrote: > On Fri, Dec 13, 2013 at 11:51:19AM -0500, Matt Porter wrote: > > If a generic phy is present, call phy_init()/phy_exit(). This supports > > generic phys that must be soft reset before power on. > > > >

Re: [PATCH v6 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-12-16 Thread Matt Porter
On Mon, Dec 16, 2013 at 03:20:01PM -0600, Felipe Balbi wrote: On Fri, Dec 13, 2013 at 11:51:19AM -0500, Matt Porter wrote: 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 mpor

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-16 Thread Matt Porter
On Thu, Dec 05, 2013 at 01:29:35PM +0100, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

<    1   2   3   4   5   6   7   8   9   10   >