]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commiteea528353cd0b9b004c5ef797a0b06fee2b667d1
treeac71731e9eb3eb40b1aedc46df05e335404b76f5
parentf3946a06f2793251a0738c27f80210f7e6475a9e
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