From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 28 Oct 2015 12:25:55 +0100 Subject: [U-Boot] [PATCH v1 04/18] board: gdsys: Configure DP501 SPDIF input In-Reply-To: <1446029199-11704-5-git-send-email-dirk.eibach@gdsys.cc> References: <1446029199-11704-1-git-send-email-dirk.eibach@gdsys.cc> <1446029199-11704-5-git-send-email-dirk.eibach@gdsys.cc> Message-ID: <5630B0C3.7080204@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Dirk, Am 28.10.2015 um 11:46 schrieb dirk.eibach at gdsys.cc: > From: Dirk Eibach > > Signed-off-by: Dirk Eibach > --- > > board/gdsys/common/dp501.c | 2 ++ > 1 file changed, 2 insertions(+) > > 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 */ Hmm... a lot of magical values ... some defines would be nice here. Beside of this: Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany