OpenCloudOS-Kernel/drivers/pinctrl/freescale
A.s. Dong 571610678b pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads
After patch b96eea718b ("pinctrl: fsl: add scu based pinctrl support"),
NO_PAD_CTL pads map are not skipped anymore which results in
a possible memory corruption. As we actually only need to create config
maps for SCU pads and MMIO pads which are not using the default config
(a.k.a IMX_NO_PAD_CTL), so let's add a proper check before creating
the config maps. And during MMIO pads parsing, we also need update the
list_p point as SCU case to ensure the pin data next parsed is correct.

Cc: Linus Walleij <linus.walleij@linaro.org>
Fixes: b96eea718b ("pinctrl: fsl: add scu based pinctrl support")
Reported-by: Martin Kaiser <martin@kaiser.cx>
Suggested-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Leonard Crestez <leonard.crestez@nxp.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-11-19 14:51:42 +01:00
..
Kconfig pinctrl: imx: add imx8qxp driver 2018-11-05 09:33:32 +01:00
Makefile pinctrl: imx: add imx8qxp driver 2018-11-05 09:33:32 +01:00
pinctrl-imx.c pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads 2018-11-19 14:51:42 +01:00
pinctrl-imx.h pinctrl: fsl: add scu based pinctrl support 2018-11-05 09:33:32 +01:00
pinctrl-imx1-core.c pinctrl: Convert to using %pOFn instead of device_node.name 2018-08-29 14:05:36 +02:00
pinctrl-imx1.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx1.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6dl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6q.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sl.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sll.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6sx.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx6ul.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7d.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx7ulp.c pinctrl: fsl: imx7ulp: change to use imx legacy binding 2018-11-09 10:54:29 +01:00
pinctrl-imx8mq.c pinctrl: imx: add driver for i.MX8MQ 2018-07-16 14:46:11 +02:00
pinctrl-imx8qxp.c pinctrl: imx: add imx8qxp driver 2018-11-05 09:33:32 +01:00
pinctrl-imx21.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx23.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx25.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx27.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx28.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx35.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx50.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx51.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-imx53.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-mxs.c pinctrl: mxs: do not export mxs_pinctrl_probe 2018-09-20 15:45:14 -07:00
pinctrl-mxs.h pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00
pinctrl-scu.c pinctrl: fsl: add scu based pinctrl support 2018-11-05 09:33:32 +01:00
pinctrl-vf610.c pinctrl: freescale: Switch to SPDX identifier 2018-05-24 09:32:58 +02:00