Skip to contentSkip to conversation

Add support for LT7170 and LT7171 Regulator

PATCH Applied Kim Seer Paller 3 participants 8 messages Mar 17, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Add support for LT7170 and LT7171 Regulator

The LT7170 and LT7171 are 20 A, 16 V, Single- or Dual-Phase, Silent Switcher Step-Down Regulators with Digital Power System Management. The I2C-based PMBus serial interface enables control of device functions while providing telemetry information for system monitoring.

---
Kim Seer Paller (3):
hwmon: (pmbus/ltc7841) add support for LT717x - docs
dt-bindings: hwmon: ltc2978: add support for LT717x
hwmon: (pmbus/ltc2978) add support for lt717x

 .../devicetree/bindings/hwmon/lltc,ltc2978.yaml    |  3 ++
 Documentation/hwmon/ltc2978.rst                    | 28 ++++++++++++--
 drivers/hwmon/pmbus/Kconfig                        |  6 +--
 drivers/hwmon/pmbus/ltc2978.c                      | 44 ++++++++++++++++++++--
 4 files changed, 72 insertions(+), 9 deletions(-)

---
base-commit: dbcfcb239b3b452ef8782842c36fb17dd1b9092f
change-id: 20250317-hwmon-next-5a4e2aae005d

Best regards,

Signature · 1 line
Kim Seer Paller <[email protected]>
#1 lore raw

PATCH 1/3 hwmon: (pmbus/ltc7841) add support for LT717x - docs

Add LT7170 and LT7171 to compatible devices of LTC2978.

---
 Documentation/hwmon/ltc2978.rst | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)
Documentation/hwmon/ltc2978.rst +25 -3
index feae53eb9fbf5cff8f7a484c163acad011315d8d..0b72d566cac709aeafe53d08680ad65221bfa33f 100644
@@ -5,6 +5,22 @@ Kernel driver ltc2978
 
 Supported chips:
 
+  * Analog Devices LT7170
+
+    Prefix: 'lt7170'
+
+    Addresses scanned: -
+
+    Datasheet: https://www.analog.com/en/products/lt7170.html
+
+  * Analog Devices LT7171
+
+    Prefix: 'lt7171'
+
+    Addresses scanned: -
+
+    Datasheet: https://www.analog.com/en/products/lt7171.html
+
   * Linear Technology LTC2972
 
     Prefix: 'ltc2972'
@@ -223,6 +239,8 @@ Author: Guenter Roeck <[email protected]>
 Description
 -----------
 
+- LT7170 and LT7171 are 20 A, 16 V, single- or dual-phase Silent Switcher
+- step-down regulators with Digital Power System Management.
 - LTC2974 and LTC2975 are quad digital power supply managers.
 - LTC2978 is an octal power supply monitor.
 - LTC2977 is a pin compatible replacement for LTC2978.
@@ -300,6 +318,7 @@ in1_reset_history	Reset input voltage history.
 
 in[N]_label		"vout[1-8]".
 
+			- LT7170, LT7171: N=2
 			- LTC2972: N=2-3
 			- LTC2974, LTC2975: N=2-5
 			- LTC2977, LTC2979, LTC2980, LTM2987: N=2-9
@@ -338,6 +357,8 @@ in[N]_reset_history	Reset output voltage history.
 
 temp[N]_input		Measured temperature.
 
+			- On LT7170 and LT7171, temp1 reports the chip
+			  temperature.
 			- On LTC2972, temp[1-2] report external temperatures,
 			  and temp 3 reports the chip temperature.
 			- On LTC2974 and LTC2975, temp[1-4] report external
@@ -411,9 +432,9 @@ power[N]_input		Measured output power.
 
 curr1_label		"iin".
 
-			LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889,
-			LTM4644, LTM4675, LTM4676, LTM4677, LTM4678, LTM4680,
-			and LTM4700 only.
+			LT7170, LT7171, LTC3880, LTC3883, LTC3884, LTC3886,
+			LTC3887, LTC3889, LTM4644, LTM4675, LTM4676, LTM4677,
+			LTM4678, LTM4680, and LTM4700 only.
 
 curr1_input		Measured input current.
 
@@ -431,6 +452,7 @@ curr1_reset_history	Reset input current history.
 
 curr[N]_label		"iout[1-4]".
 
+			- LT7170, LT7171: N=1
 			- LTC2972: N-1-2
 			- LTC2974, LTC2975: N=1-4
 			- LTC2977, LTC2979, LTC2980, LTM2987: not supported
Signature · 1 line
2.34.1
#3 lore raw

PATCH 2/3 dt-bindings: hwmon: ltc2978: add support for LT717x

In reply to Kim Seer Paller

