sunxi: pinctrl: Implement get_pin_muxing function
authorSamuel Holland <samuel@sholland.org>
Tue, 17 Aug 2021 05:52:00 +0000 (00:52 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:01 +0000 (23:24 +0100)
commitd4b388244abfb7580a00967147fc5e45baf2f41f
treeac71731e9eb3eb40b1aedc46df05e335404b76f5
parent29babfd92b25883ce45f294b8eeacc04113389e7
sunxi: pinctrl: Implement get_pin_muxing function

The pinmux command uses this function to display pinmux status.

Since the driver cannot map pin numbers to a list of supported
functions, only functions which are common across all pins can be
reported by name.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c