]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: tegra: Display pin function in pinconf-groups
authorThierry Reding <treding@nvidia.com>
Fri, 29 Sep 2023 12:21:01 +0000 (14:21 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Nov 2023 13:57:22 +0000 (14:57 +0100)
commitbf800ca415676085813ad53899264618a60db471
tree1fb05d7f5641d4ca2830c35edd749f96672132a5
parentb85ea95d086471afb4ad062012a4d73cd328fa86
pinctrl: tegra: Display pin function in pinconf-groups

The function that a pin is muxed to can be read from the top-level
pinctrl-maps debugfs file. However, this only reflects the values that
were specified in device tree, so they will only show deviations from
the hardware default setting. Display the current pinmux setting in the
per-controller pinconf-groups debugfs file along with the rest of the
per-pin configuration settings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20230929122101.466266-1-thierry.reding@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/tegra/pinctrl-tegra.c