pistachio: Add SC16IS7XX device driver
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Aug 2020 14:45:16 +0000 (16:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 21 Aug 2020 09:46:14 +0000 (11:46 +0200)
This device is used to control extra UARTs and LEDs on the board.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/pistachio/config-5.4

index c4637c1372755cb7c2bfe2d0377aca89c665d3c3..d1e1acaead3c37de3fbf89b25fc5fe300e2de7e7 100644 (file)
@@ -180,6 +180,7 @@ CONFIG_IRQ_FORCED_THREADING=y
 CONFIG_IRQ_MIPS_CPU=y
 CONFIG_IRQ_WORK=y
 CONFIG_JBD2=y
+CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_PWM=y
 CONFIG_LIBFDT=y
 CONFIG_LKDTM=y
@@ -295,6 +296,7 @@ CONFIG_RCU_NEED_SEGCBLIST=y
 CONFIG_RCU_STALL_COMMON=y
 CONFIG_REGMAP=y
 CONFIG_REGMAP_MMIO=y
+CONFIG_REGMAP_SPI=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_GPIO=y
@@ -310,6 +312,10 @@ CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_8250_DWLIB=y
 CONFIG_SERIAL_MCTRL_GPIO=y
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_SC16IS7XX=y
+CONFIG_SERIAL_SC16IS7XX_CORE=y
+# CONFIG_SERIAL_SC16IS7XX_I2C is not set
+CONFIG_SERIAL_SC16IS7XX_SPI=y
 CONFIG_SGL_ALLOC=y
 CONFIG_SG_POOL=y
 CONFIG_SMP=y