From: Priyanka Jain Date: Thu, 11 Oct 2018 05:22:34 +0000 (+0000) Subject: board/freescale/vid: Add vdd table for NXP LX2160A SoC X-Git-Tag: v2025.01-rc5-pxa1908~3221^2~2 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=db1e3df7ce71369a6b48382550df661f41dd5826;p=u-boot.git board/freescale/vid: Add vdd table for NXP LX2160A SoC Signed-off-by: Priyanka Jain Reviewed-by: York Sun --- diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index db158cb2c2..0ca389c9ae 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -382,6 +382,42 @@ int adjust_vdd(ulong vdd_override) int ret, i2caddress; unsigned long vdd_string_override; char *vdd_string; +#ifdef CONFIG_ARCH_LX2160A + static const u16 vdd[32] = { + 8250, + 7875, + 7750, + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 8000, + 8125, + 8250, + 0, /* reserved */ + 8500, + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + 0, /* reserved */ + }; +#else #ifdef CONFIG_ARCH_LS1088A static const uint16_t vdd[32] = { 10250, @@ -453,6 +489,7 @@ int adjust_vdd(ulong vdd_override) 0, /* reserved */ 0, /* reserved */ }; +#endif #endif struct vdd_drive { u8 vid;