pinctrl: sh-pfc: emev2: Add missing pinmux functions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Jan 2019 12:04:52 +0000 (13:04 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 11 Feb 2019 13:10:46 +0000 (14:10 +0100)
The err_rst_reqb, ext_clki, lowpwr, and ref_clko pin groups are present,
but no pinmux functions refer to them, hence they can not be selected.

Fixes: 1e7d5d849cf4f0c5 ("sh-pfc: Add emev2 pinmux support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-emev2.c

index dc271c3243df5ebfbbe36b3823ccc0b686727b1f..310c6f3ee7ccda30003987b96f44fd7c01491cb9 100644 (file)
@@ -1260,6 +1260,14 @@ static const char * const dtv_groups[] = {
        "dtv_b",
 };
 
+static const char * const err_rst_reqb_groups[] = {
+       "err_rst_reqb",
+};
+
+static const char * const ext_clki_groups[] = {
+       "ext_clki",
+};
+
 static const char * const iic0_groups[] = {
        "iic0",
 };
@@ -1282,6 +1290,10 @@ static const char * const lcd_groups[] = {
        "yuv3",
 };
 
+static const char * const lowpwr_groups[] = {
+       "lowpwr",
+};
+
 static const char * const ntsc_groups[] = {
        "ntsc_clk",
        "ntsc_data",
@@ -1295,6 +1307,10 @@ static const char * const pwm1_groups[] = {
        "pwm1",
 };
 
+static const char * const ref_clko_groups[] = {
+       "ref_clko",
+};
+
 static const char * const sd_groups[] = {
        "sd_cki",
 };
@@ -1388,13 +1404,17 @@ static const struct sh_pfc_function pinmux_functions[] = {
        SH_PFC_FUNCTION(cam),
        SH_PFC_FUNCTION(cf),
        SH_PFC_FUNCTION(dtv),
+       SH_PFC_FUNCTION(err_rst_reqb),
+       SH_PFC_FUNCTION(ext_clki),
        SH_PFC_FUNCTION(iic0),
        SH_PFC_FUNCTION(iic1),
        SH_PFC_FUNCTION(jtag),
        SH_PFC_FUNCTION(lcd),
+       SH_PFC_FUNCTION(lowpwr),
        SH_PFC_FUNCTION(ntsc),
        SH_PFC_FUNCTION(pwm0),
        SH_PFC_FUNCTION(pwm1),
+       SH_PFC_FUNCTION(ref_clko),
        SH_PFC_FUNCTION(sd),
        SH_PFC_FUNCTION(sdi0),
        SH_PFC_FUNCTION(sdi1),