# SPDX-License-Identifier: GPL-2.0
menu "Hobot Drivers"

source "../hobot-drivers/mmc/Kconfig"
source "../hobot-drivers/ufs/Kconfig"
source "../hobot-drivers/alog/Kconfig"
source "../hobot-drivers/mailbox/Kconfig"
source "../hobot-drivers/scmi/Kconfig"
source "../hobot-drivers/vspiflash/Kconfig"
source "../hobot-drivers/ethernet/Kconfig"
source "../hobot-drivers/ion/Kconfig"
source "../hobot-drivers/smmu/Kconfig"
source "../hobot-drivers/dma/Kconfig"
source "../hobot-drivers/sound/Kconfig"
source "../hobot-drivers/pinctrl/Kconfig"
source "../hobot-drivers/camsys/Kconfig"
source "../hobot-drivers/videosys/Kconfig"
source "../hobot-drivers/mailbox/ipc/Kconfig"
source "../hobot-drivers/mailbox/ipcfhal/Kconfig"
source "../hobot-drivers/mailbox/mbox/Kconfig"
source "../hobot-drivers/hwspinlock/Kconfig"
source "../hobot-drivers/rpmsg/Kconfig"
source "../hobot-drivers/pcie/Kconfig"
source "../hobot-drivers/bpu/Kconfig"
source "../hobot-drivers/ide/Kconfig"
source "../hobot-drivers/vdsp/Kconfig"
source "../hobot-drivers/remoteproc/Kconfig"
source "../hobot-drivers/spi/Kconfig"
source "../hobot-drivers/apbtimer/Kconfig"
source "../hobot-drivers/regmap/Kconfig"
source "../hobot-drivers/syscon/Kconfig"
source "../hobot-drivers/qos/Kconfig"
source "../hobot-drivers/reboot_reason/Kconfig"
source "../hobot-drivers/pwr_mgmt/Kconfig"
source "../hobot-drivers/devfreq/Kconfig"
source "../hobot-drivers/rtc/Kconfig"
source "../hobot-drivers/pps/Kconfig"
source "../hobot-drivers/global_time/Kconfig"
source "../hobot-drivers/gpu/Kconfig"
source "../hobot-drivers/interrupt/Kconfig"
source "../hobot-drivers/serial/Kconfig"
source "../hobot-drivers/i2c/Kconfig"
source "../hobot-drivers/usb/Kconfig"
source "../hobot-drivers/bl31_log/Kconfig"
source "../hobot-drivers/last_log/Kconfig"
source "../hobot-drivers/ddr_version/Kconfig"
source "../hobot-drivers/sdei_backtrace/Kconfig"
source "../hobot-drivers/ddr_monitor/Kconfig"
source "../hobot-drivers/watchdog/Kconfig"
source "../hobot-drivers/boardinfo/Kconfig"
source "../hobot-drivers/security/Kconfig"
source "../hobot-drivers/minidump/Kconfig"
source "../hobot-drivers/perf_monitor/Kconfig"
source "../hobot-drivers/mcu_ramdump/Kconfig"
source "../hobot-drivers/pwm/Kconfig"
source "../hobot-drivers/pvt/Kconfig"
source "../hobot-drivers/eth_phy/rtl8261/Kconfig"
source "../hobot-drivers/cpufreq/Kconfig"

menuconfig HOBOT_LANTIN_HYPERVISOR_DRIVER
    bool "Enable Lanitn Driver"
    default n
       help
        Enable guest driver for lantin hypervisor.

if HOBOT_LANTIN_HYPERVISOR_DRIVER

config HOBOT_LANTIN_EARLY_CONSOLE
    tristate "Lantin Early Console Support"
    default n
    help
      Enables early console support for LantinBoot.
      You can configure it using "earlycon=lantinboot" in the kernel command line.
      Additionally, this option allows the printk buffer address to be passed to
      the Virtual Machine Monitor (VMM). In case of a VM panic, the VMM can retrieve
      the printk buffer contents, improving debugging efficiency.

config HOBOT_LANTIN_LOG
    tristate "Lantin Log Support"
    default n
    help
      Provides logging support for Lantin. Logs recorded by NativeService can be accessed via shared memory.

config HOBOT_LANTIN_VPTP
    tristate "Lantin VPTP Support"
    default n
    help
      This driver adds support for using Lantin infrastructure as a PTP
      clock. This clock is only useful if you are using Lantin guests.

config HOBOT_LANTIN_PROFILING
    tristate "Lantin Profiling Support"
    default n
    help
      Enables profiling support for Lantin. This option allows performance data collection, helping in
      analyzing system behavior and optimizing performance.

endif

endmenu
