Searched hist:"9 e347728c4fe0f0661194243384ac9f61d7a5c73" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | pmbus.h | diff 9e347728c4fe0f0661194243384ac9f61d7a5c73 Thu Dec 12 11:14:34 CST 2019 Guenter Roeck <linux@roeck-us.net> hwmon: (pmbus) Detect if chip is write protected
If a chip is write protected, we can not change any limits, and we can not clear status flags. This may be the reason why clearing status flags is reported to not work for some chips. Detect the condition in the pmbus core. If the chip is write protected, set limit attributes as read-only, and set the flag indicating that the status flag should be ignored.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | pmbus.h | diff 9e347728c4fe0f0661194243384ac9f61d7a5c73 Thu Dec 12 11:14:34 CST 2019 Guenter Roeck <linux@roeck-us.net> hwmon: (pmbus) Detect if chip is write protected
If a chip is write protected, we can not change any limits, and we can not clear status flags. This may be the reason why clearing status flags is reported to not work for some chips. Detect the condition in the pmbus core. If the chip is write protected, set limit attributes as read-only, and set the flag indicating that the status flag should be ignored.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|
H A D | pmbus_core.c | diff 9e347728c4fe0f0661194243384ac9f61d7a5c73 Thu Dec 12 11:14:34 CST 2019 Guenter Roeck <linux@roeck-us.net> hwmon: (pmbus) Detect if chip is write protected
If a chip is write protected, we can not change any limits, and we can not clear status flags. This may be the reason why clearing status flags is reported to not work for some chips. Detect the condition in the pmbus core. If the chip is write protected, set limit attributes as read-only, and set the flag indicating that the status flag should be ignored.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|