]> git.ipfire.org Git - thirdparty/u-boot.git/commit
pinctrl: meson-gx: add support for getting pinmux status
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Jun 2019 09:04:53 +0000 (11:04 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 12 Jun 2019 09:50:02 +0000 (11:50 +0200)
commit239228947703c670c92e7204dcd875b87f45b716
treecf2be60bdb6378add1ccce866a912e9c0653d405
parent88fa32b8493c81f2ba19a453e4c44346017c0e83
pinctrl: meson-gx: add support for getting pinmux status

In order to support the "pinmux status" command, use the common functions
to get the pins count and names, and add the GX specific function to get
the current function from registers.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Maxime Jourdan <mjourdan@baylibre.com>
drivers/pinctrl/meson/pinctrl-meson-gx-pmx.c