diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-05-20 22:13:20 -0700 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-07-10 21:04:18 +0200 |
| commit | c5b962b6023d3299cc9988e32288d5f2aeb206f1 (patch) | |
| tree | 760a8eff08ea4d3a31cd44a1bb811ca4fa771734 /tools/perf/scripts/python/flamegraph.py | |
| parent | 6905cdac0e51b067f0060b052724d696b4087f8a (diff) | |
pinctrl: renesas: gpio: support software nodes for function GPIOs
This patch extends the sh-pfc GPIO driver to support software-node-based
configuration for the secondary 'function' GPIO chip.
While the primary GPIO chip typically uses the firmware node attached to
the parent platform device, the secondary chip should target a specific
child node to avoid ambiguity when defining GPIO hogs or properties.
Update gpio_function_setup() to look for a child node named 'functions',
but only when the parent is a software node. This ensures the behavior
is restricted to legacy platforms being migrated to software nodes.
Assisted-by: Gemini:gemini-3.1-pro
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
