forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/platform/mellanox/Kconfig
....@@ -5,8 +5,8 @@
55
66 menuconfig MELLANOX_PLATFORM
77 bool "Platform support for Mellanox hardware"
8
- depends on X86 || ARM || COMPILE_TEST
9
- ---help---
8
+ depends on X86 || ARM || ARM64 || COMPILE_TEST
9
+ help
1010 Say Y here to get to see options for platform support for
1111 Mellanox systems. This option alone does not add any kernel code.
1212
....@@ -19,7 +19,7 @@
1919 depends on REGMAP
2020 depends on HWMON
2121 depends on I2C
22
- ---help---
22
+ help
2323 This driver handles hot-plug events for the power suppliers, power
2424 cables and fans on the wide range Mellanox IB and Ethernet systems.
2525
....@@ -34,4 +34,26 @@
3434 to system resets operation, system reset causes monitoring and some
3535 kinds of mux selection.
3636
37
+config MLXBF_TMFIFO
38
+ tristate "Mellanox BlueField SoC TmFifo platform driver"
39
+ depends on ARM64
40
+ depends on ACPI
41
+ depends on VIRTIO_CONSOLE && VIRTIO_NET
42
+ help
43
+ Say y here to enable TmFifo support. The TmFifo driver provides
44
+ platform driver support for the TmFifo which supports console
45
+ and networking based on the virtio framework.
46
+
47
+config MLXBF_BOOTCTL
48
+ tristate "Mellanox BlueField Firmware Boot Control driver"
49
+ depends on ARM64
50
+ depends on ACPI
51
+ help
52
+ The Mellanox BlueField firmware implements functionality to
53
+ request swapping the primary and alternate eMMC boot partition,
54
+ and to set up a watchdog that can undo that swap if the system
55
+ does not boot up correctly. This driver provides sysfs access
56
+ to the userspace tools, to be used in conjunction with the eMMC
57
+ device driver to do necessary initial swap of the boot partition.
58
+
3759 endif # MELLANOX_PLATFORM