Add LTC7170 and LT7171 to supported devices of LTC2978. It has similar set of registers to LTC3887, differing only in number of channels and some PMBUS status and functionalities.

---
 Documentation/devicetree/bindings/hwmon/lltc,ltc2978.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/hwmon/lltc,ltc2978.yaml +3 -0
index eeb6a4fe80b265ee364188f7b507425cbf34a48e..aa801ef1640b177ee55181c724b024b4857e0252 100644
@@ -12,6 +12,8 @@ maintainers:
 properties:
   compatible:
     enum:
+      - lltc,lt7170
+      - lltc,lt7171
       - lltc,ltc2972
       - lltc,ltc2974
       - lltc,ltc2975
@@ -47,6 +49,7 @@ properties:
     description: |
       list of regulators provided by this controller.
       Valid names of regulators depend on number of supplies supported per device:
+      * lt7170, lt7171 : vout0
       * ltc2972 vout0 - vout1
       * ltc2974, ltc2975 : vout0 - vout3
       * ltc2977, ltc2979, ltc2980, ltm2987 : vout0 - vout7
Signature · 1 line
2.34.1
Reviewed-by on v1 2/3
#4 lore raw

Re: [PATCH 2/3] dt-bindings: hwmon: ltc2978: add support for LT717x

Quoted 10 lines · Kim Seer Paller

Add LTC7170 and LT7171 to supported devices of LTC2978. It has similar set of registers to LTC3887, differing only in number of channels and some PMBUS status and functionalities.

---
 Documentation/devicetree/bindings/hwmon/lltc,ltc2978.yaml | 3 +++
 1 file changed, 3 insertions(+)

Best regards,
Krzysztof

maintainer Applied
#5 lore raw

Re: [PATCH 2/3] dt-bindings: hwmon: ltc2978: add support for LT717x

In reply to Kim Seer Paller
Quoted 8 lines · Kim Seer Paller

Add LTC7170 and LT7171 to supported devices of LTC2978. It has similar set of registers to LTC3887, differing only in number of channels and some PMBUS status and functionalities.

Applied.

Thanks,
Guenter

#6 lore raw

PATCH 3/3 hwmon: (pmbus/ltc2978) add support for lt717x

In reply to Kim Seer Paller

Add support for LT7170 and LT7171. The LT7170 and LT7171 are 20 A, 16 V, Single- or Dual-Phase, Silent Switcher Step-Down Regulators with Digital Power System Management.

The relevant registers in the LT7170 and LT7171 are similar to those in the LTC3887, but with fewer channels. This adds the chip ID and identification of ASCII to differentiate between the LT7170 and LT7171. These devices support polling for status updates and clearing peak values. The data format for voltage, current, and temperature is set to IEEE754 for precision and compatibility.

---
 drivers/hwmon/pmbus/Kconfig   |  6 +++---
 drivers/hwmon/pmbus/ltc2978.c | 44 ++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 6 deletions(-)
drivers/hwmon/pmbus/Kconfig +3 -3
index 675b0d4703d87c9d5654489d0d770661ff0dba11..6ce68dd333690c407311e256db3f3284bbb48861 100644
@@ -233,9 +233,9 @@ config SENSORS_LTC2978_REGULATOR
 	depends on SENSORS_LTC2978 && REGULATOR
 	help
 	  If you say yes here you get regulator support for Linear Technology
-	  LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889, LTC7841,
-	  LTC7880, LTM4644, LTM4673, LTM4675, LTM4676, LTM4677, LTM4678,
-	  LTM4680, LTM4686, and LTM4700.
+	  LT7170, LT7171, LTC3880, LTC3883, LTC3884, LTC3886, LTC3887, LTC3889,
+	  LTC7841, LTC7880, LTM4644, LTM4673, LTM4675, LTM4676, LTM4677,
+	  LTM4678, LTM4680, LTM4686, and LTM4700.
 
 config SENSORS_LTC3815
 	tristate "Linear Technologies LTC3815"
drivers/hwmon/pmbus/ltc2978.c +41 -3

86 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Applied
#7 lore raw

Re: [PATCH 3/3] hwmon: (pmbus/ltc2978) add support for lt717x

Quoted 11 lines · Kim Seer Paller

Add support for LT7170 and LT7171. The LT7170 and LT7171 are 20 A, 16 V, Single- or Dual-Phase, Silent Switcher Step-Down Regulators with Digital Power System Management.

The relevant registers in the LT7170 and LT7171 are similar to those in the LTC3887, but with fewer channels. This adds the chip ID and identification of ASCII to differentiate between the LT7170 and LT7171. These devices support polling for status updates and clearing peak values. The data format for voltage, current, and temperature is set to IEEE754 for precision and compatibility.

Quoted 3 lines

Applied.

Thanks,
Guenter