From 2bf2b15c6711b402d2913c07e174b7f03c11d138 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 6 Jun 2016 11:26:31 +0200 Subject: apalis_tk1: fix apalis dap1 hda operation Regular HDA mode requires the TK1 SoC being the master to drive the DAP1_BIT_CLK and DAP1_SYNC pins therefore do not tristate their outputs. Further more despite the level shifter direction of those pins being called Shift_CTRL_Dir_In[2] those need to be configured as output for regular HDA mode. Note: If connecting to a I2S codec operating in master mode (e.g. as on our i.MX 6 designs) the later would have to be changed to inputs again. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h b/board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h index d11a6be76a..666ead8ee2 100644 --- a/board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h +++ b/board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h @@ -82,8 +82,8 @@ static const struct pmux_pingrp_config apalis_tk1_pingrps[] = { /* pingrp, mux, pull, tri, e_input, od, rcv_sel */ PINCFG(CLK_32K_OUT_PA0, SOC, NORMAL, TRISTATE, INPUT, DEFAULT, DEFAULT), PINCFG(UART3_CTS_N_PA1, GMI, NORMAL, TRISTATE, INPUT, DEFAULT, DEFAULT), - PINCFG(DAP2_FS_PA2, HDA, NORMAL, TRISTATE, INPUT, DEFAULT, DEFAULT), - PINCFG(DAP2_SCLK_PA3, HDA, NORMAL, TRISTATE, INPUT, DEFAULT, DEFAULT), + PINCFG(DAP2_FS_PA2, HDA, NORMAL, NORMAL, INPUT, DEFAULT, DEFAULT), + PINCFG(DAP2_SCLK_PA3, HDA, NORMAL, NORMAL, INPUT, DEFAULT, DEFAULT), PINCFG(DAP2_DIN_PA4, HDA, NORMAL, TRISTATE, INPUT, DEFAULT, DEFAULT), PINCFG(DAP2_DOUT_PA5, HDA, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT), PINCFG(SDMMC3_CLK_PA6, SDMMC3, NORMAL, NORMAL, INPUT, DEFAULT, DEFAULT), @@ -179,7 +179,7 @@ static const struct pmux_pingrp_config apalis_tk1_pingrps[] = { PINCFG(KB_ROW8_PS0, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), PINCFG(KB_ROW9_PS1, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), PINCFG(KB_ROW10_PS2, RSVD2, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT), - PINCFG(KB_ROW11_PS3, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), + PINCFG(KB_ROW11_PS3, RSVD2, UP, TRISTATE, OUTPUT, DEFAULT, DEFAULT), PINCFG(KB_ROW12_PS4, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), PINCFG(KB_ROW13_PS5, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), PINCFG(KB_ROW14_PS6, RSVD2, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT), -- cgit v1.2.3