From ed2530d0963196a7175058ed9b5e6cbc29822f7f Mon Sep 17 00:00:00 2001 From: Rai Harninder Date: Wed, 23 Mar 2016 17:04:38 +0530 Subject: armv8/ls2080ardb: Enable VID support This patch enable VID support for ls2080ardb platform. It uses the common VID driver. Signed-off-by: Rai Harninder Reviewed-by: York Sun --- include/configs/ls2080ardb.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/configs/ls2080ardb.h') diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index ce1d90098f7..15a11723b0e 100644 --- a/include/configs/ls2080ardb.h +++ b/include/configs/ls2080ardb.h @@ -14,6 +14,22 @@ #define CONFIG_DISPLAY_BOARDINFO +#define I2C_MUX_CH_VOL_MONITOR 0xa +#define I2C_VOL_MONITOR_ADDR 0x38 +#define CONFIG_VOL_MONITOR_IR36021_READ +#define CONFIG_VOL_MONITOR_IR36021_SET + +#define CONFIG_VID_FLS_ENV "ls2080ardb_vdd_mv" +#ifndef CONFIG_SPL_BUILD +#define CONFIG_VID +#endif +/* step the IR regulator in 5mV increments */ +#define IR_VDD_STEP_DOWN 5 +#define IR_VDD_STEP_UP 5 +/* The lowest and highest voltage allowed for LS2080ARDB */ +#define VDD_MV_MIN 819 +#define VDD_MV_MAX 1212 + #ifndef __ASSEMBLY__ unsigned long get_board_sys_clk(void); #endif -- cgit v1.2.3