Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: meson-g12a: add GPIOC_7 pcie_clkreqn pinmux

Amlogic G12 exposes PCIe clock request signal on GPIOC_7 pinmux func 1

Add the relevant pinmux and pin groups

Signed-off-by: Da Xue <da@libre.computer>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/20250814181236.1956731-1-da@libre.computer
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Da Xue and committed by
Linus Walleij
ec205a92 9a96082f

+8
+8
drivers/pinctrl/meson/pinctrl-meson-g12a.c
··· 442 442 static const unsigned int tdm_c_dout2_z_pins[] = { GPIOZ_4 }; 443 443 static const unsigned int tdm_c_dout3_z_pins[] = { GPIOZ_5 }; 444 444 445 + static const unsigned int pcie_clkreqn_pins[] = { GPIOC_7 }; 446 + 445 447 static const struct meson_pmx_group meson_g12a_periphs_groups[] = { 446 448 GPIO_GROUP(GPIOZ_0), 447 449 GPIO_GROUP(GPIOZ_1), ··· 723 721 GROUP(pdm_din2_c, 4), 724 722 GROUP(pdm_din3_c, 4), 725 723 GROUP(pdm_dclk_c, 4), 724 + GROUP(pcie_clkreqn, 1), 726 725 727 726 /* bank GPIOH */ 728 727 GROUP(spi1_mosi, 3), ··· 1186 1183 "tdm_c_dout2_z", "tdm_c_dout3_z", 1187 1184 }; 1188 1185 1186 + static const char * const pcie_clkreqn_groups[] = { 1187 + "pcie_clkreqn" 1188 + }; 1189 + 1189 1190 static const char * const gpio_aobus_groups[] = { 1190 1191 "GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", "GPIOAO_4", 1191 1192 "GPIOAO_5", "GPIOAO_6", "GPIOAO_7", "GPIOAO_8", "GPIOAO_9", ··· 1316 1309 FUNCTION(tdm_a), 1317 1310 FUNCTION(tdm_b), 1318 1311 FUNCTION(tdm_c), 1312 + FUNCTION(pcie_clkreqn), 1319 1313 }; 1320 1314 1321 1315 static const struct meson_pmx_func meson_g12a_aobus_functions[] = {