aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-01-24 07:04:52 -0500
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-02-11 08:10:46 -0500
commit1ecd8c9cb899ae277e6986ae134635cb1a50f5de (patch)
treed7d9f196c18409c8e81fe3a885e133d178382c1a
parentfdbbd6b74c9278f65302af113e73cf61d36d3037 (diff)
pinctrl: sh-pfc: emev2: Add missing pinmux functions
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>
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-emev2.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-emev2.c b/drivers/pinctrl/sh-pfc/pfc-emev2.c
index dc271c3243df..310c6f3ee7cc 100644
--- a/drivers/pinctrl/sh-pfc/pfc-emev2.c
+++ b/drivers/pinctrl/sh-pfc/pfc-emev2.c
@@ -1260,6 +1260,14 @@ static const char * const dtv_groups[] = {
1260 "dtv_b", 1260 "dtv_b",
1261}; 1261};
1262 1262
1263static const char * const err_rst_reqb_groups[] = {
1264 "err_rst_reqb",
1265};
1266
1267static const char * const ext_clki_groups[] = {
1268 "ext_clki",
1269};
1270
1263static const char * const iic0_groups[] = { 1271static const char * const iic0_groups[] = {
1264 "iic0", 1272 "iic0",
1265}; 1273};
@@ -1282,6 +1290,10 @@ static const char * const lcd_groups[] = {
1282 "yuv3", 1290 "yuv3",
1283}; 1291};
1284 1292
1293static const char * const lowpwr_groups[] = {
1294 "lowpwr",
1295};
1296
1285static const char * const ntsc_groups[] = { 1297static const char * const ntsc_groups[] = {
1286 "ntsc_clk", 1298 "ntsc_clk",
1287 "ntsc_data", 1299 "ntsc_data",
@@ -1295,6 +1307,10 @@ static const char * const pwm1_groups[] = {
1295 "pwm1", 1307 "pwm1",
1296}; 1308};
1297 1309
1310static const char * const ref_clko_groups[] = {
1311 "ref_clko",
1312};
1313
1298static const char * const sd_groups[] = { 1314static const char * const sd_groups[] = {
1299 "sd_cki", 1315 "sd_cki",
1300}; 1316};
@@ -1388,13 +1404,17 @@ static const struct sh_pfc_function pinmux_functions[] = {
1388 SH_PFC_FUNCTION(cam), 1404 SH_PFC_FUNCTION(cam),
1389 SH_PFC_FUNCTION(cf), 1405 SH_PFC_FUNCTION(cf),
1390 SH_PFC_FUNCTION(dtv), 1406 SH_PFC_FUNCTION(dtv),
1407 SH_PFC_FUNCTION(err_rst_reqb),
1408 SH_PFC_FUNCTION(ext_clki),
1391 SH_PFC_FUNCTION(iic0), 1409 SH_PFC_FUNCTION(iic0),
1392 SH_PFC_FUNCTION(iic1), 1410 SH_PFC_FUNCTION(iic1),
1393 SH_PFC_FUNCTION(jtag), 1411 SH_PFC_FUNCTION(jtag),
1394 SH_PFC_FUNCTION(lcd), 1412 SH_PFC_FUNCTION(lcd),
1413 SH_PFC_FUNCTION(lowpwr),
1395 SH_PFC_FUNCTION(ntsc), 1414 SH_PFC_FUNCTION(ntsc),
1396 SH_PFC_FUNCTION(pwm0), 1415 SH_PFC_FUNCTION(pwm0),
1397 SH_PFC_FUNCTION(pwm1), 1416 SH_PFC_FUNCTION(pwm1),
1417 SH_PFC_FUNCTION(ref_clko),
1398 SH_PFC_FUNCTION(sd), 1418 SH_PFC_FUNCTION(sd),
1399 SH_PFC_FUNCTION(sdi0), 1419 SH_PFC_FUNCTION(sdi0),
1400 SH_PFC_FUNCTION(sdi1), 1420 SH_PFC_FUNCTION(sdi1),