Commit e2dcd461 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Rafael J. Wysocki

ARM: shmobile: r8a7740: add HDMI GPIO support

In order to enable HDMI GPIO selection from platform board,
this patch adds its interface to GPIO framework.

This patch is based on v1.0 manual
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent c6750acb
...@@ -565,6 +565,10 @@ enum { ...@@ -565,6 +565,10 @@ enum {
GPIO_FN_RESETP_PULLUP, GPIO_FN_RESETP_PULLUP,
GPIO_FN_RESETP_PLAIN, GPIO_FN_RESETP_PLAIN,
/* HDMI */
GPIO_FN_HDMI_HPD,
GPIO_FN_HDMI_CEC,
/* SDENC */ /* SDENC */
GPIO_FN_SDENC_CPG, GPIO_FN_SDENC_CPG,
GPIO_FN_SDENC_DV_CLKI, GPIO_FN_SDENC_DV_CLKI,
......
...@@ -560,6 +560,9 @@ enum { ...@@ -560,6 +560,9 @@ enum {
/* SDENC */ /* SDENC */
SDENC_CPG_MARK, SDENC_DV_CLKI_MARK, SDENC_CPG_MARK, SDENC_DV_CLKI_MARK,
/* HDMI */
HDMI_HPD_MARK, HDMI_CEC_MARK,
/* DEBUG */ /* DEBUG */
EDEBGREQ_PULLUP_MARK, /* for JTAG */ EDEBGREQ_PULLUP_MARK, /* for JTAG */
EDEBGREQ_PULLDOWN_MARK, EDEBGREQ_PULLDOWN_MARK,
...@@ -1620,9 +1623,11 @@ static pinmux_enum_t pinmux_data[] = { ...@@ -1620,9 +1623,11 @@ static pinmux_enum_t pinmux_data[] = {
/* Port210 */ /* Port210 */
PINMUX_DATA(IRQ9_PORT210_MARK, PORT210_FN0, MSEL1CR_9_1), PINMUX_DATA(IRQ9_PORT210_MARK, PORT210_FN0, MSEL1CR_9_1),
PINMUX_DATA(HDMI_HPD_MARK, PORT210_FN1),
/* Port211 */ /* Port211 */
PINMUX_DATA(IRQ16_PORT211_MARK, PORT211_FN0, MSEL1CR_16_1), PINMUX_DATA(IRQ16_PORT211_MARK, PORT211_FN0, MSEL1CR_16_1),
PINMUX_DATA(HDMI_CEC_MARK, PORT211_FN1),
/* LCDC select */ /* LCDC select */
PINMUX_DATA(LCDC0_SELECT_MARK, MSEL3CR_6_0), PINMUX_DATA(LCDC0_SELECT_MARK, MSEL3CR_6_0),
...@@ -2097,6 +2102,10 @@ static struct pinmux_gpio pinmux_gpios[] = { ...@@ -2097,6 +2102,10 @@ static struct pinmux_gpio pinmux_gpios[] = {
GPIO_FN(SDENC_CPG), GPIO_FN(SDENC_CPG),
GPIO_FN(SDENC_DV_CLKI), GPIO_FN(SDENC_DV_CLKI),
/* HDMI */
GPIO_FN(HDMI_HPD),
GPIO_FN(HDMI_CEC),
/* SYSC */ /* SYSC */
GPIO_FN(RESETP_PULLUP), GPIO_FN(RESETP_PULLUP),
GPIO_FN(RESETP_PLAIN), GPIO_FN(RESETP_PLAIN),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment