[U-Boot] [PATCH v1 04/18] board: gdsys: Configure DP501 SPDIF input

Heiko Schocher hs at denx.de
Wed Oct 28 12:25:55 CET 2015


Hello Dirk,

Am 28.10.2015 um 11:46 schrieb dirk.eibach at gdsys.cc:
> From: Dirk Eibach <dirk.eibach at gdsys.cc>
>
> Signed-off-by: Dirk Eibach <dirk.eibach at gdsys.cc>
> ---
>
>   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 <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list