]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio-exar/8250-exar: Make set of exported GPIOs configurable
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 22 May 2017 10:43:18 +0000 (12:43 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 3 Jul 2017 06:32:42 +0000 (08:32 +0200)
commit380b1e2f3a2f32bfe9c0aa85a68629eb99b043c0
tree98ba961d67ef9bcba4c5762bdf6c623a573f4614
parent277036f05be242540b7bfe75f226107d04f51b06
gpio-exar/8250-exar: Make set of exported GPIOs configurable

On the SIMATIC, IOT2040 only a single pin is exportable as GPIO, the
rest is required to operate the UART. To allow modeling this case,
expand the platform device data structure to specify a (consecutive) pin
subset for exporting by the gpio-exar driver.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/gpio/gpio-exar.c
drivers/tty/serial/8250/8250_exar.c