Skip to content

Commit b2f68ed

Browse files
l1kLinus Walleij
authored andcommitted
gpio: Add driver for Maxim MAX3191x industrial serializer
The driver was developed for and tested with the MAX31913 built into the Revolution Pi by KUNBUS, but should work with all members of the MAX3191x family: MAX31910: low power MAX31911: LED drivers MAX31912: LED drivers + 2nd voltage monitor + low power MAX31913: LED drivers + 2nd voltage monitor MAX31953: LED drivers + 2nd voltage monitor + isolation MAX31963: LED drivers + 2nd voltage monitor + isolation + buck regulator Cc: Mathias Duckeck <m.duckeck@kunbus.de> Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent c019c18 commit b2f68ed

3 files changed

Lines changed: 503 additions & 0 deletions

File tree

‎drivers/gpio/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,16 @@ config GPIO_74X164
12551255
shift registers. This driver can be used to provide access
12561256
to more gpio outputs.
12571257

1258+
config GPIO_MAX3191X
1259+
tristate "Maxim MAX3191x industrial serializer"
1260+
select CRC8
1261+
help
1262+
GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913,
1263+
MAX31953 and MAX31963 industrial serializer, a daisy-chainable
1264+
chip to make 8 digital 24V inputs available via SPI. Supports
1265+
CRC checksums to guard against electromagnetic interference,
1266+
as well as undervoltage and overtemperature detection.
1267+
12581268
config GPIO_MAX7301
12591269
tristate "Maxim MAX7301 GPIO expander"
12601270
select GPIO_MAX730X

‎drivers/gpio/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ obj-$(CONFIG_ARCH_LPC32XX) += gpio-lpc32xx.o
6969
obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o
7070
obj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o
7171
obj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o
72+
obj-$(CONFIG_GPIO_MAX3191X) += gpio-max3191x.o
7273
obj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o
7374
obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o
7475
obj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o

0 commit comments

Comments
 (0)