Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth

On 09/10/2012 05:45 PM, Linus Walleij wrote:

This all looks good now, will this be pushed through some ARM SoC
tree along with Marvell changes or do you want me to take it all
through the pinctrl tree?


Linus,

thanks for review and ACKs. Jason Cooper will take it through Marvell
tree.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth
 wrote:

> This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and
> SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood.
> The SoC specific stubs use the pinctrl-mvebu core driver that handles
> pinctrl API and register accesses for common pinctrl registers.

This all looks good now, will this be pushed through some ARM SoC
tree along with Marvell changes or do you want me to take it all
through the pinctrl tree?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and
SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood.
The SoC specific stubs use the pinctrl-mvebu core driver that handles
pinctrl API and register accesses for common pinctrl registers.

As especially Dove has some pinctrl registers that do not match the
common pinctrl register layout the core driver has been extended by
some callbacks to allow uncommon Dove pinctrl registers.

DT binding documentation is added for all supported SoCs but as
Dove and Kirkwood are not yet ready for full DT support, the pinctrl
driver is only activated for Armada 370 and XP.

The driver has been tested on Dove, 88f6281 variant of Kirkwood,
Armada 370, and XP.

Changelog:
v2:
- rebased on git://git.infradead.org/users/jcooper/linux.git boards-for-3.7
- removed arch/arm/*/Kconfig patches that enable PINCTRL_ on MACH_MVEBU
  (those will be sent as a different patch set)
- reworked patches wrt reviews from Andrew Lunn and Linus Walleij

v3:
- parse functions from SoC specific pin groups instead of DT node
- move kirkwood variants to DT match data
- respect Armada XP variant in DTs
- cleaned whitespaces in DTs
- rebased to jcooper/boards-for-v3.7-v2

Sebastian Hesselbarth (3):
  pinctrl: mvebu: pinctrl driver core
  pinctrl: mvebu: dove pinctrl driver
  pinctrl: mvebu: kirkwood pinctrl driver

Thomas Petazzoni (6):
  pinctrl: mvebu: add pinctrl driver for Armada 370
  pinctrl: mvebu: add pinctrl driver for Armada XP
  ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs
  ARM: mvebu: Add pinctrl support to Armada XP SoCs
  ARM: mvebu: Add pinctrl support to Armada 370 SoC
  ARM: mvebu: adjust Armada XP evaluation board DTS

 .../pinctrl/marvell,armada-370-pinctrl.txt |   95 +++
 .../bindings/pinctrl/marvell,armada-xp-pinctrl.txt |  100 +++
 .../bindings/pinctrl/marvell,dove-pinctrl.txt  |   72 ++
 .../bindings/pinctrl/marvell,kirkwood-pinctrl.txt  |  279 
 .../bindings/pinctrl/marvell,mvebu-pinctrl.txt |   45 ++
 arch/arm/Kconfig   |1 +
 arch/arm/boot/dts/armada-370-xp.dtsi   |7 +
 arch/arm/boot/dts/armada-370.dtsi  |4 +
 arch/arm/boot/dts/armada-xp-db.dts |4 +-
 arch/arm/boot/dts/armada-xp-mv78230.dtsi   |   27 +
 arch/arm/boot/dts/armada-xp-mv78260.dtsi   |   27 +
 arch/arm/boot/dts/armada-xp-mv78460.dtsi   |   27 +
 drivers/pinctrl/Kconfig|   22 +
 drivers/pinctrl/Makefile   |5 +
 drivers/pinctrl/pinctrl-armada-370.c   |  421 
 drivers/pinctrl/pinctrl-armada-xp.c|  468 +
 drivers/pinctrl/pinctrl-dove.c |  622 +
 drivers/pinctrl/pinctrl-kirkwood.c |  473 +
 drivers/pinctrl/pinctrl-mvebu.c|  705 
 drivers/pinctrl/pinctrl-mvebu.h|  192 ++
 20 files changed, 3594 insertions(+), 2 deletions(-)
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,armada-xp-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78230.dtsi
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78260.dtsi
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78460.dtsi
 create mode 100644 drivers/pinctrl/pinctrl-armada-370.c
 create mode 100644 drivers/pinctrl/pinctrl-armada-xp.c
 create mode 100644 drivers/pinctrl/pinctrl-dove.c
 create mode 100644 drivers/pinctrl/pinctrl-kirkwood.c
 create mode 100644 drivers/pinctrl/pinctrl-mvebu.c
 create mode 100644 drivers/pinctrl/pinctrl-mvebu.h
---
Cc: Sebastian Hesselbarth 
Cc: Thomas Petazzoni 
Cc: Grant Likely 
Cc: Rob Herring 
Cc: Rob Landley 
Cc: Russell King 
Cc: Lior Amsalem 
Cc: Andrew Lunn 
Cc: Jason Cooper 
Cc: Gregory CLEMENT 
Cc: Ben Dooks 
Cc: Linus Walleij 
Cc: Stephen Warren 
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and
SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood.
The SoC specific stubs use the pinctrl-mvebu core driver that handles
pinctrl API and register accesses for common pinctrl registers.

As especially Dove has some pinctrl registers that do not match the
common pinctrl register layout the core driver has been extended by
some callbacks to allow uncommon Dove pinctrl registers.

DT binding documentation is added for all supported SoCs but as
Dove and Kirkwood are not yet ready for full DT support, the pinctrl
driver is only activated for Armada 370 and XP.

The driver has been tested on Dove, 88f6281 variant of Kirkwood,
Armada 370, and XP.

Changelog:
v2:
- rebased on git://git.infradead.org/users/jcooper/linux.git boards-for-3.7
- removed arch/arm/*/Kconfig patches that enable PINCTRL_ on MACH_MVEBU
  (those will be sent as a different patch set)
- reworked patches wrt reviews from Andrew Lunn and Linus Walleij

v3:
- parse functions from SoC specific pin groups instead of DT node
- move kirkwood variants to DT match data
- respect Armada XP variant in DTs
- cleaned whitespaces in DTs
- rebased to jcooper/boards-for-v3.7-v2

Sebastian Hesselbarth (3):
  pinctrl: mvebu: pinctrl driver core
  pinctrl: mvebu: dove pinctrl driver
  pinctrl: mvebu: kirkwood pinctrl driver

Thomas Petazzoni (6):
  pinctrl: mvebu: add pinctrl driver for Armada 370
  pinctrl: mvebu: add pinctrl driver for Armada XP
  ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs
  ARM: mvebu: Add pinctrl support to Armada XP SoCs
  ARM: mvebu: Add pinctrl support to Armada 370 SoC
  ARM: mvebu: adjust Armada XP evaluation board DTS

 .../pinctrl/marvell,armada-370-pinctrl.txt |   95 +++
 .../bindings/pinctrl/marvell,armada-xp-pinctrl.txt |  100 +++
 .../bindings/pinctrl/marvell,dove-pinctrl.txt  |   72 ++
 .../bindings/pinctrl/marvell,kirkwood-pinctrl.txt  |  279 
 .../bindings/pinctrl/marvell,mvebu-pinctrl.txt |   45 ++
 arch/arm/Kconfig   |1 +
 arch/arm/boot/dts/armada-370-xp.dtsi   |7 +
 arch/arm/boot/dts/armada-370.dtsi  |4 +
 arch/arm/boot/dts/armada-xp-db.dts |4 +-
 arch/arm/boot/dts/armada-xp-mv78230.dtsi   |   27 +
 arch/arm/boot/dts/armada-xp-mv78260.dtsi   |   27 +
 arch/arm/boot/dts/armada-xp-mv78460.dtsi   |   27 +
 drivers/pinctrl/Kconfig|   22 +
 drivers/pinctrl/Makefile   |5 +
 drivers/pinctrl/pinctrl-armada-370.c   |  421 
 drivers/pinctrl/pinctrl-armada-xp.c|  468 +
 drivers/pinctrl/pinctrl-dove.c |  622 +
 drivers/pinctrl/pinctrl-kirkwood.c |  473 +
 drivers/pinctrl/pinctrl-mvebu.c|  705 
 drivers/pinctrl/pinctrl-mvebu.h|  192 ++
 20 files changed, 3594 insertions(+), 2 deletions(-)
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,armada-xp-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt
 create mode 100644 
Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78230.dtsi
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78260.dtsi
 create mode 100644 arch/arm/boot/dts/armada-xp-mv78460.dtsi
 create mode 100644 drivers/pinctrl/pinctrl-armada-370.c
 create mode 100644 drivers/pinctrl/pinctrl-armada-xp.c
 create mode 100644 drivers/pinctrl/pinctrl-dove.c
 create mode 100644 drivers/pinctrl/pinctrl-kirkwood.c
 create mode 100644 drivers/pinctrl/pinctrl-mvebu.c
 create mode 100644 drivers/pinctrl/pinctrl-mvebu.h
---
Cc: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Rob Herring rob.herr...@calxeda.com
Cc: Rob Landley r...@landley.net
Cc: Russell King li...@arm.linux.org.uk
Cc: Lior Amsalem al...@marvell.com
Cc: Andrew Lunn and...@lunn.ch
Cc: Jason Cooper ja...@lakedaemon.net
Cc: Gregory CLEMENT gregory.clem...@free-electrons.com
Cc: Ben Dooks ben.do...@codethink.co.uk
Cc: Linus Walleij linus.wall...@linaro.org
Cc: Stephen Warren swar...@wwwdotorg.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  

Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth
sebastian.hesselba...@gmail.com wrote:

 This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and
 SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood.
 The SoC specific stubs use the pinctrl-mvebu core driver that handles
 pinctrl API and register accesses for common pinctrl registers.

This all looks good now, will this be pushed through some ARM SoC
tree along with Marvell changes or do you want me to take it all
through the pinctrl tree?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth

On 09/10/2012 05:45 PM, Linus Walleij wrote:

This all looks good now, will this be pushed through some ARM SoC
tree along with Marvell changes or do you want me to take it all
through the pinctrl tree?


Linus,

thanks for review and ACKs. Jason Cooper will take it through Marvell
tree.

Sebastian
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/