[openwrt/openwrt] pistachio: Add SC16IS7XX device driver

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 21 08:59:52 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3

commit 3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Aug 15 16:45:16 2020 +0200

    pistachio: Add SC16IS7XX device driver
    
    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 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



More information about the lede-commits mailing list