summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2024-12-02 13:28:01 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-12-14 19:00:44 +0300
commit83bed3c159f44bf2e205875feb8d932bbcf1b656 (patch)
tree12fb9fbc711d6d8d068efbc4c9361375c09623dd /scripts/lib/kdoc/kdoc_files.py
parentf40452577557caf0e5d0ff182da8479c3d492ac5 (diff)
downloadlinux-83bed3c159f44bf2e205875feb8d932bbcf1b656.tar.xz
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions