[OpenWrt-Devel] [PATCH 1/3] ath79: enable i2c-gpio and spi-gpio in generic subtarget
Daniel Golle
daniel at makrotopia.org
Sun Feb 2 11:40:33 EST 2020
For devices having LEDs or buttons connected via I2C or SPI connected
GPIO chips it is desireable to access these busses early during boot
in order to signal progress and failsafe-mode. Hence have support for
i2c-gpio and spi-gpio built-into the kernel on generic (ie. non-tiny)
systems.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
target/linux/ath79/generic/config-default | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default
index 2d8f7f20c2..8c3ed13fb5 100644
--- a/target/linux/ath79/generic/config-default
+++ b/target/linux/ath79/generic/config-default
@@ -1,6 +1,8 @@
CONFIG_AT803X_PHY=y
CONFIG_GPIO_WATCHDOG=y
CONFIG_GPIO_WATCHDOG_ARCH_INITCALL=y
+CONFIG_I2C=y
+CONFIG_I2C_GPIO=y
CONFIG_INTEL_XWAY_PHY=y
CONFIG_IP17XX_PHY=y
CONFIG_LEDS_RESET=y
@@ -18,5 +20,6 @@ CONFIG_RTL8366RB_PHY=y
CONFIG_RTL8366S_PHY=y
CONFIG_RTL8366_SMI=y
CONFIG_RTL8367_PHY=y
+CONFIG_SPI_GPIO=y
CONFIG_VITESSE_PHY=y
CONFIG_WATCHDOG_CORE=y
--
2.25.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list