pinctrl: Add pinctrl driver for i.MX8
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:28 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
commit38b6686f05d4609334b5796bc352ec01d54c5eb4
treec59f1ed1d46669c6342c840ab025f42d8cbc8e76
parent8b2a31f13362521e65ccb4c7d73db467068e8e6a
pinctrl: Add pinctrl driver for i.MX8

Add pinctrl driver for i.MX8. The pads configuration is controlled
by SCU, so need to ask SCU to configure pads through scfw API.
Add pinctrl-scu to invoke sc_pad_set to configure pads.
Add a new flag IMX8_USE_SCU to differentiate i.MX8 from other platforms
which could directly configure pads from Acore side.
Add CONFIG_PINCTRL_IMX8 as the built gate.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
drivers/pinctrl/nxp/Kconfig
drivers/pinctrl/nxp/Makefile
drivers/pinctrl/nxp/pinctrl-imx.c
drivers/pinctrl/nxp/pinctrl-imx.h
drivers/pinctrl/nxp/pinctrl-imx8.c [new file with mode: 0644]
drivers/pinctrl/nxp/pinctrl-scu.c [new file with mode: 0644]