All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: pinctrl-imx: add gpio support for mx7ulp
@ 2017-05-15  6:48 ` Dong Aisheng
  0 siblings, 0 replies; 32+ messages in thread
From: Dong Aisheng @ 2017-05-15  6:48 UTC (permalink / raw)
  To: linux-gpio
  Cc: linux-arm-kernel, linus.walleij, shawnguo, stefan, ping.bai,
	fugang.duan, kernel, Dong Aisheng

This patch series intends to add support for mx7ulp based on exist
code as imx7ulp pinctrl is slightly a bit different from Vybrid.

First, iMX ULP has different IOB/OBE shift from Vibrid, so we make
it as a SoC property.

Second, current code assumes MUX0 is GPIO function. It's true for Vybrid,
but not on ULP as Mux 1 is GPIO on ULP. So the patch corrects it
a bit based on the parsed imx_pin->mux_mode from device tree.

This patch series depends on the below one sent out a few days ago.
[PATCH 0/5] pinctrl: imx: add generic pin config and imx7ulp support
https://www.spinics.net/lists/arm-kernel/msg580737.html

Dong Aisheng (2):
  pinctrl: pinctrl-imx: add IBE and OBE SoC property
  pinctrl: pinctrl-imx: do not assume mux 0 is gpio

 drivers/pinctrl/freescale/pinctrl-imx.c     | 11 ++++++-----
 drivers/pinctrl/freescale/pinctrl-imx.h     |  2 ++
 drivers/pinctrl/freescale/pinctrl-imx7ulp.c |  2 ++
 drivers/pinctrl/freescale/pinctrl-vf610.c   |  2 ++
 4 files changed, 12 insertions(+), 5 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2017-05-24  8:59 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-15  6:48 [PATCH 0/2] pinctrl: pinctrl-imx: add gpio support for mx7ulp Dong Aisheng
2017-05-15  6:48 ` Dong Aisheng
2017-05-15  6:48 ` [PATCH 1/2] pinctrl: pinctrl-imx: add IBE and OBE SoC property Dong Aisheng
2017-05-15  6:48   ` Dong Aisheng
2017-05-15 17:10   ` Stefan Agner
2017-05-15 17:10     ` Stefan Agner
2017-05-17  6:13     ` A.S. Dong
2017-05-17  6:13       ` A.S. Dong
2017-05-23 12:06     ` A.S. Dong
2017-05-23 12:06       ` A.S. Dong
2017-05-23 19:16       ` Stefan Agner
2017-05-23 19:16         ` Stefan Agner
2017-05-24  5:48         ` A.S. Dong
2017-05-24  5:48           ` A.S. Dong
2017-05-24  8:59           ` Lothar Waßmann
2017-05-24  8:59             ` Lothar Waßmann
2017-05-15  6:48 ` [PATCH 2/2] pinctrl: pinctrl-imx: do not assume mux 0 is gpio Dong Aisheng
2017-05-15  6:48   ` Dong Aisheng
2017-05-15 17:27   ` Stefan Agner
2017-05-15 17:27     ` Stefan Agner
2017-05-17  7:18     ` A.S. Dong
2017-05-17  7:18       ` A.S. Dong
2017-05-17 18:16       ` Stefan Agner
2017-05-17 18:16         ` Stefan Agner
2017-05-18  7:00         ` A.S. Dong
2017-05-18  7:00           ` A.S. Dong
2017-05-23 10:23         ` A.S. Dong
2017-05-23 10:23           ` A.S. Dong
2017-05-23 19:55           ` Stefan Agner
2017-05-23 19:55             ` Stefan Agner
2017-05-24  5:40             ` A.S. Dong
2017-05-24  5:40               ` A.S. Dong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.