board/freescale/vid: Add vdd table for NXP LX2160A SoC
authorPriyanka Jain <priyanka.jain@nxp.com>
Thu, 11 Oct 2018 05:22:34 +0000 (05:22 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Dec 2018 22:37:19 +0000 (14:37 -0800)
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/common/vid.c

index db158cb2c2e6b1e63637b37db202aecbcc2f5933..0ca389c9aebf978591d80eb5233b7d5aaa000f8b 100644 (file)
@@ -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;