[v3,5/6] board: ti: dra76: mux wakeup2 as gpio1_2

Message ID 20171228151003.19500-6-lokeshvutla@ti.com
State New
Headers show
Series
  • Untitled series #7500
Related show

Commit Message

Lokesh Vutla Dec. 28, 2017, 3:10 p.m.
From: Tomi Valkeinen <tomi.valkeinen@ti.com>

gpio1_2 is used for HPD interrupt with DRA76's DVI add-on board, so mux
the pin as gpio and PIN_INPUT.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 board/ti/dra7xx/mux_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Jan. 19, 2018, 9:12 p.m. | #1
On Thu, Dec 28, 2017 at 08:40:02PM +0530, Lokesh Vutla wrote:

> From: Tomi Valkeinen <tomi.valkeinen@ti.com>

> 

> gpio1_2 is used for HPD interrupt with DRA76's DVI add-on board, so mux

> the pin as gpio and PIN_INPUT.

> 

> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>


Applied to u-boot/master, thanks!

-- 
Tom

Patch

diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h
index 3c3a19a0e1..b5dcaa584a 100644
--- a/board/ti/dra7xx/mux_data.h
+++ b/board/ti/dra7xx/mux_data.h
@@ -882,7 +882,7 @@  const struct pad_conf_entry dra76x_core_padconf_array[] = {
 	{I2C2_SCL, (M1 | PIN_INPUT_PULLUP)},	/* i2c2_scl.hdmi1_ddc_sda */
 	{WAKEUP0, (M14 | PIN_OUTPUT)},	/* N/A.gpio1_0 */
 	{WAKEUP1, (M14 | PIN_OUTPUT)},	/* N/A.gpio1_1 */
-	{WAKEUP2, (M1 | PIN_OUTPUT)},	/* N/A.sys_nirq2 */
+	{WAKEUP2, (M14 | PIN_INPUT)},	/* N/A.gpio1_2 */
 	{WAKEUP3, (M1 | PIN_OUTPUT)},	/* N/A.sys_nirq1 */
 };