linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: Kirkwood: Allow use of pinctrl
Date: Wed, 24 Oct 2012 16:25:20 +0200	[thread overview]
Message-ID: <1351088724-11142-2-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1351088724-11142-1-git-send-email-andrew@lunn.ch>

We now have a pinctrl driver for arch-mvebu. It supports kirkwood out
of the box. Allow ARCH_KIRKWOOD to select it, and make ARCH_KIRKWOOD
select it. This then allows the convertion of board-*.c files away
from MPP to pinctrl in DT, before they get moved over into mach-mvebu.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/Kconfig        |    2 ++
 drivers/pinctrl/Kconfig |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 73067ef..160cd40 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -548,6 +548,8 @@ config ARCH_KIRKWOOD
 	select GENERIC_CLOCKEVENTS
 	select PCI
 	select PLAT_ORION_LEGACY
+	select PINCTRL
+	select PINCTRL_KIRKWOOD
 	help
 	  Support for the following Marvell Kirkwood series SoCs:
 	  88F6180, 88F6192 and 88F6281.
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 7bf914d..5682c96 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -188,7 +188,7 @@ config PINCTRL_EXYNOS4
 
 config PINCTRL_MVEBU
 	bool
-	depends on ARCH_MVEBU
+	depends on ARCH_MVEBU || ARCH_KIRKWOOD
 	select PINMUX
 	select PINCONF
 
-- 
1.7.10.4

  reply	other threads:[~2012-10-24 14:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 14:25 [PATCH 0/5] Enable mvebu pinctrl/gpio for Dove and Kirkwood Andrew Lunn
2012-10-24 14:25 ` Andrew Lunn [this message]
2012-10-25  7:00   ` [PATCH 1/5] ARM: Kirkwood: Allow use of pinctrl Linus Walleij
2012-10-25  8:55   ` Thomas Petazzoni
2012-10-24 14:25 ` [PATCH 2/5] ARM: Kirkwood: Allow use of MVEBU GPIO driver Andrew Lunn
2012-10-25  8:57   ` Thomas Petazzoni
2012-10-24 14:25 ` [PATCH 3/5] pinctrl: dove: fix iomem and pdma clock Andrew Lunn
2012-10-25  7:04   ` Linus Walleij
2012-10-25  9:04     ` Sebastian Hesselbarth
2012-10-25 13:29       ` Jason Cooper
2012-10-24 14:25 ` [PATCH 4/5] ARM: Dove: Make use of pinctrl driver Andrew Lunn
2012-10-25  7:04   ` Linus Walleij
2012-10-24 14:25 ` [PATCH 5/5] ARM: Dove: Make use of MVEBU GPIO driver Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351088724-11142-2-git-send-email-andrew@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).