]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (pmbus/core) Report content of CAPABILITY register in debugfs
authorGuenter Roeck <linux@roeck-us.net>
Sat, 1 Feb 2025 14:42:29 +0000 (06:42 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Mar 2025 16:49:10 +0000 (08:49 -0800)
commitc90a00368d90b4ac46712b870debfff6ae50bb87
treedc69fe1d61a4484359aab6c0e35b78cba9f901a8
parent64fbb4c42ab910af6c06c37106f9e06ccde91e34
hwmon: (pmbus/core) Report content of CAPABILITY register in debugfs

Report the value of the CAPABILITY register in debugfs if supported.
Only check if the register is supported if PMBUS_NO_CAPABILITY
is not set.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c