Skip to contentSkip to conversation

pinctrl: add MVF600 pinctrl driver

PATCH Superseded Jingchang Lu 3 participants 11 messages May 16, 2013 – May 24, 2013

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Adds Freescale Vybrid Family MVF600 pin controller driver to IMX iomuxc common driver framework.

---
v3:
clean up code.
update binding document according recommendation.

 .../bindings/pinctrl/fsl,mvf600-pinctrl.txt        |  41 +++
 drivers/pinctrl/Kconfig                            |   8 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-mvf600.c                   | 338 +++++++++++++++++++++
 4 files changed, 388 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-mvf600.c
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +41 -0
new file mode 100644
index 0000000..a4d04d2
@@ -0,0 +1,41 @@
+Freescale Vybrid IOMUX Controller
+
+Please refer to fsl,imx-pinctrl.txt in this directory for common binding part
+and usage.
+
+Required properties:
+- compatible: "fsl,mvf600-iomuxc"
+- fsl,pins: two integers array, represents a group of pins mux and config
+  setting. The format is fsl,pins = < PIN_FUNC_ID >, PIN_FUNC_ID is a pin
+  working on a specific function, CONFIG is the pad setting value such as
+  pull-up, speed, ode for this pin. Please refer to Vybrid MVF600 datasheet
+  for the valid pad config settings.
+
+CONFIG bits definition:
+PAD_CTL_SPEED_LOW		(1 << 12)
+PAD_CTL_SPEED_MED		(2 << 12)
+PAD_CTL_SPEED_HIGH		(3 << 12)
+PAD_CTL_SRE_FAST		(1 << 11)
+PAD_CTL_SRE_SLOW		(0 << 11)
+PAD_CTL_ODE			(1 << 10)
+PAD_CTL_HYS			(1 << 9)
+PAD_CTL_DSE_DISABLE		(0 << 6)
+PAD_CTL_DSE_150ohm		(1 << 6)
+PAD_CTL_DSE_75ohm		(2 << 6)
+PAD_CTL_DSE_50ohm		(3 << 6)
+PAD_CTL_DSE_37ohm		(4 << 6)
+PAD_CTL_DSE_30ohm		(5 << 6)
+PAD_CTL_DSE_25ohm		(6 << 6)
+PAD_CTL_DSE_20ohm		(7 << 6)
+PAD_CTL_PUS_100K_DOWN		(0 << 4)
+PAD_CTL_PUS_47K_UP		(1 << 4)
+PAD_CTL_PUS_100K_UP		(2 << 4)
+PAD_CTL_PUS_22K_UP		(3 << 4)
+PAD_CTL_PKE			(1 << 3)
+PAD_CTL_PUE			(1 << 2)
+PAD_CTL_OBE_ENABLE		(1 << 1)
+PAD_CTL_IBE_ENABLE		(1 << 0)
+PAD_CTL_OBE_IBE_ENABLE		(3 << 0)
+
+Please refer to mvf600-pinfunc.h in device tree source folder
+for all available PIN_FUNC_ID for Vybrid.
drivers/pinctrl/Kconfig +8 -0
index 8f66924..5cb3987 100644
@@ -108,6 +108,14 @@ config PINCTRL_IMX6SL
 	help
 	  Say Y here to enable the imx6sl pinctrl driver
 
+config PINCTRL_MVF600
+	bool "Freescale Vybrid MVF600 pinctrl driver"
+	depends on OF
+	depends on SOC_MVF600
+	select PINCTRL_IMX
+	help
+	  Say Y here to enable the Freescale Vybrid MVF600 pinctrl driver
+
 config PINCTRL_LANTIQ
 	bool
 	depends on LANTIQ
drivers/pinctrl/Makefile +1 -0
index 34c4ae6..dfec292 100644
@@ -46,6 +46,7 @@ obj-$(CONFIG_PINCTRL_EXYNOS5440)	+= pinctrl-exynos5440.o
 obj-$(CONFIG_PINCTRL_S3C64XX)	+= pinctrl-s3c64xx.o
 obj-$(CONFIG_PINCTRL_XWAY)	+= pinctrl-xway.o
 obj-$(CONFIG_PINCTRL_LANTIQ)	+= pinctrl-lantiq.o
