pinctrl: meson: add pinconf support
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 4 Jan 2019 14:44:34 +0000 (15:44 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 29 Jan 2019 10:19:15 +0000 (11:19 +0100)
commitc4c726c26bdc09a2c907e230fdf6c75adcc2b674
treeca4a219ea5f9de454affb89f2b8639693f3f33e1
parent0da90255083681a02b24528f80da9d4062ff634a
pinctrl: meson: add pinconf support

Adding pinconf support is necessary to enable boot from SPI
without breaking the eMMC. When booting from SPI, the ROM code
leave pull downs on the eMMC pad.

We need to set pinconf provided in DT to solve this

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: added missing comma in pinctrl-meson-axg-pmx.c]
drivers/pinctrl/meson/Kconfig
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
drivers/pinctrl/meson/pinctrl-meson-gx-pmx.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/meson/pinctrl-meson.h