[PATCH 7/7] pistachio: Add SC16IS7XX device driver
Hauke Mehrtens
hauke at hauke-m.de
Sat Aug 15 14:06:56 EDT 2020
This device is used to control extra UARTs and LEDs on the board.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/pistachio/config-5.4 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/target/linux/pistachio/config-5.4 b/target/linux/pistachio/config-5.4
index c4637c137275..d1e1acaead3c 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
--
2.20.1
More information about the openwrt-devel
mailing list