]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh-pfc: r8a7740: Add HDMI pin groups and functions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 17 Apr 2013 23:04:30 +0000 (01:04 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 24 Apr 2013 08:33:59 +0000 (17:33 +0900)
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7740.c

index 49da76ae9d4c882e00d054f0eafae70b971e1ce3..5a77d39345645818de3bf040873c2e547da48d13 100644 (file)
@@ -2039,6 +2039,14 @@ static const unsigned int gether_wol_pins[] = {
 static const unsigned int gether_wol_mux[] = {
        ET_WOL_MARK,
 };
+/* - HDMI ------------------------------------------------------------------- */
+static const unsigned int hdmi_pins[] = {
+       /* HPD, CEC */
+       210, 211,
+};
+static const unsigned int hdmi_mux[] = {
+       HDMI_HPD_MARK, HDMI_CEC_MARK,
+};
 /* - INTC ------------------------------------------------------------------- */
 IRQC_PINS_MUX(0, 0, 2);
 IRQC_PINS_MUX(0, 1, 13);
@@ -2787,6 +2795,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
        SH_PFC_PIN_GROUP(gether_int),
        SH_PFC_PIN_GROUP(gether_link),
        SH_PFC_PIN_GROUP(gether_wol),
+       SH_PFC_PIN_GROUP(hdmi),
        SH_PFC_PIN_GROUP(intc_irq0_0),
        SH_PFC_PIN_GROUP(intc_irq0_1),
        SH_PFC_PIN_GROUP(intc_irq1),
@@ -2985,6 +2994,10 @@ static const char * const gether_groups[] = {
        "gether_wol",
 };
 
+static const char * const hdmi_groups[] = {
+       "hdmi",
+};
+
 static const char * const intc_groups[] = {
        "intc_irq0_0",
        "intc_irq0_1",
@@ -3173,6 +3186,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
        SH_PFC_FUNCTION(fsia),
        SH_PFC_FUNCTION(fsib),
        SH_PFC_FUNCTION(gether),
+       SH_PFC_FUNCTION(hdmi),
        SH_PFC_FUNCTION(intc),
        SH_PFC_FUNCTION(lcd0),
        SH_PFC_FUNCTION(lcd1),