lk: calculate vco clock and divider for 8996 target
Calculate the VCO clock, n1 and n2 divider for
8996 target. This change also update pll type check
in display driver and GCDB to support multiple type of
PLLs.
Change-Id: I5aa470cba5150e1c668a60e182c30e03af2f9556
diff --git a/dev/gcdb/display/gcdb_autopll.h b/dev/gcdb/display/gcdb_autopll.h
index aca4463..ddfcf1c 100755
--- a/dev/gcdb/display/gcdb_autopll.h
+++ b/dev/gcdb/display/gcdb_autopll.h
@@ -52,6 +52,13 @@
#define BITS_18 18
#define BITS_16 16
+#define MAX_THULIUM_VCO_RATE 2600000000
+#define MIN_THULIUM_VCO_RATE 1300000000
+#define MAX_THULIUM_DIV_VAL 15
+#define MIN_THULIUM_DIV_VAL 1
+#define FIX_PIXEL_CLOCK_DIV 2
+#define FIX_N_DIV 1
+
/*---------------------------------------------------------------------------*/
/* Structure definition */
/*---------------------------------------------------------------------------*/