mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
35aa38540a
This backports patches dt-bindings: firmware: add cznic,turris-omnia-mcu binding platform: cznic: Add preliminary support for Turris Omnia MCU platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup platform: cznic: turris-omnia-mcu: Add support for MCU watchdog platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG ARM: dts: turris-omnia: Add MCU system-controller node ARM: dts: turris-omnia: Add GPIO key node for front button platform: cznic: turris-omnia-mcu: Depend on OF platform: cznic: turris-omnia-mcu: Depend on WATCHDOG platform: cznic: turris-omnia-mcu: fix Kconfig dependencies that will be released in 6.11 into mvebu/patches-6.6. Signed-off-by: Marek Behún <kabel@kernel.org> Link: https://github.com/openwrt/openwrt/pull/13799 Signed-off-by: Robert Marko <robimarko@gmail.com>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 08838657bbc35494276c7ba4ef53f30a9816f8c9 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
|
|
Date: Mon, 8 Jul 2024 13:40:01 +0200
|
|
Subject: [PATCH 09/11] platform: cznic: turris-omnia-mcu: Depend on OF
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add depend on OF, otherwise the compilation fails with
|
|
error: no member named 'of_gpio_n_cells' in 'struct gpio_chip'
|
|
error: no member named 'of_xlate' in 'struct gpio_chip'
|
|
|
|
Fixes: dfa556e45ae9 ("platform: cznic: turris-omnia-mcu: Add support for MCU connected GPIOs")
|
|
Reported-by: kernel test robot <lkp@intel.com>
|
|
Closes: https://lore.kernel.org/oe-kbuild-all/202407031646.trNSwajF-lkp@intel.com/
|
|
Signed-off-by: Marek Behún <kabel@kernel.org>
|
|
Link: https://lore.kernel.org/r/20240708114002.4285-2-kabel@kernel.org
|
|
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
|
---
|
|
drivers/platform/cznic/Kconfig | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/platform/cznic/Kconfig
|
|
+++ b/drivers/platform/cznic/Kconfig
|
|
@@ -16,6 +16,7 @@ config TURRIS_OMNIA_MCU
|
|
tristate "Turris Omnia MCU driver"
|
|
depends on MACH_ARMADA_38X || COMPILE_TEST
|
|
depends on I2C
|
|
+ depends on OF
|
|
select GPIOLIB
|
|
select GPIOLIB_IRQCHIP
|
|
select HW_RANDOM
|