From: Hauke Mehrtens Date: Sat, 15 Aug 2020 14:45:16 +0000 (+0200) Subject: pistachio: Add SC16IS7XX device driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f07a06b3b1c88d41ac08b48ba83daeb9b1b65a3;p=openwrt%2Fstaging%2Fblocktrron.git pistachio: Add SC16IS7XX device driver This device is used to control extra UARTs and LEDs on the board. Signed-off-by: Hauke Mehrtens --- 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