projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4574915
)
board: gdsys: Configure DP501 SPDIF input
author
Dirk Eibach
<dirk.eibach@gdsys.cc>
Wed, 28 Oct 2015 10:46:25 +0000
(11:46 +0100)
committer
Tom Rini
<trini@konsulko.com>
Thu, 12 Nov 2015 20:59:02 +0000
(15:59 -0500)
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Reviewed-by: Heiko Schocher <hs@denx.de>
board/gdsys/common/dp501.c
patch
|
blob
|
history
diff --git
a/board/gdsys/common/dp501.c
b/board/gdsys/common/dp501.c
index 7eb15ed0ba4b7d867f7f835d3feab4630f042a66..baace38ad699638dfd26782d6c09b137f94be435 100644
(file)
--- 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 */