+obj-$(CONFIG_PINCTRL_MVF600)	+= pinctrl-mvf600.o
 
 obj-$(CONFIG_PLAT_ORION)        += mvebu/
 obj-$(CONFIG_ARCH_SHMOBILE)	+= sh-pfc/
drivers/pinctrl/pinctrl-mvf600.c new file +338 -0

338 lines not on this page · raw message

Signature · 1 line
1.8.0
#1 lore raw

PATCH v3 2/2 pinctrl: imx: add MVF600 support to imx pinctrl framework

On some platforms such as MVF600, offset of mux and pad ctrl register may be zero, and the mux_mode and config_val are in one 32-bit register. This patch adds support to imx core pinctrl framework to handle these cases.

---
v3:
add ZERO_OFFSET_VALID flag to handle register offset from zero on mvf600. add SHARE_MUX_CONF_REG flag to handle mux mode and config value in one 32-bit
register in mvf600.

 drivers/pinctrl/pinctrl-imx.c | 53 ++++++++++++++++++++++++++++++++++---------
 drivers/pinctrl/pinctrl-imx.h |  4 ++++
 2 files changed, 46 insertions(+), 11 deletions(-)
drivers/pinctrl/pinctrl-imx.c +42 -11
index 4fcfff92..57a4eb0 100644
@@ -221,13 +221,21 @@ static int imx_pmx_enable(struct pinctrl_dev *pctldev, unsigned selector,
 		pin_id = pins[i];
 		pin_reg = &info->pin_regs[pin_id];
 
-		if (!pin_reg->mux_reg) {
+		if (!(info->flags & ZERO_OFFSET_VALID) && !pin_reg->mux_reg) {
 			dev_err(ipctl->dev, "Pin(%s) does not support mux function\n",
 				info->pins[pin_id].name);
 			return -EINVAL;
 		}
 
-		writel(mux[i], ipctl->base + pin_reg->mux_reg);
+		if (info->flags & SHARE_MUX_CONF_REG) {
+			u32 reg;
+			reg = readl(ipctl->base + pin_reg->mux_reg);
+			reg &= ~(0x7 << 20);
+			reg |= (mux[i] << 20);
+			writel(reg, ipctl->base + pin_reg->mux_reg);
+		} else {
+			writel(mux[i], ipctl->base + pin_reg->mux_reg);
+		}
 		dev_dbg(ipctl->dev, "write: offset 0x%x val 0x%x\n",
 			pin_reg->mux_reg, mux[i]);
 
@@ -287,7 +295,7 @@ static int imx_pinconf_get(struct pinctrl_dev *pctldev,
 	const struct imx_pinctrl_soc_info *info = ipctl->info;
 	const struct imx_pin_reg *pin_reg = &info->pin_regs[pin_id];
 
-	if (!pin_reg->conf_reg) {
+	if (!(info->flags & ZERO_OFFSET_VALID) && !pin_reg->conf_reg) {
 		dev_err(info->dev, "Pin(%s) does not support config function\n",
 			info->pins[pin_id].name);
 		return -EINVAL;
@@ -295,6 +303,9 @@ static int imx_pinconf_get(struct pinctrl_dev *pctldev,
 
 	*config = readl(ipctl->base + pin_reg->conf_reg);
 
+	if (info->flags & SHARE_MUX_CONF_REG)
+		*config &= 0xffff;
+
 	return 0;
 }
 
@@ -305,7 +316,7 @@ static int imx_pinconf_set(struct pinctrl_dev *pctldev,
 	const struct imx_pinctrl_soc_info *info = ipctl->info;
 	const struct imx_pin_reg *pin_reg = &info->pin_regs[pin_id];
 
-	if (!pin_reg->conf_reg) {
+	if (!(info->flags & ZERO_OFFSET_VALID) && !pin_reg->conf_reg) {
 		dev_err(info->dev, "Pin(%s) does not support config function\n",
 			info->pins[pin_id].name);
 		return -EINVAL;
@@ -314,7 +325,15 @@ static int imx_pinconf_set(struct pinctrl_dev *pctldev,
 	dev_dbg(ipctl->dev, "pinconf set pin %s\n",
 		info->pins[pin_id].name);
 
-	writel(config, ipctl->base + pin_reg->conf_reg);
+	if (info->flags & SHARE_MUX_CONF_REG) {
+		u32 reg;
+		reg = readl(ipctl->base + pin_reg->conf_reg);
+		reg &= ~0xffff;
+		reg |= config;
+		writel(reg, ipctl->base + pin_reg->conf_reg);
+	} else {
+		writel(config, ipctl->base + pin_reg->conf_reg);
+	}
 	dev_dbg(ipctl->dev, "write: offset 0x%x val 0x%lx\n",
 		pin_reg->conf_reg, config);
 
@@ -381,19 +400,24 @@ static struct pinctrl_desc imx_pinctrl_desc = {
  * 1 u32 CONFIG, so 24 types in total for each pin.
  */
 #define FSL_PIN_SIZE 24
+#define SHARE_FSL_PIN_SIZE 20
 
 static int imx_pinctrl_parse_groups(struct device_node *np,
 				    struct imx_pin_group *grp,
 				    struct imx_pinctrl_soc_info *info,
 				    u32 index)
 {
-	int size;
+	int size, pin_size;
 	const __be32 *list;
 	int i;
 	u32 config;
 
 	dev_dbg(info->dev, "group(%d): %s\n", index, np->name);
 
+	if (info->flags & SHARE_MUX_CONF_REG)
+		pin_size = SHARE_FSL_PIN_SIZE;
+	else
+		pin_size = FSL_PIN_SIZE;
 	/* Initialise group */
 	grp->name = np->name;
 
@@ -403,12 +427,12 @@ static int imx_pinctrl_parse_groups(struct device_node *np,
 	 */
 	list = of_get_property(np, "fsl,pins", &size);
 	/* we do not check return since it's safe node passed down */
-	if (!size || size % FSL_PIN_SIZE) {
+	if (!size || size % pin_size) {
 		dev_err(info->dev, "Invalid fsl,pins property\n");
 		return -EINVAL;
 	}
 
-	grp->npins = size / FSL_PIN_SIZE;
+	grp->npins = size / pin_size;
 	grp->pins = devm_kzalloc(info->dev, grp->npins * sizeof(unsigned int),
 				GFP_KERNEL);
 	grp->mux_mode = devm_kzalloc(info->dev, grp->npins * sizeof(unsigned int),
@@ -421,10 +445,17 @@ static int imx_pinctrl_parse_groups(struct device_node *np,
 				GFP_KERNEL);
 	for (i = 0; i < grp->npins; i++) {
 		u32 mux_reg = be32_to_cpu(*list++);
-		u32 conf_reg = be32_to_cpu(*list++);
-		unsigned int pin_id = mux_reg ? mux_reg / 4 : conf_reg / 4;
-		struct imx_pin_reg *pin_reg = &info->pin_regs[pin_id];
+		u32 conf_reg;
+		unsigned int pin_id;
+		struct imx_pin_reg *pin_reg;
 
+		if (info->flags & SHARE_MUX_CONF_REG)
+			conf_reg = mux_reg;
+		else
+			conf_reg = be32_to_cpu(*list++);
+
+		pin_id = mux_reg ? mux_reg / 4 : conf_reg / 4;
+		pin_reg = &info->pin_regs[pin_id];
 		grp->pins[i] = pin_id;
 		pin_reg->mux_reg = mux_reg;
 		pin_reg->conf_reg = conf_reg;
drivers/pinctrl/pinctrl-imx.h +4 -0
index 607ef54..bcedd99 100644
@@ -74,8 +74,12 @@ struct imx_pinctrl_soc_info {
 	unsigned int ngroups;
 	struct imx_pmx_func *functions;
 	unsigned int nfunctions;
+	unsigned int flags;
 };
 
+#define ZERO_OFFSET_VALID	0x1
+#define SHARE_MUX_CONF_REG	0x2
+
 #define NO_MUX		0x0
 #define NO_PAD		0x0
 
Signature · 1 line
1.8.0
#2 lore raw

PATCH v3 2/2 pinctrl: imx: add MVF600 support to imx pinctrl framework

Quoted 6 lines · Jingchang Lu

On some platforms such as MVF600, offset of mux and pad ctrl register may be zero, and the mux_mode and config_val are in one 32-bit register. This patch adds support to imx core pinctrl framework to handle these cases.

#3 lore raw

PATCH v3 2/2 pinctrl: imx: add MVF600 support to imx pinctrl framework

In reply to Jingchang Lu
Quoted 11 lines · Jingchang Lu

On some platforms such as MVF600, offset of mux and pad ctrl register may be zero, and the mux_mode and config_val are in one 32-bit register. This patch adds support to imx core pinctrl framework to handle these cases.

---
v3:
add ZERO_OFFSET_VALID flag to handle register offset from zero on mvf600. add SHARE_MUX_CONF_REG flag to handle mux mode and config value in one 32-bit
register in mvf600.

Patch applied with Shawn's ACK, thanks!

Yours,
Linus Walleij

#4 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

In reply to Jingchang Lu
Quoted 23 lines · Jingchang Lu

Adds Freescale Vybrid Family MVF600 pin controller driver to IMX iomuxc common driver framework.

---
v3:
clean up code.
update binding document according recommendation.

 .../bindings/pinctrl/fsl,mvf600-pinctrl.txt        |  41 +++
 drivers/pinctrl/Kconfig                            |   8 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-mvf600.c                   | 338 +++++++++++++++++++++
 4 files changed, 388 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-mvf600.c
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +0 -0
new file mode 100644
index 0000000..a4d04d2

Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt line 1

Quoted 1 line
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +1 -0
@@ -0,0 +1,41 @@
+Freescale Vybrid IOMUX Controller

Freescale Vybrid MVF600 IOMUX Controller

Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt line 9

Quoted 8 lines
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +8 -0
+
+Please refer to fsl,imx-pinctrl.txt in this directory for common binding part
+and usage.
+
+Required properties:
+- compatible: "fsl,mvf600-iomuxc"
+- fsl,pins: two integers array, represents a group of pins mux and config
+  setting. The format is fsl,pins = < PIN_FUNC_ID >, PIN_FUNC_ID is a pin

fsl,pins = <PIN_FUNC_ID CONFIG>

Quoted 22 lines
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +22 -0
+  working on a specific function, CONFIG is the pad setting value such as
+  pull-up, speed, ode for this pin. Please refer to Vybrid MVF600 datasheet
+  for the valid pad config settings.
+
+CONFIG bits definition:
+PAD_CTL_SPEED_LOW		(1 << 12)
+PAD_CTL_SPEED_MED		(2 << 12)
+PAD_CTL_SPEED_HIGH		(3 << 12)
+PAD_CTL_SRE_FAST		(1 << 11)
+PAD_CTL_SRE_SLOW		(0 << 11)
+PAD_CTL_ODE			(1 << 10)
+PAD_CTL_HYS			(1 << 9)
+PAD_CTL_DSE_DISABLE		(0 << 6)
+PAD_CTL_DSE_150ohm		(1 << 6)
+PAD_CTL_DSE_75ohm		(2 << 6)
+PAD_CTL_DSE_50ohm		(3 << 6)
+PAD_CTL_DSE_37ohm		(4 << 6)
+PAD_CTL_DSE_30ohm		(5 << 6)
+PAD_CTL_DSE_25ohm		(6 << 6)
+PAD_CTL_DSE_20ohm		(7 << 6)
+PAD_CTL_PUS_100K_DOWN		(0 << 4)
+PAD_CTL_PUS_47K_UP		(1 << 4)

Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt line 41

Quoted 10 lines
Documentation/devicetree/bindings/pinctrl/fsl,mvf600-pinctrl.txt new file +10 -0
+PAD_CTL_PUS_100K_UP		(2 << 4)
+PAD_CTL_PUS_22K_UP		(3 << 4)
+PAD_CTL_PKE			(1 << 3)
+PAD_CTL_PUE			(1 << 2)
+PAD_CTL_OBE_ENABLE		(1 << 1)
+PAD_CTL_IBE_ENABLE		(1 << 0)
+PAD_CTL_OBE_IBE_ENABLE		(3 << 0)
+
+Please refer to mvf600-pinfunc.h in device tree source folder
+for all available PIN_FUNC_ID for Vybrid.

for Vybrid MVF600.

Quoted 62 lines
drivers/pinctrl/Kconfig +8 -0
index 8f66924..5cb3987 100644
@@ -108,6 +108,14 @@ config PINCTRL_IMX6SL
 	help
 	  Say Y here to enable the imx6sl pinctrl driver
 
+config PINCTRL_MVF600
+	bool "Freescale Vybrid MVF600 pinctrl driver"
+	depends on OF
+	depends on SOC_MVF600
+	select PINCTRL_IMX
+	help
+	  Say Y here to enable the Freescale Vybrid MVF600 pinctrl driver
+
 config PINCTRL_LANTIQ
 	bool
 	depends on LANTIQ
drivers/pinctrl/Makefile +1 -0
index 34c4ae6..dfec292 100644
@@ -46,6 +46,7 @@ obj-$(CONFIG_PINCTRL_EXYNOS5440)	+= pinctrl-exynos5440.o
 obj-$(CONFIG_PINCTRL_S3C64XX)	+= pinctrl-s3c64xx.o
 obj-$(CONFIG_PINCTRL_XWAY)	+= pinctrl-xway.o
 obj-$(CONFIG_PINCTRL_LANTIQ)	+= pinctrl-lantiq.o
+obj-$(CONFIG_PINCTRL_MVF600)	+= pinctrl-mvf600.o
 
 obj-$(CONFIG_PLAT_ORION)        += mvebu/
 obj-$(CONFIG_ARCH_SHMOBILE)	+= sh-pfc/
drivers/pinctrl/pinctrl-mvf600.c new file +25 -0
new file mode 100644
index 0000000..6e2bcc0
@@ -0,0 +1,338 @@
+/*
+ * MVF600 pinctrl driver based on imx pinmux and pinconf core
+ *
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#include <linux/err.h>
+#include <linux/init.h>
+#include <linux/io.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/of_device.h>
+#include <linux/pinctrl/pinctrl.h>
+
+#include "pinctrl-imx.h"
+
+enum mvf600_pads {
+	MVF600_PAD_PTA6 = 0,
+	MVF600_PAD_PTA8 = 1,
+	MVF600_PAD_PTA9 = 2,

...

drivers/pinctrl/pinctrl-mvf600.c line 158

Quoted 4 lines
drivers/pinctrl/pinctrl-mvf600.c new file +4 -0
+	MVF600_PAD_PTE27 = 132,
+	MVF600_PAD_PTE28 = 133,
+	MVF600_PAD_PTA7 = 134,
+	};

No tab here, please.

Quoted 3 lines
drivers/pinctrl/pinctrl-mvf600.c new file +3 -0
+
+/* Pad names for the pinmux subsystem */
+static const struct pinctrl_pin_desc mvf600_pinctrl_pads[] = {

...

drivers/pinctrl/pinctrl-mvf600.c line 302

Quoted 6 lines
drivers/pinctrl/pinctrl-mvf600.c new file +6 -0
+};
+
+static struct imx_pinctrl_soc_info mvf600_pinctrl_info = {
+	.pins = mvf600_pinctrl_pads,
+	.npins = ARRAY_SIZE(mvf600_pinctrl_pads),
+	.flags = ZERO_OFFSET_VALID | SHARE_MUX_CONF_REG,

The flags should be introduced in the same patch where they are used in the first place.

Shawn

Quoted 40 lines
drivers/pinctrl/pinctrl-mvf600.c new file +36 -0
+};
+
+static struct of_device_id mvf600_pinctrl_of_match[] = {
+	{ .compatible = "fsl,mvf600-iomuxc", },
+	{ /* sentinel */ }
+};
+
+static int mvf600_pinctrl_probe(struct platform_device *pdev)
+{
+	return imx_pinctrl_probe(pdev, &mvf600_pinctrl_info);
+}
+
+static struct platform_driver mvf600_pinctrl_driver = {
+	.driver = {
+		.name = "mvf600-pinctrl",
+		.owner = THIS_MODULE,
+		.of_match_table = of_match_ptr(mvf600_pinctrl_of_match),
+	},
+	.probe = mvf600_pinctrl_probe,
+	.remove = imx_pinctrl_remove,
+};
+
+static int __init mvf600_pinctrl_init(void)
+{
+	return platform_driver_register(&mvf600_pinctrl_driver);
+}
+arch_initcall(mvf600_pinctrl_init);
+
+static void __exit mvf600_pinctrl_exit(void)
+{
+	platform_driver_unregister(&mvf600_pinctrl_driver);
+}
+module_exit(mvf600_pinctrl_exit);
+
+MODULE_DESCRIPTION("Freescale MVF600 pinctrl driver");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
1.8.0
#5 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 8 lines · Shawn Guo

drivers/pinctrl/pinctrl-mvf600.c line 302

Quoted 4 lines
drivers/pinctrl/pinctrl-mvf600.c new file +4 -0
+static struct imx_pinctrl_soc_info mvf600_pinctrl_info = {
+     .pins = mvf600_pinctrl_pads,
+     .npins = ARRAY_SIZE(mvf600_pinctrl_pads),
+     .flags = ZERO_OFFSET_VALID | SHARE_MUX_CONF_REG,

The flags should be introduced in the same patch where they are used in the first place.

I just found what you need to do is just to reverse the patch order, having this patch be the second one.

Shawn

#6 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 15 lines

-----Original Message-----
From: Shawn Guo [mailto:shawn.guo at linaro.org]
Sent: Monday, May 20, 2013 11:52 AM
To: Lu Jingchang-B35083
Cc: linux-arm-kernel; Linus Walleij; Sascha Hauer
Subject: Re: [PATCH v3 1/2] pinctrl: add MVF600 pinctrl driver

Quoted 5 lines · Shawn Guo
Quoted 4 lines
drivers/pinctrl/pinctrl-mvf600.c new file +4 -0
+static struct imx_pinctrl_soc_info mvf600_pinctrl_info = {
+     .pins = mvf600_pinctrl_pads,
+     .npins = ARRAY_SIZE(mvf600_pinctrl_pads),
+     .flags = ZERO_OFFSET_VALID | SHARE_MUX_CONF_REG,
Quoted 6 lines
Quoted 3 lines

The flags should be introduced in the same patch where they are used in the first place.

I just found what you need to do is just to reverse the patch order, having this patch be the second one.

[Lu Jingchang-B35083]
I see you have Acked [PATCH v3 2/2] pinctrl: imx: add MVF600 support to imx pinctrl framework, do I need resend it as the first one. Thanks!

#7 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 3 lines · On 21 May 2013 15:56, Lu Jingchang-B35083 <[email protected]> wrote:

[Lu Jingchang-B35083]
I see you have Acked [PATCH v3 2/2] pinctrl: imx: add MVF600 support to imx pinctrl framework, do I need resend it as the first one. Thanks!

Since LinusW hasn't applied it, you should just resend.

Shawn

#8 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 5 lines · Shawn Guo
Quoted 2 lines · On 21 May 2013 15:56, Lu Jingchang-B35083 <[email protected]> wrote:

[Lu Jingchang-B35083]
I see you have Acked [PATCH v3 2/2] pinctrl: imx: add MVF600 support to imx pinctrl framework, do I need resend it as the first one. Thanks!

Since LinusW hasn't applied it, you should just resend.

Now it appears I applied 2/2 but not 1/2 due to comments.

Are they orthogonal or do I need to pull the applied patch out again?

Yours,
Linus Walleij

#9 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 13 lines

-----Original Message-----
From: Linus Walleij [mailto:linus.walleij at linaro.org]
Sent: Friday, May 24, 2013 4:56 PM
To: Shawn Guo
Cc: Lu Jingchang-B35083; linux-arm-kernel; Sascha Hauer
Subject: Re: [PATCH v3 1/2] pinctrl: add MVF600 pinctrl driver

Quoted 3 lines · Shawn Guo
Quoted 2 lines · On 21 May 2013 15:56, Lu Jingchang-B35083 <[email protected]> wrote:

[Lu Jingchang-B35083]
I see you have Acked [PATCH v3 2/2] pinctrl: imx: add MVF600 support to

Quoted 8 lines

imx pinctrl framework, do I need resend it as the first one. Thanks!

Quoted 2 lines

Since LinusW hasn't applied it, you should just resend.

Now it appears I applied 2/2 but not 1/2 due to comments.

Are they orthogonal or do I need to pull the applied patch out again?

[Lu Jingchang-B35083]
Please pull the applied patch out again, I will resend the patch to keep the patch's sequence. On the other hand I also have some minor update to the patch's description. Thanks!

#10 lore raw

PATCH v3 1/2 pinctrl: add MVF600 pinctrl driver

Quoted 6 lines · On Fri, May 24, 2013 at 11:25 AM, Lu Jingchang-B35083 <[email protected]>…
Quoted 4 lines

Now it appears I applied 2/2 but not 1/2 due to comments.

Are they orthogonal or do I need to pull the applied patch out again?

[Lu Jingchang-B35083]
Please pull the applied patch out again, I will resend the patch to keep the patch's sequence.

OK.

Yours,
Linus Walleij