mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
dc5abc2ff0
Add support for MPS step-down converter mp9941. This driver exposes telemetry and limit value readings and writtings. Signed-off-by: Noah Wang <noahwang.wang@outlook.com> Link: https://lore.kernel.org/r/SEYPR04MB648294005D55F70736B519F6FAC72@SEYPR04MB6482.apcprd04.prod.outlook.com [groeck: Include bitfield.h (for FIELD_PREP) and bits.h (for GENMASK)] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
93 lines
1.4 KiB
ReStructuredText
93 lines
1.4 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
Kernel driver mp9941
|
|
====================
|
|
|
|
Supported chips:
|
|
|
|
* MPS mp9941
|
|
|
|
Prefix: 'mp9941'
|
|
|
|
* Datasheet
|
|
https://scnbwymvp-my.sharepoint.com/:f:/g/personal/admin_scnbwy_com/Eth4kX1_J1hMsaASHiOYL4QBHU5a75r-tRfLKbHnJFdKLQ?e=vxj3DF
|
|
|
|
Author:
|
|
|
|
Noah Wang <noahwang.wang@outlook.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver implements support for Monolithic Power Systems, Inc. (MPS)
|
|
MP9941 digital step-down converter.
|
|
|
|
Device compliant with:
|
|
|
|
- PMBus rev 1.3 interface.
|
|
|
|
The driver exports the following attributes via the 'sysfs' files
|
|
for input voltage:
|
|
|
|
**in1_input**
|
|
|
|
**in1_label**
|
|
|
|
**in1_crit**
|
|
|
|
**in1_crit_alarm**
|
|
|
|
The driver provides the following attributes for output voltage:
|
|
|
|
**in2_input**
|
|
|
|
**in2_label**
|
|
|
|
**in2_lcrit**
|
|
|
|
**in2_lcrit_alarm**
|
|
|
|
**in2_rated_max**
|
|
|
|
**in2_rated_min**
|
|
|
|
The driver provides the following attributes for input current:
|
|
|
|
**curr1_input**
|
|
|
|
**curr1_label**
|
|
|
|
**curr1_max**
|
|
|
|
**curr1_max_alarm**
|
|
|
|
The driver provides the following attributes for output current:
|
|
|
|
**curr2_input**
|
|
|
|
**curr2_label**
|
|
|
|
The driver provides the following attributes for input power:
|
|
|
|
**power1_input**
|
|
|
|
**power1_label**
|
|
|
|
The driver provides the following attributes for output power:
|
|
|
|
**power2_input**
|
|
|
|
**power2_label**
|
|
|
|
The driver provides the following attributes for temperature:
|
|
|
|
**temp1_input**
|
|
|
|
**temp1_crit**
|
|
|
|
**temp1_crit_alarm**
|
|
|
|
**temp1_max**
|
|
|
|
**temp1_max_alarm**
|