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

pinctrl: baytrail: Add pinconf group for uart3

GPIO_S0_SC57 / GPIO_S0_SC61 can be muxed to PCU_UART_TXD / PCU_UART_RXD,
add a pinconf group for this.

On Bay Trail board schematics using these pins as UART these are
called UART3_TXD / UART3_RXD, name the pinconf group "uart3_grp"
to be consistent with the schematics.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Hans de Goede and committed by
Andy Shevchenko
5d10a157 fed6d9a8

+4 -2
+4 -2
drivers/pinctrl/intel/pinctrl-baytrail.c
··· 231 231 /* SCORE groups */ 232 232 static const unsigned int byt_score_uart1_pins[] = { 70, 71, 72, 73 }; 233 233 static const unsigned int byt_score_uart2_pins[] = { 74, 75, 76, 77 }; 234 + static const unsigned int byt_score_uart3_pins[] = { 57, 61 }; 234 235 235 236 static const unsigned int byt_score_pwm0_pins[] = { 94 }; 236 237 static const unsigned int byt_score_pwm1_pins[] = { 95 }; ··· 281 280 static const struct intel_pingroup byt_score_groups[] = { 282 281 PIN_GROUP_GPIO("uart1_grp", byt_score_uart1_pins, 1), 283 282 PIN_GROUP_GPIO("uart2_grp", byt_score_uart2_pins, 1), 283 + PIN_GROUP_GPIO("uart3_grp", byt_score_uart3_pins, 1), 284 284 PIN_GROUP_GPIO("pwm0_grp", byt_score_pwm0_pins, 1), 285 285 PIN_GROUP_GPIO("pwm1_grp", byt_score_pwm1_pins, 1), 286 286 PIN_GROUP_GPIO("ssp2_grp", byt_score_ssp2_pins, 1), ··· 310 308 }; 311 309 312 310 static const char * const byt_score_uart_groups[] = { 313 - "uart1_grp", "uart2_grp", 311 + "uart1_grp", "uart2_grp", "uart3_grp", 314 312 }; 315 313 static const char * const byt_score_pwm_groups[] = { 316 314 "pwm0_grp", "pwm1_grp", ··· 334 332 }; 335 333 static const char * const byt_score_smbus_groups[] = { "smbus_grp" }; 336 334 static const char * const byt_score_gpio_groups[] = { 337 - "uart1_grp_gpio", "uart2_grp_gpio", "pwm0_grp_gpio", 335 + "uart1_grp_gpio", "uart2_grp_gpio", "uart3_grp_gpio", "pwm0_grp_gpio", 338 336 "pwm1_grp_gpio", "ssp0_grp_gpio", "ssp1_grp_gpio", "ssp2_grp_gpio", 339 337 "sio_spi_grp_gpio", "i2c0_grp_gpio", "i2c1_grp_gpio", "i2c2_grp_gpio", 340 338 "i2c3_grp_gpio", "i2c4_grp_gpio", "i2c5_grp_gpio", "i2c6_grp_gpio",