-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (pmbus) Driver for Delta power supplies Q54SJ108A2
The driver supports Q54SJ108A2 series modules of Delta. Standard attributes are in sysfs, and other attributes are in debugfs. Signed-off-by: xiao.ma <xiao.mx.ma@deltaww.com> Link: https://lore.kernel.org/r/20201202025900.1842-1-max701@126.com [groeck: Replaced spaces with tabs, dropped excessive spaces, fixed module prefix in documentation] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
- Loading branch information
xiao.ma
authored and
Guenter Roeck
committed
Dec 11, 2020
1 parent
7537862
commit d014538
Showing
5 changed files
with
487 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
.. SPDX-License-Identifier: GPL-2.0-or-later | ||
Kernel driver q54sj108a2 | ||
===================== | ||
|
||
Supported chips: | ||
|
||
* DELTA Q54SJ108A2NCAH, Q54SJ108A2NCDH, Q54SJ108A2NCPG, Q54SJ108A2NCPH | ||
|
||
Prefix: 'q54sj108a2' | ||
|
||
Addresses scanned: - | ||
|
||
Datasheet: https://filecenter.delta-china.com.cn/products/download/01/0102/datasheet/DS_Q54SJ108A2.pdf | ||
|
||
Authors: | ||
Xiao.ma <xiao.mx.ma@deltaww.com> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
This driver implements support for DELTA Q54SJ108A2NCAH, Q54SJ108A2NCDH, | ||
Q54SJ108A2NCPG, and Q54SJ108A2NCPH 1/4 Brick DC/DC Regulated Power Module | ||
with PMBus support. | ||
|
||
The driver is a client driver to the core PMBus driver. | ||
Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers. | ||
|
||
|
||
Usage Notes | ||
----------- | ||
|
||
This driver does not auto-detect devices. You will have to instantiate the | ||
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for | ||
details. | ||
|
||
|
||
Sysfs entries | ||
------------- | ||
|
||
===================== ===== ================================================== | ||
curr1_alarm RO Output current alarm | ||
curr1_input RO Output current | ||
curr1_label RO 'iout1' | ||
in1_alarm RO Input voltage alarm | ||
in1_input RO Input voltage | ||
in1_label RO 'vin' | ||
in2_alarm RO Output voltage alarm | ||
in2_input RO Output voltage | ||
in2_label RO 'vout1' | ||
temp1_alarm RO Temperature alarm | ||
temp1_input RO Chip temperature | ||
===================== ===== ================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.