[PATCH 0/2] pinctrl: pinctrl-imx: add gpio support for mx7ulp

Dong Aisheng aisheng.dong at nxp.com
Sun May 14 23:48:24 PDT 2017


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




More information about the linux-arm-kernel mailing list