Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) # Platform support for Mellanox hardware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) menuconfig MELLANOX_PLATFORM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	bool "Platform support for Mellanox hardware"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	depends on X86 || ARM || ARM64 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	  Say Y here to get to see options for platform support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	  Mellanox systems. This option alone does not add any kernel code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	  If you say N, all options in this submenu will be skipped and disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) if MELLANOX_PLATFORM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) config MLXREG_HOTPLUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	tristate "Mellanox platform hotplug driver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	depends on REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	depends on HWMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	  This driver handles hot-plug events for the power suppliers, power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	  cables and fans on the wide range Mellanox IB and Ethernet systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config MLXREG_IO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	tristate "Mellanox platform register access driver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	depends on REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	depends on HWMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	  This driver allows access to Mellanox programmable device register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	  space through sysfs interface. The sets of registers for sysfs access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	  are defined per system type bases and include the registers related
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	  to system resets operation, system reset causes monitoring and some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	  kinds of mux selection.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) config MLXBF_TMFIFO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	tristate "Mellanox BlueField SoC TmFifo platform driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	depends on ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	depends on VIRTIO_CONSOLE && VIRTIO_NET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	  Say y here to enable TmFifo support. The TmFifo driver provides
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	  platform driver support for the TmFifo which supports console
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	  and networking based on the virtio framework.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) config MLXBF_BOOTCTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	tristate "Mellanox BlueField Firmware Boot Control driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 	depends on ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	depends on ACPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 	  The Mellanox BlueField firmware implements functionality to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	  request swapping the primary and alternate eMMC boot partition,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	  and to set up a watchdog that can undo that swap if the system
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	  does not boot up correctly. This driver provides sysfs access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 	  to the userspace tools, to be used in conjunction with the eMMC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 	  device driver to do necessary initial swap of the boot partition.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) endif # MELLANOX_PLATFORM