diff options
| author | Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> | 2026-09-13 22:56:54 +0300 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-09-15 10:49:07 +0200 |
| commit | 0cd4a7b3a4883970df3ae8814d9aabdecf65a81e (patch) | |
| tree | 9f2859ef893e9a4b58986cd052eefd2be41d0c9c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 20253c44c72785ad6d90d6fdc78c96e56a69f4b1 (diff) | |
| download | linux-next-0cd4a7b3a4883970df3ae8814d9aabdecf65a81e.tar.gz linux-next-0cd4a7b3a4883970df3ae8814d9aabdecf65a81e.zip | |
pinctrl: renesas: rzt2h: Add a helper for reading PFC
Introduce a rzt2h_pin_read_pfc() helper and replace the open-coded
implementation inside rzt2h_gpio_get_direction() to simplify the code.
While at it, use field_get() with PFC_PIN_MASK to avoid the manual shift
and mask.
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260913195654.3371385-6-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
