On Mon, Dec 02, 2024 at 11:28:01AM +0100, Jerome Brunet wrote: > 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@xxxxxxxxxxxx> > Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx> Applied. Thanks, Guenter