summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/bus.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2016-07-27 16:32:20 +0200
committerJan Kiszka <jan.kiszka@siemens.com>2017-07-03 08:33:20 +0200
commit413058df4331ce29f9934a5870d582c7e71fe15f (patch)
treeb4bc235b0b231c14545ec84e1c9272636d0b847b /drivers/nvdimm/bus.c
parentgpio-exar/8250-exar: Make set of exported GPIOs configurable (diff)
downloadlinux-413058df4331ce29f9934a5870d582c7e71fe15f.tar.xz
linux-413058df4331ce29f9934a5870d582c7e71fe15f.zip
serial: exar: Add support for IOT2040 device
This implements the setup of RS232 and the switch-over to RS485 or RS422 for the Siemens IOT2040. That uses an EXAR XR17V352 with external logic to switch between the different modes. The external logic is controlled via MPIO pins of the EXAR controller. Only pin 10 can be exported as GPIO on the IOT2040. It is connected to an LED. As the XR17V352 used on the IOT2040 is not equipped with an external EEPROM, it cannot present itself as IOT2040-variant via subvendor/ subdevice IDs. Thus, we have to check via DMI for the target platform. Co-developed with Sascha Weisenberger. Signed-off-by: Sascha Weisenberger <sascha.weisenberger@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvdimm/bus.c')
0 files changed, 0 insertions, 0 deletions