Re: [PATCH 08/50] pinctrl: berlin: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Antoine Ténart
Hello, On Wed, Feb 24, 2016 at 06:45:33PM +0530, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan Acked-by: Antoine Tenart Thanks! Antoine > Cc: Antoine Ténart > --- > drivers/pinctrl/berlin/berlin.c

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: th

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

2014-08-22 Thread Antoine Ténart
OTG state. Signed-off-by: Antoine Ténart Acked-by: Peter Chen --- 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 ++-- drivers/usb/host/ohci-omap.c| 2 +- d

[PATCH v3 5/9] usb: rename gen_phy to phy in HCD

2014-08-22 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 Acked-by: Alan Stern --- drivers/usb/core/hcd.c | 22 +++--- inc

[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 Acked-by: Alan Stern --- 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 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core

[PATCH v3 4/9] usb: rename phy to usb_phy in HCD

2014-08-22 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 Acked-by: Alan Stern --- drivers/usb/chipidea/host.c | 2 +- drivers/usb/core/hcd.c| 20 ++-- drivers/usb/

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

2014-08-22 Thread Antoine Ténart
' and modifications are done in all drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. Signed-off-by: Antoine Ténart --- drivers/usb/chipidea/ci.h | 4 ++-- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/ci_hdrc_m

[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 --- drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/host.c| 8 +++- drivers/usb/chipidea/otg_fsm.c | 15

[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 --- include/linux/usb/otg.h | 3 +++ 1 file changed, 3 insertions(+) diff

[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

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

2014-08-22 Thread Antoine Ténart
HY drivers. Signed-off-by: Antoine Ténart --- 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 +- drivers/usb/phy/phy

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

2014-08-22 Thread Antoine Ténart
renaming and generic 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 fr

[PATCH v14 7/8] ARM: berlin: add the AHCI node for the BG2Q

2014-07-30 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b

[PATCH v14 6/8] Documentation: bindings: document the sub-nodes AHCI bindings

2014-07-30 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 41 ++ 1 file changed, 41 insertions(+) diff --git a

[PATCH v14 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-30 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2 insertions

[PATCH v14 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-30 Thread Antoine Ténart
The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/phy/berlin-sata-phy.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v14 1/8] phy: add a driver for the Berlin SATA PHY

2014-07-30 Thread Antoine Ténart
registers in the SATA range, the PHY seems to be integrated and no information tells us the contrary. For these reasons, make the driver a SATA PHY driver. Signed-off-by: Antoine Ténart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c

[PATCH v14 0/8] ARM: berlin: add AHCI support

2014-07-30 Thread Antoine Ténart
onfigure registers in the AHCI driver - removed BG2 / BG2CD nodes Antoine Ténart (8): phy: add a driver for the Berlin SATA PHY Documentation: bindings: add the Berlin SATA PHY ata: libahci_platform: move port_map parameters into the AHCI structure ata: libahci: allow t

[PATCH v14 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Antoine Ténart
flags have been removed from the ahci_platform_init_host() function, and inputs in the ahci_host_priv structure are now directly filed. Signed-off-by: Antoine Ténart --- drivers/ata/acard-ahci.c | 2 +- drivers/ata/ahci.c | 3 +-- drivers/ata/ahci.h | 10

[PATCH v14 4/8] ata: libahci: allow to use multiple PHYs

2014-07-30 Thread Antoine Ténart
-node. This as the advantage of allowing a per port configuration. Because some ports may be accessible but disabled in the device tree, the port_map mask is computed automatically when using this. Signed-off-by: Antoine Ténart Acked-by: Hans de Goede Acked-by: Kishon Vijay Abraham I --- drivers

[PATCH v14 8/8] ARM: berlin: enable the eSATA interface on the BG2Q DMP

2014-07-30 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it. Only enable the first port, the BG2Q DMP does not support the second one. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

Re: [PATCH v13 0/8] ARM: berlin: add AHCI support

2014-07-30 Thread Antoine Ténart
ilulre. Can you please look into it? Sorry for that... I just fixed it. I'll test and send a new version. 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

[PATCH v13 0/8] ARM: berlin: add AHCI support

2014-07-30 Thread Antoine Ténart
nd removed the 'force-port-map' property - made the drivers a bit less magic :) - wrote a function to select and configure registers in the AHCI driver - removed BG2 / BG2CD nodes Antoine Ténart (8): phy: add a driver for the Berlin SATA PHY Documentation:

[PATCH v13 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-30 Thread Antoine Ténart
The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/phy/berlin-sata-phy.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v13 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-30 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2 insertions

[PATCH v13 4/8] ata: libahci: allow to use multiple PHYs

2014-07-30 Thread Antoine Ténart
-node. This as the advantage of allowing a per port configuration. Because some ports may be accessible but disabled in the device tree, the port_map mask is computed automatically when using this. Signed-off-by: Antoine Ténart Acked-by: Hans de Goede Acked-by: Kishon Vijay Abraham I --- drivers

[PATCH v13 7/8] ARM: berlin: add the AHCI node for the BG2Q

2014-07-30 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b

[PATCH v13 8/8] ARM: berlin: enable the eSATA interface on the BG2Q DMP

2014-07-30 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it. Only enable the first port, the BG2Q DMP does not support the second one. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

[PATCH v13 6/8] Documentation: bindings: document the sub-nodes AHCI bindings

2014-07-30 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 41 ++ 1 file changed, 41 insertions(+) diff --git a

[PATCH v13 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Antoine Ténart
flags have been removed from the ahci_platform_init_host() function, and inputs in the ahci_host_priv structure are now directly filled. Signed-off-by: Antoine Ténart --- drivers/ata/ahci.h | 10 ++ drivers/ata/ahci_da850.c | 3 +-- drivers/ata/ahci_imx.c | 3

[PATCH v13 1/8] phy: add a driver for the Berlin SATA PHY

2014-07-30 Thread Antoine Ténart
registers in the SATA range, the PHY seems to be integrated and no information tells us the contrary. For these reasons, make the driver a SATA PHY driver. Signed-off-by: Antoine Ténart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c

Re: [PATCH v11 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Antoine Ténart
On Wed, Jul 30, 2014 at 11:35:26AM -0400, Tejun Heo wrote: > On Wed, Jul 30, 2014 at 10:20:38AM +0200, Antoine Ténart wrote: > > How do you want me to send the series? There is two conflicts when > > applying to libata/for-3.17: > > - patch 4/8: it takes into account a patch n

Re: [PATCH v11 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Antoine Ténart
On Tue, Jul 29, 2014 at 10:40:42AM -0400, Tejun Heo wrote: > On Thu, Jul 24, 2014 at 11:17:25AM +0200, Antoine Ténart wrote: > > @@ -321,6 +321,8 @@ struct ahci_host_priv { > > u32 cap;/* cap to use */ > > u32 cap2;

Re: [PATCH v12 4/8] ata: libahci: allow to use multiple PHYs

2014-07-30 Thread Antoine Ténart
On Tue, Jul 29, 2014 at 10:34:38AM -0400, Tejun Heo wrote: > On Tue, Jul 29, 2014 at 09:20:47AM +0200, Antoine Ténart wrote: > > The current implementation of the libahci does not allow to use multiple > > PHYs. This patch adds the support of multiple PHYs by the libahci while >

[PATCH v12 4/8] ata: libahci: allow to use multiple PHYs

2014-07-29 Thread Antoine Ténart
-node. This as the advantage of allowing a per port configuration. Because some ports may be accessible but disabled in the device tree, the port_map mask is computed automatically when using this. Signed-off-by: Antoine Ténart Acked-by: Hans de Goede --- Updated with the latest comment from Hans

Re: [PATCH v11 4/8] ata: libahci: allow to use multiple PHYs

2014-07-29 Thread Antoine Ténart
; > Acked-by: Hans de Goede > > Antoine, can you please post an updated version of this patch? No > need to repost the whole series. Also, how should the series be > routed? Sure, I'm doing this right away. Regarding the series, Kishon already took patches 1-2. Antoine -- A

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

2014-07-25 Thread Antoine Ténart
> > > ci->fsm.power_up = 1; > > > ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; > > > ci->fsm.otg->state = OTG_STATE_UNDEFINED; diff --git > > > a/include/linux/usb/otg.h b/include/linux/usb/otg.h index > > > 33d3480..b2f7587 100

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

2014-07-25 Thread Antoine Ténart
"Failed to allocate usb_otg structure for ci hdrc otg!\n"); > - return -ENOMEM; > - } > - > - otg->phy = ci->transceiver; > - otg->gadget = &ci->gadget; > - ci->fsm.otg = otg; > - ci->transceiver->otg = ci-&g

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'

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

[PATCH v11 1/8] phy: add a driver for the Berlin SATA PHY

2014-07-24 Thread Antoine Ténart
registers in the SATA range, the PHY seems to be integrated and no information tells us the contrary. For these reasons, make the driver a SATA PHY driver. Signed-off-by: Antoine Ténart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c

[PATCH v11 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-24 Thread Antoine Ténart
This patch moves force_port_map and mask_port_map into the ahci_host_priv structure. This allows to modify them into the AHCI framework. This is needed by the new dt bindings representing ports as the port_map mask is computed automatically. Signed-off-by: Antoine Ténart --- drivers/ata/ahci.h

[PATCH v11 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-24 Thread Antoine Ténart
The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/phy/berlin-sata-phy.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v11 6/8] Documentation: bindings: document the sub-nodes AHCI bindings

2014-07-24 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 41 ++ 1 file changed, 41 insertions(+) diff --git a

[PATCH v11 7/8] ARM: berlin: add the AHCI node for the BG2Q

2014-07-24 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b

[PATCH v11 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-24 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2 insertions

[PATCH v11 4/8] ata: libahci: allow to use multiple PHYs

2014-07-24 Thread Antoine Ténart
-node. This as the advantage of allowing a per port configuration. Because some ports may be accessible but disabled in the device tree, the port_map mask is computed automatically when using this. Signed-off-by: Antoine Ténart --- drivers/ata/ahci.h | 7 +- drivers/ata

[PATCH v11 8/8] ARM: berlin: enable the eSATA interface on the BG2Q DMP

2014-07-24 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it. Only enable the first port, the BG2Q DMP does not support the second one. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

[PATCH v11 0/8] ARM: berlin: add AHCI support

2014-07-24 Thread Antoine Ténart
the 'force-port-map' property - made the drivers a bit less magic :) - wrote a function to select and configure registers in the AHCI driver - removed BG2 / BG2CD nodes Antoine Ténart (8): phy: add a driver for the Berlin SATA PHY Documentation:

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 > wrote: > > diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c > > index 7cccab6ff308..9a9702773e43 100644 > > --- a/drivers/usb/chipidea/d

Re: [PATCH v10 0/8] ARM: berlin: add AHCI support

2014-07-21 Thread Antoine Ténart
y we still have a 1:1 way to map ports <-> phys if > we want to do something with phys on a per port basis in the future. > > Note please also add a check that reg < nports so that we don't use > the array out of bounds if there is an error in the dts. Ok. I'll

Re: [PATCH v10 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-21 Thread Antoine Ténart
Hi, On Fri, Jul 18, 2014 at 09:27:28PM +0400, Sergei Shtylyov wrote: > On 07/18/2014 04:30 PM, Antoine Ténart wrote: > > >diff --git a/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt > >b/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt > >new f

Re: [PATCH v10 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-21 Thread Antoine Ténart
Hi, On Fri, Jul 18, 2014 at 09:47:30AM -0400, Tejun Heo wrote: > On Fri, Jul 18, 2014 at 02:30:02PM +0200, Antoine Ténart wrote: > > @@ -321,6 +321,8 @@ struct ahci_host_priv { > > u32 cap;/* cap to use */ > > u32 ca

Re: [PATCH v10 4/8] ata: libahci: allow to use multiple PHYs

2014-07-21 Thread Antoine Ténart
Hi, On Fri, Jul 18, 2014 at 03:17:45PM +0200, Lothar Waßmann wrote: > Antoine Ténart wrote: > > diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c > > index db9b90d876dd..2c2439b4101d 100644 > > --- a/drivers/ata/libahci_platform.c

[PATCH v10 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-18 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2 insertions

[PATCH v10 0/8] ARM: berlin: add AHCI support

2014-07-18 Thread Antoine Ténart
AHCI driver - removed BG2 / BG2CD nodes Antoine Ténart (8): phy: add a driver for the Berlin SATA PHY Documentation: bindings: add the Berlin SATA PHY ata: libahci_platform: move port_map parameters into the AHCI structure ata: libahci: allow to use multiple PHYs ata: ahci

[PATCH v10 4/8] ata: libahci: allow to use multiple PHYs

2014-07-18 Thread Antoine Ténart
-node. This as the advantage of allowing a per port configuration. Because some ports may be accessible but disabled in the device tree, the port_map mask is computed automatically when using this. Signed-off-by: Antoine Ténart --- drivers/ata/ahci.h | 3 +- drivers/ata

[PATCH v10 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-18 Thread Antoine Ténart
This patch moves force_port_map and mask_port_map into the ahci_host_priv structure. This allows to modify them into the AHCI framework. This is needed by the new dt bindings representing ports as the port_map mask is computed automatically. Signed-off-by: Antoine Ténart --- drivers/ata/ahci.h

[PATCH v10 6/8] Documentation: bindings: document the sub-nodes AHCI bindings

2014-07-18 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 37 ++ 1 file changed, 37 insertions(+) diff --git a

[PATCH v10 7/8] ARM: berlin: add the AHCI node for the BG2Q

2014-07-18 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b

[PATCH v10 1/8] phy: add a driver for the Berlin SATA PHY

2014-07-18 Thread Antoine Ténart
registers in the SATA range, the PHY seems to be integrated and no information tells us the contrary. For these reasons, make the driver a SATA PHY driver. Signed-off-by: Antoine Ténart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-sata.c

[PATCH v10 8/8] ARM: berlin: enable the eSATA interface on the BG2Q DMP

2014-07-18 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it. Only enable the first port, the BG2Q DMP does not support the second one. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm

[PATCH v10 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-18 Thread Antoine Ténart
The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/phy/berlin-sata-phy.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree

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 w

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: > >

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-p

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-&g

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

[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 --- 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 index 2631cfc5ab0d..3a4fd1e41801

[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 Acked-by: Philipp Zabel --- arch/arm/boot/dts/berlin2.dtsi | 1 + arch/arm/boot/dts/berlin2cd.dtsi | 1 + arch/arm/boot/dts/ber

[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 --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-usb.c | 223

[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 --- Documentation/devicetree/bindings/phy/berlin-usb-phy.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/berlin-usb-phy.txt diff --git

[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 --- arch/arm/boot/dts/berlin2q.dtsi | 52 + 1 file changed, 52 insertions(+) diff --git a/arch

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

2014-07-16 Thread Antoine Ténart
dified 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 Doc

[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 --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt diff --git a

[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 --- drivers/usb/chipidea/Makefile | 1 + driver

[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 --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm

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

2014-07-16 Thread Antoine Ténart
From: Sebastian Hesselbarth Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boo

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

2014-07-16 Thread Antoine Ténart
From: Sebastian Hesselbarth 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 Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2cd.dtsi

[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 Signed-off-by: Sebastian Hesselbarth Acked-by: Philipp Zabel --- drivers/reset/Makefile | 1 + drivers/reset/reset-berlin.c | 131

[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 Acked-by: Philipp Zabel

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

2014-07-15 Thread Antoine Ténart
ing it in his 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-kernel" in the body of a message to majord...@vger.kernel.org More majo

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

2014-07-15 Thread Antoine Ténart
s in the compatible > > > string. > > > > I'm sure wildcards shouldn't be allowed there. :-) > > Then, what's your guys recommend, how about "chipidea,usb2-generic"? So what do you think? "chipidea,ci13", "chipidea,usb2-generic&quo

[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 --- drivers/usb/chipidea/host.c | 2 +- drivers/usb/core/hcd.c| 20 ++-- drivers/usb/core/hub.c

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

2014-07-15 Thread Antoine Ténart
ate patches [1] 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

[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 --- drivers/usb/core/hcd.c | 22 +++--- include/linux/usb/hcd.

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

2014-07-15 Thread Antoine Ténart
driver. Signed-off-by: Antoine Ténart --- 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/drivers/usb/core/hcd.c @@ -2650,7

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

2014-07-15 Thread Antoine Ténart
HY drivers. Signed-off-by: Antoine Ténart --- 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 +- drivers/usb/phy/phy

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

2014-07-15 Thread Antoine Ténart
' and modifications are done in all drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. Signed-off-by: Antoine Ténart --- drivers/usb/chipidea/ci.h | 4 ++-- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/ci_hdrc_m

[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

[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 --- include/linux/usb/otg.h | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH 11/15] irqchip: sun4i: convert to handle_domain_irq

2014-07-15 Thread Antoine Ténart
gt; + handle_domain_irq(sun4i_irq_domain, hwirq, regs); > hwirq = readl(sun4i_irq_base + SUN4I_IRQ_VECTOR_REG) >> 2; > } while (hwirq != 0); > } > -- > 2.0.0 > > > ___ > linux-arm-kernel mailing li

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 > wrote: > > diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c > > index bec31e2efb88..b985af5b167c 100644 > > --- a/drivers/usb/core/hcd

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: > >

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 >

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 av

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 >

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

2014-07-09 Thread Antoine Ténart
ng the OTG PHY. Signed-off-by: Antoine Ténart --- 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/us

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

2014-07-09 Thread Antoine Ténart
' member into the ci_hdrc structre. Signed-off-by: Antoine Ténart --- 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/u

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

2014-07-09 Thread Antoine Ténart
ttp://lists.infradead.org/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 f

  1   2   3   4   >