Skip to contentSkip to conversation

pinctrl: imx50: add pinctrl support code for the IMX50 SoC

PATCH New gerg at uclinux.org 4 participants 6 messages Oct 29, 2013 – Nov 5, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

From: Greg Ungerer <[email protected]>

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

---
 drivers/pinctrl/Kconfig         |   8 +
 drivers/pinctrl/Makefile        |   1 +
 drivers/pinctrl/pinctrl-imx50.c | 426 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 435 insertions(+)
 create mode 100644 drivers/pinctrl/pinctrl-imx50.c
drivers/pinctrl/Kconfig +8 -0
index b6e864e..530cc8d 100644
@@ -88,6 +88,14 @@ config PINCTRL_IMX35
 	help
 	  Say Y here to enable the imx35 pinctrl driver
 
+config PINCTRL_IMX50
+	bool "IMX50 pinctrl driver"
+	depends on OF
+	depends on SOC_IMX50
+	select PINCTRL_IMX
+	help
+	  Say Y here to enable the imx50 pinctrl driver
+
 config PINCTRL_IMX51
 	bool "IMX51 pinctrl driver"
 	depends on OF
drivers/pinctrl/Makefile +1 -0
index 496d9bf..cfff09e 100644
@@ -19,6 +19,7 @@ obj-$(CONFIG_PINCTRL_BCM2835)	+= pinctrl-bcm2835.o
 obj-$(CONFIG_PINCTRL_BAYTRAIL)	+= pinctrl-baytrail.o
 obj-$(CONFIG_PINCTRL_IMX)	+= pinctrl-imx.o
 obj-$(CONFIG_PINCTRL_IMX35)	+= pinctrl-imx35.o
+obj-$(CONFIG_PINCTRL_IMX50)	+= pinctrl-imx50.o
 obj-$(CONFIG_PINCTRL_IMX51)	+= pinctrl-imx51.o
 obj-$(CONFIG_PINCTRL_IMX53)	+= pinctrl-imx53.o
 obj-$(CONFIG_PINCTRL_IMX6Q)	+= pinctrl-imx6q.o
drivers/pinctrl/pinctrl-imx50.c new file +426 -0

426 lines not on this page · raw message

Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

Quoted 5 lines · On Tue, Oct 29, 2013 at 6:13 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

Can I get some maintainer to review this for the next cycle?

BTW: how many i.MX:es does remain? Have we not covered them all soon?

Yours,
Linus Walleij

maintainer
#2 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

Quoted 4 lines · Linus Walleij
Quoted 2 lines · On Tue, Oct 29, 2013 at 6:13 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

Quoted 8 lines
Quoted 3 lines

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

Can I get some maintainer to review this for the next cycle?

BTW: how many i.MX:es does remain? Have we not covered them all soon?

We have three different iomux ips. I once ordered them by an arbitrary version number. We have

iomux-v1: i.MX1, i.MX21, i.MX27
iomux-v2: i.MX31
iomux-v3: i.MX25, i.MX35, i.MX50 i.MX51, i.MX53, i.MX6

I think it's quite unlikely that someone writes a iomux-v2 driver.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

In reply to Linus Walleij
Quoted 9 lines · Linus Walleij
Quoted 5 lines · On Tue, Oct 29, 2013 at 6:13 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

Can I get some maintainer to review this for the next cycle?

#4 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

Quoted 5 lines · Shawn Guo
Quoted 4 lines · Linus Walleij
Quoted 2 lines · On Tue, Oct 29, 2013 at 6:13 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

Can I get some maintainer to review this for the next cycle?

OK I actually tried to apply it now since it is a new driver, but it needs rebasing.

Greg could you rebase this on top of the "devel" branch in my pinctrl tree so I can apply the patch?

Yours,
Linus Walleij

#5 lore raw

PATCH 1/1 pinctrl: imx50: add pinctrl support code for the IMX50 SoC

Hi Linus,

Quoted 12 lines · Linus Walleij
Quoted 11 lines · Shawn Guo
Quoted 9 lines · Linus Walleij
Quoted 5 lines · On Tue, Oct 29, 2013 at 6:13 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

Add code to support the specific pin arrangements of the Freescale IMX50 SoC.

Can I get some maintainer to review this for the next cycle?

Quoted 7 lines
Quoted 1 line

OK I actually tried to apply it now since it is a new driver, but it needs rebasing.

Greg could you rebase this on top of the "devel" branch in my pinctrl tree so I can apply the patch?

Yep, sure thing. New patch coming right up.

Regards
Greg