forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/ntb/hw/idt/Kconfig
....@@ -1,12 +1,14 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config NTB_IDT
23 tristate "IDT PCIe-switch Non-Transparent Bridge support"
34 depends on PCI
5
+ select HWMON
46 help
5
- This driver supports NTB of cappable IDT PCIe-switches.
7
+ This driver supports NTB of capable IDT PCIe-switches.
68
79 Some of the pre-initializations must be made before IDT PCIe-switch
8
- exposes it NT-functions correctly. It should be done by either proper
9
- initialisation of EEPROM connected to master smbus of the switch or
10
+ exposes its NT-functions correctly. It should be done by either proper
11
+ initialization of EEPROM connected to master SMbus of the switch or
1012 by BIOS using slave-SMBus interface changing corresponding registers
1113 value. Evidently it must be done before PCI bus enumeration is
1214 finished in Linux kernel.
....@@ -23,9 +25,7 @@
2325 BAR settings of peer NT-functions, the BAR setups can't be done over
2426 kernel PCI fixups. That's why the alternative pre-initialization
2527 techniques like BIOS using SMBus interface or EEPROM should be
26
- utilized. Additionally if one needs to have temperature sensor
27
- information printed to system log, the corresponding registers must
28
- be initialized within BIOS/EEPROM as well.
28
+ utilized.
2929
3030 If unsure, say N.
3131