drivers/hwmon/pmbus: Add support for raa229141 in isl68137
Subsystems (2)
PATCH v2 1/1 drivers/hwmon/pmbus: Add support for raa229141 in isl68137
The RAA229141A is a digital dual output multiphase (X+Y ≤ 12) PWM controller designed to be compliant with Intel VR13, VR13.HC, VR14 and VR14.Cloud specifications, targeting VCORE and auxiliary rails.
The RAA229141A supports the Intel SVID interface along with PMBus V1.3 specifications, making it ideal for controlling the microprocessor core and system rails in Intel VR13, VR13.HC, VR14 and VR14.Cloud platforms.
---
v1 -> v2:
- Modify subject and description for the requirements
- Remove CONFIG_SENSORS_RAA229141 in Kconfig
- Remove the part for multifunction pin in v1 patchset
- Rename function raa_dmpvr2_2rail_isys to raa_dmpvr2_2rail_pmbus
- Link to v1: https://lore.kernel.org/all/[email protected]/
--- Documentation/hwmon/isl68137.rst | 10 ++++++++++ drivers/hwmon/pmbus/isl68137.c | 14 ++++++++++++++ 2 files changed, 24 insertions(+)
Documentation/hwmon/isl68137.rst +10 -0
@@ -414,6 +414,16 @@ Supported chips: Publicly available (after August 2020 launch) at the Renesas website + * Renesas RAA229141 + + Prefix: 'raa229141' + + Addresses scanned: - + + Datasheet: + + Provided by Renesas upon request and NDA + Authors: - Maxim Sloyko <[email protected]> - Robert Lippert <[email protected]>
drivers/hwmon/pmbus/isl68137.c +14 -0
@@ -65,6 +65,7 @@ enum chips { raa228246, raa229001, raa229004, + raa229141, raa229621, };
@@ -73,6 +74,7 @@ enum variants { raa_dmpvr2_1rail, raa_dmpvr2_2rail, raa_dmpvr2_2rail_nontc, + raa_dmpvr2_2rail_pmbus, raa_dmpvr2_3rail, raa_dmpvr2_hv, };
@@ -399,6 +401,17 @@ static int isl68137_probe(struct i2c_client *client) info->read_word_data = raa_dmpvr2_read_word_data; info->write_word_data = raa_dmpvr2_write_word_data;break ; +case raa_dmpvr2_2rail_pmbus: + info->format[PSC_VOLTAGE_IN ] = linear, + info->format[PSC_VOLTAGE_OUT ] = linear, + info->format[PSC_CURRENT_IN ] = linear; + info->format[PSC_CURRENT_OUT ] = linear; + info->format[PSC_POWER ] = linear; + info->format[PSC_TEMPERATURE ] = linear; + info->pages =2 ; + info->read_word_data = raa_dmpvr2_read_word_data; + info->write_word_data = raa_dmpvr2_write_word_data; +break ;case raa_dmpvr2_3rail: info->read_word_data = raa_dmpvr2_read_word_data; info->write_word_data = raa_dmpvr2_write_word_data;
@@ -469,6 +482,7 @@ static const struct i2c_device_id raa_dmpvr_id[] = { {"raa228246", raa_dmpvr2_2rail_nontc}, {"raa229001", raa_dmpvr2_2rail}, {"raa229004", raa_dmpvr2_2rail}, + {"raa229141", raa_dmpvr2_2rail_pmbus}, {"raa229621", raa_dmpvr2_2rail}, {} };
Signature · 1 line
2.34.1
Guenter Roeck
maintainerQuoted 4 lines · Jeff Lin
The RAA229141A is a digital dual output multiphase (X+Y ≤ 12) PWM controller designed to be compliant with Intel VR13, VR13.HC, VR14 and VR14.Cloud specifications, targeting VCORE and auxiliary rails.
Quoted 8 lines
The RAA229141A supports the Intel SVID interface along with PMBus V1.3 specifications, making it ideal for controlling the microprocessor core and system rails in Intel VR13, VR13.HC, VR14 and VR14.Cloud platforms.
Signed-off-by Jeff Lin <[email protected]>---
v1 -> v2:
- Modify subject and description for the requirements
Subject should have been "hwmon/pmbus: (isl68137) Add support for raa229141"
On a side note, you were asked _not_ to resend unless asked to do so.
Never mind, I updated the subject and applied the patch.
Thanks,
Guenter