diff options
author | Serge Semin <fancer.lancer@gmail.com> | 2018-07-17 12:24:35 +0300 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2018-11-01 10:33:12 -0400 |
commit | aed1b7b31154bdd6f2fccca0ab5cf8a6fe2f52eb (patch) | |
tree | 644bbecd708736af2ae378cbe1fe11d7e5389583 /drivers/ntb/hw/idt/Kconfig | |
parent | 40070408f54e76896d75ddccaabdd0c0714600f1 (diff) | |
download | linux-aed1b7b31154bdd6f2fccca0ab5cf8a6fe2f52eb.tar.bz2 |
ntb: idt: Add basic hwmon sysfs interface
IDT PCIe switches provide an embedded temperature sensor working
within [0; 127.5]C with resolution of 0.5C. They also can generate
a PCIe upstream interrupt in case if the temperature passes through
specified thresholds. Since this thresholds interface is very broken
the created hwmon-sysfs interface exposes only the next set of hwmon
nodes: current input temperature, lowest and highest values measured,
history resetting, value offset. HWmon alarm interface isn't provided.
IDT PCIe switch also've got an ADC/filter settings of the sensor.
This driver doesn't expose them to the hwmon-sysfs interface at the
moment, except the offset node.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/hw/idt/Kconfig')
-rw-r--r-- | drivers/ntb/hw/idt/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ntb/hw/idt/Kconfig b/drivers/ntb/hw/idt/Kconfig index b360e5613b9f..2ed147368fa8 100644 --- a/drivers/ntb/hw/idt/Kconfig +++ b/drivers/ntb/hw/idt/Kconfig @@ -1,6 +1,7 @@ config NTB_IDT tristate "IDT PCIe-switch Non-Transparent Bridge support" depends on PCI + select HWMON help This driver supports NTB of cappable IDT PCIe-switches. |