summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-08-15 16:45:16 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-21 11:46:14 +0200
commit3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3 (patch)
tree3be34b0554c245478f2382e908ff39471bdc66c2 /target
parent0d81afe3dfc4901831765c358151751da9f7178e (diff)
downloadopenwrt-3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3.tar.gz
openwrt-3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3.tar.bz2
openwrt-3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3.zip
pistachio: Add SC16IS7XX device driver
This device is used to control extra UARTs and LEDs on the board. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/pistachio/config-5.46
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/pistachio/config-5.4 b/target/linux/pistachio/config-5.4
index c4637c1372..d1e1acaead 100644
--- a/target/linux/pistachio/config-5.4
+++ b/target/linux/pistachio/config-5.4
@@ -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