Kconfig (41bb142a4028949a0c8c505f7f4963067b0a739f) Kconfig (5423a01df8c5cdce58138fae4eef64b4ca5ff9e5)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.rst.
5#
6
7menuconfig CZNIC_PLATFORMS
8 bool "Platform support for CZ.NIC's Turris hardware"
9 help
10 Say Y here to be able to choose driver support for CZ.NIC's Turris
11 devices. This option alone does not add any kernel code.
12
13if CZNIC_PLATFORMS
14
15config TURRIS_OMNIA_MCU
16 tristate "Turris Omnia MCU driver"
17 depends on MACH_ARMADA_38X || COMPILE_TEST
18 depends on I2C
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.rst.
5#
6
7menuconfig CZNIC_PLATFORMS
8 bool "Platform support for CZ.NIC's Turris hardware"
9 help
10 Say Y here to be able to choose driver support for CZ.NIC's Turris
11 devices. This option alone does not add any kernel code.
12
13if CZNIC_PLATFORMS
14
15config TURRIS_OMNIA_MCU
16 tristate "Turris Omnia MCU driver"
17 depends on MACH_ARMADA_38X || COMPILE_TEST
18 depends on I2C
19 depends on OF
19 select GPIOLIB
20 select GPIOLIB_IRQCHIP
21 select HW_RANDOM
22 select RTC_CLASS
23 select WATCHDOG_CORE
24 help
25 Say Y here to add support for the features implemented by the
26 microcontroller on the CZ.NIC's Turris Omnia SOHO router.

--- 22 unchanged lines hidden ---
20 select GPIOLIB
21 select GPIOLIB_IRQCHIP
22 select HW_RANDOM
23 select RTC_CLASS
24 select WATCHDOG_CORE
25 help
26 Say Y here to add support for the features implemented by the
27 microcontroller on the CZ.NIC's Turris Omnia SOHO router.

--- 22 unchanged lines hidden ---