1. 11 5月, 2011 4 次提交
  2. 15 3月, 2011 2 次提交
  3. 11 3月, 2011 5 次提交
    • T
      OMAP4: DSS2: Clock source changes for OMAP4 · ea75159e
      Taneja, Archit 提交于
      On OMAP3, the pixel clock for the LCD manager was derived through DISPC_FCLK as:
      
      Lcd Pixel clock = DISPC_FCLK / lcd / pcd
      
      Where lcd and pcd are divisors in the DISPC_DIVISOR register.
      
      On OMAP4, the pixel clocks for LCD1 and LCD2 managers are derived from 2 new
      clocks named LCD1_CLK and LCD2_CLK. The pixel clocks are calculated as:
      
      Lcd_o Pixel clock = LCDo_CLK / lcdo /pcdo, o = 1, 2
      
      Where lcdo and pcdo registers are divisors in DISPC_DIVISORo registers.
      
      LCD1_CLK and LCD2_CLK can have DSS_FCLK, and the M4 divider clocks of DSI1 PLL
      and DSI2 PLL as clock sources respectively. Introduce functions to select and
      get the clock source for these new clocks. Modify DISPC functions get the
      correct lck and pck rates based on the clock source of these clocks. Since
      OMAP2/3 don't have these clocks, force OMAP2/3 to always have the LCD_CLK source
      as DSS_CLK_SRC_FCK by introducing a dss feature.
      
      Introduce clock source names for OMAP4 and some register field changes in
      DSS_CTRL on OMAP4.
      
      Currently, LCD2_CLK can only have DSS_FCLK as its clock source as DSI2 PLL
      functionality hasn't been introduced yet. BUG for now if DSI2 PLL is selected as
      clock.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ea75159e
    • M
      OMAP: DSS2: Adding dss_features for independent core clk divider · 5c6366e1
      Murthy, Raghuveer 提交于
      In OMAP3xxx DISPC_DIVISOR register has a logical clock divisor (lcd_div)
      field. The lcd_div is common, for deciding the DISPC core functional clock
      frequency, and the final pixel clock frequency for LCD display.
      
      In OMAP4, there are 2 LCD channels, hence two divisor registers, DISPC_DIVISOR1
      and DISPC_DIVISOR2. Also, there is a third register DISPC_DIVISOR.
      
      The DISPC_DIVISOR in OMAP4 is used to configure lcd_div exclusively for core
      functional clock configuration. For pixel clock configuration of primary and
      secondary LCDs, lcd_div of DISPC_DIVISOR1 and DISPC_DIVISOR2 are used
      respectively
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NRaghuveer Murthy <raghuveer.murthy@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      5c6366e1
    • A
      OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP · 067a57e4
      Archit Taneja 提交于
      Clock source names vary across OMAP2/3 and OMAP4, the clock source enum
      names have been made generic in the driver, but for purposes of debugging
      and dumping clock sources, it is better to preserve the actual TRM name of
      the clock.
      
      Introduce a dss feature function 'dss_feat_get_clk_source_name()' which
      returns a string with the TRM clock name for the current OMAP in use. The OMAP
      specific name is printed along the generic name within brackets.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      067a57e4
    • A
      OMAP2PLUS: DSS2: FEATURES: Function to Provide the max fck supported · 819d807c
      Archit Taneja 提交于
      The maximum supported frequency for DSS has increased from 173 to 186 Mhz on
      OMAP4.
      
      Introduce a dss feature function to get the max_fck to replace DISPC_MAX_FCK
      macro.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      819d807c
    • A
      OMAP2PLUS: DSS2: FEATURES: DISPC overlay code cleanup · 87a7484b
      Archit Taneja 提交于
      Add dss_features and register fields to incorporate changes in DISPC pipelines
      between OMAP3 and OMAP4.
      
      Register fields added: FEAT_REG_HORIZONTALACCU, FEAT_REG_VERTICALACCU
      DSS Features added: FEAT_LINEBUFFERSPLIT, FEAT_ROWREPEATENABLE, FEAT_RESIZECONF
      
      _dispc_set_scaling() and _dispc_set_rotation_attrs() have been cleaned up.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      87a7484b
  4. 10 1月, 2011 3 次提交
  5. 23 10月, 2010 1 次提交