1992f1a3dSMarek Behún# SPDX-License-Identifier: GPL-2.0-only 2992f1a3dSMarek Behún# 3992f1a3dSMarek Behún# For a description of the syntax of this configuration file, 4992f1a3dSMarek Behún# see Documentation/kbuild/kconfig-language.rst. 5992f1a3dSMarek Behún# 6992f1a3dSMarek Behún 7992f1a3dSMarek Behúnmenuconfig CZNIC_PLATFORMS 8992f1a3dSMarek Behún bool "Platform support for CZ.NIC's Turris hardware" 9992f1a3dSMarek Behún help 10992f1a3dSMarek Behún Say Y here to be able to choose driver support for CZ.NIC's Turris 11992f1a3dSMarek Behún devices. This option alone does not add any kernel code. 12992f1a3dSMarek Behún 13992f1a3dSMarek Behúnif CZNIC_PLATFORMS 14992f1a3dSMarek Behún 15992f1a3dSMarek Behúnconfig TURRIS_OMNIA_MCU 16992f1a3dSMarek Behún tristate "Turris Omnia MCU driver" 17992f1a3dSMarek Behún depends on MACH_ARMADA_38X || COMPILE_TEST 18992f1a3dSMarek Behún depends on I2C 19*dfa556e4SMarek Behún select GPIOLIB 20*dfa556e4SMarek Behún select GPIOLIB_IRQCHIP 21992f1a3dSMarek Behún help 22992f1a3dSMarek Behún Say Y here to add support for the features implemented by the 23992f1a3dSMarek Behún microcontroller on the CZ.NIC's Turris Omnia SOHO router. 24*dfa556e4SMarek Behún The features include: 25*dfa556e4SMarek Behún - GPIO pins 26*dfa556e4SMarek Behún - to get front button press events (the front button can be 27*dfa556e4SMarek Behún configured either to generate press events to the CPU or to change 28*dfa556e4SMarek Behún front LEDs panel brightness) 29*dfa556e4SMarek Behún - to enable / disable USB port voltage regulators and to detect 30*dfa556e4SMarek Behún USB overcurrent 31*dfa556e4SMarek Behún - to detect MiniPCIe / mSATA card presence in MiniPCIe port 0 32*dfa556e4SMarek Behún - to configure resets of various peripherals on board revisions 32+ 33*dfa556e4SMarek Behún - to enable / disable the VHV voltage regulator to the SOC in order 34*dfa556e4SMarek Behún to be able to program SOC's OTP on board revisions 32+ 35*dfa556e4SMarek Behún - to get input from the LED output pins of the WAN ethernet PHY, LAN 36*dfa556e4SMarek Behún switch and MiniPCIe ports 37992f1a3dSMarek Behún To compile this driver as a module, choose M here; the module will be 38992f1a3dSMarek Behún called turris-omnia-mcu. 39992f1a3dSMarek Behún 40992f1a3dSMarek Behúnendif # CZNIC_PLATFORMS 41