pinctrl: meson-axg: add support for getting pinmux status
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Jun 2019 09:04:54 +0000 (11:04 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 12 Jun 2019 09:50:02 +0000 (11:50 +0200)
commitb9308f2c05906b41dabb1941a384a70dbabdc40f
treeb18dc752f47a116764bece4137364588fabbde67
parent239228947703c670c92e7204dcd875b87f45b716
pinctrl: meson-axg: 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 AXG specific function to get
the current function from registers.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c