]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7f7df00667df9cfa7b696d732c3f9f9049f2555f
treec59f1ed1d46669c6342c840ab025f42d8cbc8e76
parent858a5717539fabd27373ab483c9aad1766d16d42
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]