]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
OMAPDSS: Add DSI fclk maximum to dss_features
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 Aug 2012 13:25:29 +0000 (16:25 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Sep 2012 17:02:05 +0000 (20:02 +0300)
Add max value of DSI functional clock to dss_features, so that DSI
driver can use it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h

index 2fe39d65502fec775cc66322bfef59f8d273b272..c26fc1fb7dbccfc32f4151d895e42b21e713e2e8 100644 (file)
@@ -326,6 +326,7 @@ static const struct dss_param_range omap3_dss_param_range[] = {
        [FEAT_PARAM_DSIPLL_REGM_DSI]            = { 0, (1 << 4) - 1 },
        [FEAT_PARAM_DSIPLL_FINT]                = { 750000, 2100000 },
        [FEAT_PARAM_DSIPLL_LPDIV]               = { 1, (1 << 13) - 1},
+       [FEAT_PARAM_DSI_FCK]                    = { 0, 173000000 },
        [FEAT_PARAM_DOWNSCALE]                  = { 1, 4 },
        [FEAT_PARAM_LINEWIDTH]                  = { 1, 1024 },
        [FEAT_PARAM_MGR_WIDTH]                  = { 1, 2048 },
@@ -341,6 +342,7 @@ static const struct dss_param_range omap4_dss_param_range[] = {
        [FEAT_PARAM_DSIPLL_REGM_DSI]            = { 0, (1 << 5) - 1 },
        [FEAT_PARAM_DSIPLL_FINT]                = { 500000, 2500000 },
        [FEAT_PARAM_DSIPLL_LPDIV]               = { 0, (1 << 13) - 1 },
+       [FEAT_PARAM_DSI_FCK]                    = { 0, 170000000 },
        [FEAT_PARAM_DOWNSCALE]                  = { 1, 4 },
        [FEAT_PARAM_LINEWIDTH]                  = { 1, 2048 },
        [FEAT_PARAM_MGR_WIDTH]                  = { 1, 2048 },
index 26d43a4b9812d4e096a311d3a0c64b2e79aaa485..b81d603310a86d32cceb543bf1bf2b59a7dcdde9 100644 (file)
@@ -92,6 +92,7 @@ enum dss_range_param {
        FEAT_PARAM_DSIPLL_REGM_DSI,
        FEAT_PARAM_DSIPLL_FINT,
        FEAT_PARAM_DSIPLL_LPDIV,
+       FEAT_PARAM_DSI_FCK,
        FEAT_PARAM_DOWNSCALE,
        FEAT_PARAM_LINEWIDTH,
        FEAT_PARAM_MGR_WIDTH,