summaryrefslogtreecommitdiff
path: root/board/gdsys
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2015-10-28 11:46:25 +0100
committerTom Rini <trini@konsulko.com>2015-11-12 15:59:02 -0500
commit0caad193cdb051b67b01d1f87df01e3c74acdb04 (patch)
treeac99e8e739af0f06a806fb6346588aee699bf9e9 /board/gdsys
parent457491565b7d33b73829d911976f87027f450daf (diff)
downloadu-boot-imx-0caad193cdb051b67b01d1f87df01e3c74acdb04.zip
u-boot-imx-0caad193cdb051b67b01d1f87df01e3c74acdb04.tar.gz
u-boot-imx-0caad193cdb051b67b01d1f87df01e3c74acdb04.tar.bz2
board: gdsys: Configure DP501 SPDIF input
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/gdsys')
-rw-r--r--board/gdsys/common/dp501.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/gdsys/common/dp501.c b/board/gdsys/common/dp501.c
index 7eb15ed..baace38 100644
--- a/board/gdsys/common/dp501.c
+++ b/board/gdsys/common/dp501.c
@@ -77,6 +77,8 @@ void dp501_powerup(u8 addr)
i2c_reg_write(addr + 2, 0x24, 0x02); /* clock input single ended */
#endif
+ i2c_reg_write(addr + 2, 0x1a, 0x04); /* SPDIF input method TTL */
+
i2c_reg_write(addr + 2, 0x00, 0x18); /* driving strength */
i2c_reg_write(addr + 2, 0x03, 0x06); /* driving strength */
i2c_reg_write(addr, 0x2c, 0x00); /* configure N value */