[PATCH v2 5/8] pwm: mediatek: Implement .get_state() callback
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Aug 4 01:49:57 PDT 2025
Il 25/07/25 17:45, Uwe Kleine-König ha scritto:
> The registers can be read out just fine on an MT8365. In the assumption
> that this works on all supported devices, a .get_state() callback can be
> implemented. This enables consumers to make use of pwm_get_state_hw() and
> improves the usefulness of /sys/kernel/debug/pwm.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list