summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/meson
diff options
context:
space:
mode:
authorGuillaume La Roque <glaroque@baylibre.com>2019-05-14 04:26:52 -0400
committerLinus Walleij <linus.walleij@linaro.org>2019-05-23 03:24:46 -0400
commit2484ae57c26a9ad04c71bd82e5349ef35f186219 (patch)
tree4c9acfb4584771f9e5ec8e61e459997d003dab49 /drivers/pinctrl/meson
parent6ea3e3bbef3705225bb675a8c57af58420c23f81 (diff)
pinctrl: meson: g12a: add DS bank value
add drive-strength bank regiter and bit value for G12A SoC Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/meson')
-rw-r--r--drivers/pinctrl/meson/pinctrl-meson-g12a.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl/meson/pinctrl-meson-g12a.c
index d494492e98e9..3475cd7bd2af 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-g12a.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-g12a.c
@@ -1304,28 +1304,28 @@ static struct meson_pmx_func meson_g12a_aobus_functions[] = {
1304}; 1304};
1305 1305
1306static struct meson_bank meson_g12a_periphs_banks[] = { 1306static struct meson_bank meson_g12a_periphs_banks[] = {
1307 /* name first last irq pullen pull dir out in */ 1307 /* name first last irq pullen pull dir out in ds */
1308 BANK("Z", GPIOZ_0, GPIOZ_15, 12, 27, 1308 BANK_DS("Z", GPIOZ_0, GPIOZ_15, 12, 27,
1309 4, 0, 4, 0, 12, 0, 13, 0, 14, 0), 1309 4, 0, 4, 0, 12, 0, 13, 0, 14, 0, 5, 0),
1310 BANK("H", GPIOH_0, GPIOH_8, 28, 36, 1310 BANK_DS("H", GPIOH_0, GPIOH_8, 28, 36,
1311 3, 0, 3, 0, 9, 0, 10, 0, 11, 0), 1311 3, 0, 3, 0, 9, 0, 10, 0, 11, 0, 4, 0),
1312 BANK("BOOT", BOOT_0, BOOT_15, 37, 52, 1312 BANK_DS("BOOT", BOOT_0, BOOT_15, 37, 52,
1313 0, 0, 0, 0, 0, 0, 1, 0, 2, 0), 1313 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0),
1314 BANK("C", GPIOC_0, GPIOC_7, 53, 60, 1314 BANK_DS("C", GPIOC_0, GPIOC_7, 53, 60,
1315 1, 0, 1, 0, 3, 0, 4, 0, 5, 0), 1315 1, 0, 1, 0, 3, 0, 4, 0, 5, 0, 1, 0),
1316 BANK("A", GPIOA_0, GPIOA_15, 61, 76, 1316 BANK_DS("A", GPIOA_0, GPIOA_15, 61, 76,
1317 5, 0, 5, 0, 16, 0, 17, 0, 18, 0), 1317 5, 0, 5, 0, 16, 0, 17, 0, 18, 0, 6, 0),
1318 BANK("X", GPIOX_0, GPIOX_19, 77, 96, 1318 BANK_DS("X", GPIOX_0, GPIOX_19, 77, 96,
1319 2, 0, 2, 0, 6, 0, 7, 0, 8, 0), 1319 2, 0, 2, 0, 6, 0, 7, 0, 8, 0, 2, 0),
1320}; 1320};
1321 1321
1322static struct meson_bank meson_g12a_aobus_banks[] = { 1322static struct meson_bank meson_g12a_aobus_banks[] = {
1323 /* name first last irq pullen pull dir out in */ 1323 /* name first last irq pullen pull dir out in ds */
1324 BANK("AO", GPIOAO_0, GPIOAO_11, 0, 11, 1324 BANK_DS("AO", GPIOAO_0, GPIOAO_11, 0, 11, 3, 0, 2, 0, 0, 0, 4, 0, 1, 0,
1325 3, 0, 2, 0, 0, 0, 4, 0, 1, 0), 1325 0, 0),
1326 /* GPIOE actually located in the AO bank */ 1326 /* GPIOE actually located in the AO bank */
1327 BANK("E", GPIOE_0, GPIOE_2, 97, 99, 1327 BANK_DS("E", GPIOE_0, GPIOE_2, 97, 99, 3, 16, 2, 16, 0, 16, 4, 16, 1,
1328 3, 16, 2, 16, 0, 16, 4, 16, 1, 16), 1328 16, 1, 0),
1329}; 1329};
1330 1330
1331static struct meson_pmx_bank meson_g12a_periphs_pmx_banks[] = { 1331static struct meson_pmx_bank meson_g12a_periphs_pmx_banks[] = {