diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-06-06 11:26:31 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-22 14:36:40 +0200 |
commit | 2bf2b15c6711b402d2913c07e174b7f03c11d138 (patch) | |
tree | 4b0faaafdf78f3ee636d510e07aba851c5e55c3d /board/toradex | |
parent | e7a937b9477bc4a513821cd792c9c9d35d049cef (diff) |
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 <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/apalis_tk1/pinmux-config-apalis_tk1.h | 6 |
1 files 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), |