On Mon, 2011-03-14 at 23:28 -0500, Taneja, Archit wrote: > The DSI PLL parameters (regm, regn, regm_dispc, regm_dsi, fint) have different > fields and also different Max values on OMAP3 and OMAP4. Use dss features to > calculate the register fields and min/max values based on current OMAP revision. > > Signed-off-by: Archit Taneja <archit@xxxxxx> > --- > v2: > use dss_feat_get_param_max()/min() instead of calculating range from field's > start and end. > > Note: Applies over: > > http://gitorious.org/linux-omap-dss2/linux/commits/master > > and the patches submitted on linux-omap: > OMAP2PLUS: DSS2: FEATURES: Fix usage of dss_reg_field and dss_clk_source_name > OMAP: DSS2: FEATURES: Functions to return min and max values of parameters > > drivers/video/omap2/dss/dsi.c | 69 +++++++++++++++++--------- > drivers/video/omap2/dss/dss_features.c | 84 +++++++++++++++++++++---------- > drivers/video/omap2/dss/dss_features.h | 10 ++++ > 3 files changed, 113 insertions(+), 50 deletions(-) Thanks, applied. Tomi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html