Re: [PATCH v3 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-08-29 Thread Antoine Ténart
Hi, On Tue, Aug 26, 2014 at 06:42:42PM +0800, Peter Chen wrote: On Fri, Aug 22, 2014 at 05:50:20PM +0200, Antoine Ténart wrote: /** + * _ci_usb_phy_init: initialize phy taking in account both phy and usb_phy + * interfaces + * @ci: the controller + * + * This function returns

[PATCH v3 9/9] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-08-22 Thread Antoine Ténart
This patch adds support of the PHY framework for ChipIdea drivers. Changes are done in both the ChipIdea common code and in the drivers accessing the PHY. This is done by adding a new PHY member in ChipIdea's structures and by taking care of it in the code. Signed-off-by: Antoine Ténart

[PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-08-22 Thread Antoine Ténart
Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework its initialization taking in account this modification. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/host.c| 8 +++- drivers/usb

[PATCH v3 2/9] usb: rename phy to usb_phy in OTG

2014-08-22 Thread Antoine Ténart
. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/phy/phy-omap-usb2.c | 6 ++-- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/phy/phy-ab8500-usb.c| 6 ++-- drivers/usb/phy/phy-fsl-usb.c | 13 drivers/usb/phy/phy-generic.c | 2

[PATCH v3 3/9] usb: add support to the generic PHY framework in OTG

2014-08-22 Thread Antoine Ténart
This patch adds support of the PHY framework in OTG and keeps the USB PHY compatibility. Here the only modification is to add PHY member in the OTG structure, along with the USB PHY one. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- include/linux/usb/otg.h | 3 +++ 1 file

[PATCH v3 7/9] usb: rename transceiver and phy to usb_phy in ChipIdea

2014-08-22 Thread Antoine Ténart
drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/ci.h | 4 ++-- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/ci_hdrc_msm.c | 8

[PATCH v3 0/9] usb: add support for the generic PHY framework

2014-08-22 Thread Antoine Ténart
PHY support in separate patches [1] https://www.mail-archive.com/linux-usb@vger.kernel.org/msg43471.html Antoine Ténart (9): usb: move the OTG state from the USB PHY to the OTG structure usb: rename phy to usb_phy in OTG usb: add support to the generic PHY framework in OTG usb

[PATCH v3 6/9] usb: allow to supply the PHY in the drivers when using HCD

2014-08-22 Thread Antoine Ténart
. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/core/hcd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 6619239baf6d..dc0e46e5e618

[PATCH v3 1/9] usb: move the OTG state from the USB PHY to the OTG structure

2014-08-22 Thread Antoine Ténart
. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Acked-by: Peter Chen peter.c...@freescale.com --- drivers/phy/phy-omap-usb2.c | 8 +--- drivers/usb/chipidea/debug.c| 3 +- drivers/usb/chipidea/otg_fsm.c | 12 ++--- drivers/usb/common/usb-otg-fsm.c| 8

Re: [PATCH v3 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-07-25 Thread Antoine Ténart
Hi Peter, On Fri, Jul 25, 2014 at 10:18:54AM +0800, Peter Chen wrote: On Wed, Jul 16, 2014 at 10:26:01AM +0200, Antoine Ténart wrote: Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions

Re: [PATCH v2 8/8] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-07-25 Thread Antoine Ténart
device *io_dev; struct usb_phy_io_ops *io_ops; void __iomem*io_priv; Where does the ci-otg setup occurs? It seems to me it's never filled. Antoine -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

Re: [PATCH v2 8/8] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-07-25 Thread Antoine Ténart
; They are initialized at: ci_hdrc_otg_fsm_init and host_start. Ok, I get it. I'll update and add an OTG member into the ci_hdrc structure. Thanks! Antoine -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list

Re: [PATCH v2 8/8] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-07-24 Thread Antoine Ténart
Hi Peter, On Thu, Jul 24, 2014 at 07:39:42PM +0800, Peter Chen wrote: On Tue, Jul 15, 2014 at 04:39:16PM +0200, Antoine Ténart wrote: /** + * _ci_usb_phy_init: initialize phy taking in account both phy and usb_phy + * interfaces + * @ci: the controller + * + * This function

Re: [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure

2014-07-23 Thread Antoine Ténart
Hi, On Tue, Jul 22, 2014 at 04:33:54PM -0500, Bin Liu wrote: On Wed, Jul 9, 2014 at 5:17 AM, Antoine Ténart antoine.ten...@free-electrons.com wrote: diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 7cccab6ff308..9a9702773e43 100644 --- a/drivers/usb/chipidea

Re: [PATCH v2 0/8] usb: add support for the generic PHY framework

2014-07-17 Thread Antoine Ténart
Hi Felipe, On Wed, Jul 16, 2014 at 12:45:13PM -0500, Felipe Balbi wrote: On Tue, Jul 15, 2014 at 04:39:08PM +0200, Antoine Ténart wrote: [1] https://www.mail-archive.com/linux-usb@vger.kernel.org/msg43471.html Since this has a dependency on the other series which hasn't showed up

[PATCH v3 00/12] ARM: berlin: USB support

2014-07-16 Thread Antoine Ténart
the PHY driver to support the one one the BG2CD as well - documented the reset properties - added bindings for the BG2CD - cosmetic fixes [1] https://lkml.org/lkml/2014/7/15/330 Antoine Ténart (10): reset: add the Berlin reset controller driver Documentation

[PATCH v3 02/12] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs

2014-07-16 Thread Antoine Ténart
Add the reset binding documentation to the SoC binding documentation as the reset driver in Marvell Berlin SoC is part of the chip/system control registers. This patch adds the required properties to configure the reset controller. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com

[PATCH v3 11/12] ARM: dts: berlin: add BG2CD nodes for USB support

2014-07-16 Thread Antoine Ténart
-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index 68f7032b4686..5c6950531327 100644 --- a/arch

[PATCH v3 12/12] ARM: dts: berlin: enable USB on the Google Chromecast

2014-07-16 Thread Antoine Ténart
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4

[PATCH v3 10/12] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-07-16 Thread Antoine Ténart
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v3 08/12] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-07-16 Thread Antoine Ténart
Document the USB2 ChipIdea driver (ci13xxx) bindings. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci

[PATCH v3 01/12] reset: add the Berlin reset controller driver

2014-07-16 Thread Antoine Ténart
Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Philipp Zabel p.za...@pengutronix.de --- drivers/reset

[PATCH v3 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-07-16 Thread Antoine Ténart
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions. Needed for the Marvell Berlin SoCs USB controllers. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea

[PATCH v3 09/12] ARM: dts: berlin: add BG2Q nodes for USB support

2014-07-16 Thread Antoine Ténart
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 52 + 1 file changed, 52

[PATCH v3 06/12] Documentation: bindings: add doc for the Berlin USB PHY

2014-07-16 Thread Antoine Ténart
Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- Documentation/devicetree/bindings/phy/berlin-usb-phy.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v3 05/12] phy: add the Berlin USB PHY driver

2014-07-16 Thread Antoine Ténart
Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin

[PATCH v3 04/12] ARM: dts: berlin: add a required reset property in the chip controller node

2014-07-16 Thread Antoine Ténart
The chip controller node now also describes the Marvell Berlin reset controller. Add the required 'reset-cells' property. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Acked-by: Philipp Zabel p.za...@pengutronix.de --- arch/arm/boot/dts/berlin2.dtsi | 1 + arch/arm/boot/dts

[PATCH v3 03/12] ARM: Berlin: select the reset controller

2014-07-16 Thread Antoine Ténart
The Marvell Berlin SoCs now has a reset controller. Add the needed configuration. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/mach-berlin/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig

Re: [PATCH v3 08/12] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-07-16 Thread Antoine Ténart
Hi Arnd, On Wed, Jul 16, 2014 at 10:39:36AM +0200, Arnd Bergmann wrote: On Wednesday 16 July 2014 10:26:02 Antoine Ténart wrote: + +Required properties: +- compatible: should be chipidea,usb2 +- reg: base address and length of the registers +- interrupts: interrupt for the USB

Re: [PATCH v3 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-07-16 Thread Antoine Ténart
Hi Arnd, On Wed, Jul 16, 2014 at 10:41:10AM +0200, Arnd Bergmann wrote: On Wednesday 16 July 2014 10:26:01 Antoine Ténart wrote: + + if (priv-dma_mask) { + ret = dma_coerce_mask_and_coherent(pdev-dev, priv-dma_mask); + if (ret

Re: [PATCH v3 05/12] phy: add the Berlin USB PHY driver

2014-07-16 Thread Antoine Ténart
Hi Varka, On Wed, Jul 16, 2014 at 02:49:05PM +0530, Varka Bhadram wrote: On 07/16/2014 01:55 PM, Antoine Ténart wrote: +static const struct of_device_id phy_berlin_sata_of_match[] = { +{ +.compatible = marvell,berlin2-usb-phy, +.data = phy_berlin_pll_dividers[0

Re: [PATCH v3 05/12] phy: add the Berlin USB PHY driver

2014-07-16 Thread Antoine Ténart
On Wed, Jul 16, 2014 at 03:03:14PM +0530, Varka Bhadram wrote: On 07/16/2014 02:55 PM, Antoine Ténart wrote: Hi Varka, On Wed, Jul 16, 2014 at 02:49:05PM +0530, Varka Bhadram wrote: On 07/16/2014 01:55 PM, Antoine Ténart wrote: +static const struct of_device_id phy_berlin_sata_of_match

Re: [PATCH 3/4] usb: add support to the PHY framework for HCD

2014-07-15 Thread Antoine Ténart
Hi Vivek, On Mon, Jul 14, 2014 at 02:38:03PM +0530, Vivek Gautam wrote: On Wed, Jul 9, 2014 at 3:47 PM, Antoine Ténart antoine.ten...@free-electrons.com wrote: diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index bec31e2efb88..b985af5b167c 100644 --- a/drivers/usb/core/hcd.c

[PATCH v2 3/8] usb: add support to the generic PHY framework in OTG

2014-07-15 Thread Antoine Ténart
This patch adds support of the PHY framework in OTG and keeps the USB PHY compatibility. Here the only modification is to add PHY member in the OTG structure, along with the USB PHY one. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- include/linux/usb/otg.h | 3 +++ 1 file

[PATCH v2 7/8] usb: rename transceiver and phy to usb_phy in ChipIdea

2014-07-15 Thread Antoine Ténart
drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/ci.h | 4 ++-- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/ci_hdrc_msm.c | 8

[PATCH v2 8/8] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-07-15 Thread Antoine Ténart
This patch adds support of the PHY framework for ChipIdea drivers. Changes are done in both the ChipIdea common code and in the drivers accessing the PHY. This is done by adding a new PHY member in ChipIdea's structures and by taking care of it in the code. Signed-off-by: Antoine Ténart

[PATCH v2 5/8] usb: rename gen_phy to phy in HCD

2014-07-15 Thread Antoine Ténart
The patch adding support to the generic PHY framework introduced a 'gen_phy' member in the HCD structure. Rename it to 'phy' to have a consistent USB framework. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/core/hcd.c | 22 +++--- include/linux

[PATCH v2 2/8] usb: rename phy to usb_phy in OTG

2014-07-15 Thread Antoine Ténart
. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/phy/phy-omap-usb2.c | 6 ++-- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/phy/phy-ab8500-usb.c| 6 ++-- drivers/usb/phy/phy-fsl-usb.c | 13 drivers/usb/phy/phy-generic.c | 2

[PATCH v2 0/8] usb: add support for the generic PHY framework

2014-07-15 Thread Antoine Ténart
] https://www.mail-archive.com/linux-usb@vger.kernel.org/msg43471.html Antoine Ténart (8): usb: move the OTG state from the USB PHY to the OTG structure usb: rename phy to usb_phy in OTG usb: add support to the generic PHY framework in OTG usb: rename phy to usb_phy in HCD usb: rename gen_phy

[PATCH v2 6/8] usb: allow to supply the PHY in the drivers when using HCD

2014-07-15 Thread Antoine Ténart
by the driver. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/core/hcd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 228bad89f09b..ce9ea309ab0f 100644 --- a/drivers/usb/core/hcd.c +++ b

[PATCH v2 4/8] usb: rename phy to usb_phy in HCD

2014-07-15 Thread Antoine Ténart
The USB PHY member of the HCD structure is renamed to 'usb_phy' and modifications are done in all drivers accessing it. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/host.c | 2 +- drivers/usb/core/hcd.c| 20 ++-- drivers/usb

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-07-15 Thread Antoine Ténart
the generic PHY support[1]. [1] https://lkml.org/lkml/2014/7/15/330 Antoine -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-07-15 Thread Antoine Ténart
case? Antoine -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- 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

Re: [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure

2014-07-10 Thread Antoine Ténart
Hi Felipe, On Thu, Jul 10, 2014 at 08:40:23AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:13PM +0200, Antoine Ténart wrote: Before using the PHY framework instead of the USB PHY one, we need to move the OTG state into another place, since it won't be available when USB PHY

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Antoine Ténart
On Thu, Jul 10, 2014 at 08:42:27AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support to the PHY framework for ChipIdea drivers while keeping the USB PHY compatibility. Changes are done in both the ChipIdea common code

Re: [PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-10 Thread Antoine Ténart
On Thu, Jul 10, 2014 at 08:56:00AM -0500, Felipe Balbi wrote: On Thu, Jul 10, 2014 at 03:51:24PM +0200, Antoine Ténart wrote: On Thu, Jul 10, 2014 at 08:42:27AM -0500, Felipe Balbi wrote: On Wed, Jul 09, 2014 at 12:17:16PM +0200, Antoine Ténart wrote: This patch adds the support

[PATCH 3/4] usb: add support to the PHY framework for HCD

2014-07-09 Thread Antoine Ténart
. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/host.c | 2 +- drivers/usb/core/hcd.c| 61 +++ drivers/usb/core/hub.c| 8 +++--- drivers/usb/host/ehci-fsl.c | 16 ++-- drivers/usb/host/ehci

[PATCH 4/4] usb: chipidea: add support to the PHY framework for ChipIdea

2014-07-09 Thread Antoine Ténart
structre. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/ci.h | 4 ++- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/ci_hdrc_msm.c | 6 ++-- drivers/usb/chipidea/core.c| 67 +++--- drivers/usb

[PATCH 0/4] usb: add support for the generic PHY framework

2014-07-09 Thread Antoine Ténart
/pipermail/linux-arm-kernel/2014-June/267981.html Antoine Ténart (4): usb: move the OTG state from the USB PHY to the OTG structure usb: add support to the PHY framework for OTG usb: add support to the PHY framework for HCD usb: chipidea: add support to the PHY framework for ChipIdea drivers/phy

[PATCH 2/4] usb: add support to the PHY framework for OTG

2014-07-09 Thread Antoine Ténart
-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/phy/phy-omap-usb2.c | 6 ++-- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/phy/phy-ab8500-usb.c| 6 ++-- drivers/usb/phy/phy-fsl-usb.c | 12 drivers/usb/phy/phy-generic.c | 2 +- drivers/usb/phy

Re: [PATCH 3/4] usb: add support to the PHY framework for HCD

2014-07-09 Thread Antoine Ténart
Hi Alan, On Wed, Jul 09, 2014 at 10:41:50AM -0400, Alan Stern wrote: On Wed, 9 Jul 2014, Antoine Ténart wrote: This patch adds the support to PHY framework in HCD code while keeping the USB PHY compatibility. Changes are done in both the HCD common code and in the drivers accessing its

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-07-01 Thread Antoine Ténart
Peter, On Tue, Jul 01, 2014 at 08:21:14AM +0800, Peter Chen wrote: On Mon, Jun 30, 2014 at 03:33:13PM +0200, Antoine Ténart wrote: On Fri, Jun 27, 2014 at 11:25:07AM +0800, Peter Chen wrote: On Tue, Jun 24, 2014 at 12:35:16PM +0200, Antoine Ténart wrote: ifneq ($(CONFIG_OF

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-06-30 Thread Antoine Ténart
Peter, On Fri, Jun 27, 2014 at 11:25:07AM +0800, Peter Chen wrote: On Tue, Jun 24, 2014 at 12:35:16PM +0200, Antoine Ténart wrote: ifneq ($(CONFIG_OF),) obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o + obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_generic.o endif

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-06-30 Thread Antoine Ténart
for the Marvell Berlin SoCs SUB controllers. s/SUB/USB Right, I'll fix these. + +MODULE_DESCRIPTION(Generic ChipIdea HDRC USB binding); +MODULE_AUTHOR(Antoine Ténart antoine.ten...@free-electrons.com); +MODULE_LICENSE(GPL); How about GPL v2? Well, GPL stands for GNU Public License

Re: [PATCH v2 05/12] usb: phy: add the Berlin USB PHY driver

2014-06-30 Thread Antoine Ténart
Felipe, On Fri, Jun 27, 2014 at 06:04:33PM -0500, Felipe Balbi wrote: On Fri, Jun 27, 2014 at 06:05:57PM +0200, Antoine Ténart wrote: Hi Felipe, On Fri, Jun 27, 2014 at 10:56:22AM -0500, Felipe Balbi wrote: On Tue, Jun 24, 2014 at 12:35:14PM +0200, Antoine Ténart wrote: Add

Re: [PATCH v2 05/12] usb: phy: add the Berlin USB PHY driver

2014-06-27 Thread Antoine Ténart
Hi Felipe, On Fri, Jun 27, 2014 at 10:56:22AM -0500, Felipe Balbi wrote: On Tue, Jun 24, 2014 at 12:35:14PM +0200, Antoine Ténart wrote: Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine

[PATCH v2 09/12] ARM: dts: berlin: add BG2Q nodes for USB support

2014-06-24 Thread Antoine Ténart
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 52 + 1 file changed, 52

[PATCH v2 11/12] ARM: dts: berlin: add BG2CD nodes for USB support

2014-06-24 Thread Antoine Ténart
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role capable. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com ---

[PATCH v2 12/12] ARM: dts: berlin: enable USB on the Google Chromecast

2014-06-24 Thread Antoine Ténart
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4

[PATCH v2 07/12] usb: chipidea: add a generic driver

2014-06-24 Thread Antoine Ténart
Add a generic ChipIdea driver, with optional PHY and clock, to support ChipIdea controllers that doesn't need specific functions. Needed for the Marvell Berlin SoCs SUB controllers. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/Makefile | 1

[PATCH v2 06/12] Documentation: bindings: add doc for the Berlin USB PHY

2014-06-24 Thread Antoine Ténart
Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- Documentation/devicetree/bindings/usb/berlin-usb-phy.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v2 05/12] usb: phy: add the Berlin USB PHY driver

2014-06-24 Thread Antoine Ténart
Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy

[PATCH v2 00/12] ARM: berlin: USB support

2014-06-24 Thread Antoine Ténart
bindings for the BG2CD - cosmetic fixes Antoine Ténart (10): reset: add the Berlin reset controller driver Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs ARM: Berlin: select the reset controller ARM: dts: berlin: add a required reset property in the chip

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Antoine Ténart
Hi, On Fri, Jun 06, 2014 at 12:09:06PM +0530, Vivek Gautam wrote: On Thu, Jun 5, 2014 at 9:18 PM, Antoine Ténart antoine.ten...@free-electrons.com wrote: Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Just out

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Antoine Ténart
Sebastian, On Fri, Jun 06, 2014 at 12:54:06PM +0200, Sebastian Hesselbarth wrote: On 06/05/2014 05:48 PM, Antoine Ténart wrote: + +#include linux/gpio.h +#include linux/io.h +#include linux/module.h +#include linux/of_gpio.h +#include linux/usb/phy.h +#include linux/platform_device.h

Re: [PATCH 6/9] usb: chipidea: add Berlin USB support

2014-06-06 Thread Antoine Ténart
Sebastian, On Fri, Jun 06, 2014 at 12:55:54PM +0200, Sebastian Hesselbarth wrote: On 06/05/2014 05:48 PM, Antoine Ténart wrote: + +static const struct of_device_id ci_hdrc_berlin_of_match[] = { +{ .compatible = marvell,berlin-usb }, Looking at the driver, I can see no Berlin-specific

[PATCH 9/9] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-06-05 Thread Antoine Ténart
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q-marvell

[PATCH 8/9] ARM: dts: berlin: add BG2Q nodes for USB support

2014-06-05 Thread Antoine Ténart
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 51 + 1 file changed, 51

[PATCH 6/9] usb: chipidea: add Berlin USB support

2014-06-05 Thread Antoine Ténart
The Marvell Berlin USB controllers are compatible with ChipIdea. Add a driver using the ChipIdea common functions to support them. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/Makefile | 1 + drivers/usb/chipidea/ci_hdrc_berlin.c | 108

[PATCH 5/9] Documentation: bindings: add doc for the Berlin USB PHY

2014-06-05 Thread Antoine Ténart
Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- .../devicetree/bindings/usb/berlin-usbphy.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 7/9] Documentation: bindings: add doc for the Berlin ChipIdea USB driver

2014-06-05 Thread Antoine Ténart
Document the Marvell Berlin USB driver bindings. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- .../devicetree/bindings/usb/ci-hdrc-berlin.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc

[PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-05 Thread Antoine Ténart
Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy

[PATCH 0/9] ARM: Berlin: USB support

2014-06-05 Thread Antoine Ténart
only on the BG2Q and are compatible with USB ChipIdea. We here add a glue to use the available common functions for this kind of controllers. A USB PHY driver is also added to control the PHY. Antoine Ténart (9): reset: add the Berlin reset controller driver ARM: Berlin: select the reset