File tree Expand file tree Collapse file tree 6 files changed +728
-0
lines changed Expand file tree Collapse file tree 6 files changed +728
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ Hardware Monitoring Kernel Drivers
190
190
pmbus
191
191
powerz
192
192
powr1220
193
+ pt5161l
193
194
pxe1610
194
195
pwm-fan
195
196
q54sj108a2
Original file line number Diff line number Diff line change
1
+ .. SPDX-License-Identifier: GPL-2.0-or-later
2
+
3
+ Kernel driver pt5161l
4
+ =====================
5
+
6
+ Supported chips:
7
+
8
+ * Astera Labs PT5161L
9
+
10
+ Prefix: 'pt5161l'
11
+
12
+ Addresses scanned: I2C 0x20 - 0x27
13
+
14
+ Datasheet: Not publicly available.
15
+
16
+ Authors: Cosmo Chou <
[email protected] >
17
+
18
+ Description
19
+ -----------
20
+
21
+ This driver implements support for temperature monitoring of Astera Labs
22
+ PT5161L series PCIe retimer chips.
23
+
24
+ This driver implementation originates from the CSDK available at
25
+ https://github.com/facebook/openbmc/tree/helium/common/recipes-lib/retimer-v2.14
26
+ The communication protocol utilized is based on the I2C/SMBus standard.
27
+
28
+ Sysfs entries
29
+ ----------------
30
+
31
+ ================ ==============================================
32
+ temp1_input Measured temperature (in millidegrees Celsius)
33
+ ================ ==============================================
34
+
35
+ Debugfs entries
36
+ ----------------
37
+
38
+ ================ ===============================
39
+ fw_load_status Firmware load status
40
+ fw_ver Firmware version of the retimer
41
+ heartbeat_status Heartbeat status
42
+ ================ ===============================
Original file line number Diff line number Diff line change @@ -17698,6 +17698,13 @@ F: fs/pstore/
17698
17698
F: include/linux/pstore*
17699
17699
K: \b(pstore|ramoops)
17700
17700
17701
+ PT5161L HARDWARE MONITOR DRIVER
17702
+
17703
+
17704
+ S: Maintained
17705
+ F: Documentation/hwmon/pt5161l.rst
17706
+ F: drivers/hwmon/pt5161l.c
17707
+
17701
17708
PTP HARDWARE CLOCK SUPPORT
17702
17709
M: Richard Cochran <
[email protected] >
17703
17710
Original file line number Diff line number Diff line change @@ -1755,6 +1755,16 @@ source "drivers/hwmon/peci/Kconfig"
1755
1755
1756
1756
source "drivers/hwmon/pmbus/Kconfig"
1757
1757
1758
+ config SENSORS_PT5161L
1759
+ tristate "Astera Labs PT5161L PCIe retimer hardware monitoring"
1760
+ depends on I2C
1761
+ help
1762
+ If you say yes here you get support for temperature monitoring
1763
+ on the Astera Labs PT5161L PCIe retimer.
1764
+
1765
+ This driver can also be built as a module. If so, the module
1766
+ will be called pt5161l.
1767
+
1758
1768
config SENSORS_PWM_FAN
1759
1769
tristate "PWM fan"
1760
1770
depends on (PWM && OF) || COMPILE_TEST
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
184
184
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
185
185
obj-$(CONFIG_SENSORS_POWERZ) += powerz.o
186
186
obj-$(CONFIG_SENSORS_POWR1220) += powr1220.o
187
+ obj-$(CONFIG_SENSORS_PT5161L) += pt5161l.o
187
188
obj-$(CONFIG_SENSORS_PWM_FAN) += pwm-fan.o
188
189
obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON) += raspberrypi-hwmon.o
189
190
obj-$(CONFIG_SENSORS_SBTSI) += sbtsi_temp.o
You can’t perform that action at this time.
0 commit comments