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

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: meson-gxl: add missing i2c_d pinmux

Amlogic GXL has 4 I2C attached to gpio-periphs. I2C_D is on GPIOX_10/11.

Add the relevant func 3 pinmux per the datasheet for S805X/S905X/S905D.

Fixes: 0f15f500ff2c ("pinctrl: meson: Add GXL pinctrl definitions")
Signed-off-by: Da Xue <da@libre.computer>
Link: https://lore.kernel.org/20250821233335.1707559-1-da@libre.computer
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Da Xue and committed by
Linus Walleij
d8c2a9ed 89475173

+10
+10
drivers/pinctrl/meson/pinctrl-meson-gxl.c
··· 187 187 static const unsigned int i2c_sck_c_dv19_pins[] = { GPIODV_19 }; 188 188 static const unsigned int i2c_sda_c_dv18_pins[] = { GPIODV_18 }; 189 189 190 + static const unsigned int i2c_sck_d_pins[] = { GPIOX_11 }; 191 + static const unsigned int i2c_sda_d_pins[] = { GPIOX_10 }; 192 + 190 193 static const unsigned int eth_mdio_pins[] = { GPIOZ_0 }; 191 194 static const unsigned int eth_mdc_pins[] = { GPIOZ_1 }; 192 195 static const unsigned int eth_clk_rx_clk_pins[] = { GPIOZ_2 }; ··· 414 411 GPIO_GROUP(GPIO_TEST_N), 415 412 416 413 /* Bank X */ 414 + GROUP(i2c_sda_d, 5, 5), 415 + GROUP(i2c_sck_d, 5, 4), 417 416 GROUP(sdio_d0, 5, 31), 418 417 GROUP(sdio_d1, 5, 30), 419 418 GROUP(sdio_d2, 5, 29), ··· 656 651 "i2c_sck_c", "i2c_sda_c", "i2c_sda_c_dv18", "i2c_sck_c_dv19", 657 652 }; 658 653 654 + static const char * const i2c_d_groups[] = { 655 + "i2c_sck_d", "i2c_sda_d", 656 + }; 657 + 659 658 static const char * const eth_groups[] = { 660 659 "eth_mdio", "eth_mdc", "eth_clk_rx_clk", "eth_rx_dv", 661 660 "eth_rxd0", "eth_rxd1", "eth_rxd2", "eth_rxd3", ··· 786 777 FUNCTION(i2c_a), 787 778 FUNCTION(i2c_b), 788 779 FUNCTION(i2c_c), 780 + FUNCTION(i2c_d), 789 781 FUNCTION(eth), 790 782 FUNCTION(pwm_a), 791 783 FUNCTION(pwm_b),