aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-04-17 19:04:30 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-06-04 08:04:25 -0400
commita37d60659fbef3560c7b4fa5f9d7cf34863f3ae2 (patch)
treef21c04fa41239d23031b8728bc63bbd0b8a1bab7 /drivers/pinctrl/sh-pfc/pfc-r8a7740.c
parent909dd95f13d7c8e80565fd17ad6b0065c5c90242 (diff)
sh-pfc: r8a7740: Add HDMI pin groups and functions
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-r8a7740.c')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a7740.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
index 49da76ae9d4c..5a77d3934564 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
@@ -2039,6 +2039,14 @@ static const unsigned int gether_wol_pins[] = {
2039static const unsigned int gether_wol_mux[] = { 2039static const unsigned int gether_wol_mux[] = {
2040 ET_WOL_MARK, 2040 ET_WOL_MARK,
2041}; 2041};
2042/* - HDMI ------------------------------------------------------------------- */
2043static const unsigned int hdmi_pins[] = {
2044 /* HPD, CEC */
2045 210, 211,
2046};
2047static const unsigned int hdmi_mux[] = {
2048 HDMI_HPD_MARK, HDMI_CEC_MARK,
2049};
2042/* - INTC ------------------------------------------------------------------- */ 2050/* - INTC ------------------------------------------------------------------- */
2043IRQC_PINS_MUX(0, 0, 2); 2051IRQC_PINS_MUX(0, 0, 2);
2044IRQC_PINS_MUX(0, 1, 13); 2052IRQC_PINS_MUX(0, 1, 13);
@@ -2787,6 +2795,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
2787 SH_PFC_PIN_GROUP(gether_int), 2795 SH_PFC_PIN_GROUP(gether_int),
2788 SH_PFC_PIN_GROUP(gether_link), 2796 SH_PFC_PIN_GROUP(gether_link),
2789 SH_PFC_PIN_GROUP(gether_wol), 2797 SH_PFC_PIN_GROUP(gether_wol),
2798 SH_PFC_PIN_GROUP(hdmi),
2790 SH_PFC_PIN_GROUP(intc_irq0_0), 2799 SH_PFC_PIN_GROUP(intc_irq0_0),
2791 SH_PFC_PIN_GROUP(intc_irq0_1), 2800 SH_PFC_PIN_GROUP(intc_irq0_1),
2792 SH_PFC_PIN_GROUP(intc_irq1), 2801 SH_PFC_PIN_GROUP(intc_irq1),
@@ -2985,6 +2994,10 @@ static const char * const gether_groups[] = {
2985 "gether_wol", 2994 "gether_wol",
2986}; 2995};
2987 2996
2997static const char * const hdmi_groups[] = {
2998 "hdmi",
2999};
3000
2988static const char * const intc_groups[] = { 3001static const char * const intc_groups[] = {
2989 "intc_irq0_0", 3002 "intc_irq0_0",
2990 "intc_irq0_1", 3003 "intc_irq0_1",
@@ -3173,6 +3186,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
3173 SH_PFC_FUNCTION(fsia), 3186 SH_PFC_FUNCTION(fsia),
3174 SH_PFC_FUNCTION(fsib), 3187 SH_PFC_FUNCTION(fsib),
3175 SH_PFC_FUNCTION(gether), 3188 SH_PFC_FUNCTION(gether),
3189 SH_PFC_FUNCTION(hdmi),
3176 SH_PFC_FUNCTION(intc), 3190 SH_PFC_FUNCTION(intc),
3177 SH_PFC_FUNCTION(lcd0), 3191 SH_PFC_FUNCTION(lcd0),
3178 SH_PFC_FUNCTION(lcd1), 3192 SH_PFC_FUNCTION(lcd1),