diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-12-02 11:28:01 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-14 08:00:44 -0800 |
commit | 83bed3c159f44bf2e205875feb8d932bbcf1b656 (patch) | |
tree | 12fb9fbc711d6d8d068efbc4c9361375c09623dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f40452577557caf0e5d0ff182da8479c3d492ac5 (diff) |
hwmon: (pmbus/core) add wp module param
Add a module parameter to force the write protection mode of pmbus chips.
4 protections modes are provided to start with:
* 0: Remove the write protection
* 1: Disable all writes except to the WRITE_PROTECT, OPERATION,
PAGE, ON_OFF_CONFIG and VOUT_COMMAND commands
* 2: Disable all writes except to the WRITE_PROTECT, OPERATION and
PAGE commands
* 3: Disable all writes except to the WRITE_PROTECT command
Of course, if the parameter is not provided, the default write protection
status of the pmbus chips is left untouched.
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions