diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-04-04 12:48:42 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-04-14 08:03:16 +0200 |
commit | 461d68d43d69a3d96750448ea5c3e0a68fc8d4c6 (patch) | |
tree | dc3f9bfa936bfcd54dd033fcd807994fa0a1cc46 /drivers/pwm/pwm-stm32.c | |
parent | 7cfe1e208b86c7fd4b35a8a502a8b15604eec1e0 (diff) |
pwm: Add actual hardware state to pwm debugfs file
Traditionally /sys/kernel/debug/pwm only contained info from pwm->state.
Most of the time this data represents the last requested setting which
might differ considerably from the actually configured in hardware
setting.
Expand the information in the debugfs file with the actual values.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Trevor Gamblin <tgamblin@baylibre.com>
Link: https://lore.kernel.org/r/20250404104844.543479-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions