linux_dsm_epyc7002/drivers/video/omap2/dss
Taneja, Archit ea75159ee6 OMAP4: DSS2: Clock source changes for OMAP4
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: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-03-11 15:46:31 +02:00
..
core.c OMAP: DSS2: Remove unneeded cpu_is_xxx checks 2011-03-11 15:46:28 +02:00
dispc.c OMAP4: DSS2: Clock source changes for OMAP4 2011-03-11 15:46:31 +02:00
display.c OMAP: DSS2: Remove unused list 2011-03-11 15:46:25 +02:00
dpi.c OMAP: DSS2: Remove pdev argument from dpi_init 2011-03-11 15:46:28 +02:00
dsi.c HACK: OMAP: DSS2: Fix OMAP2_DSS_USE_DSI_PLL 2011-03-11 15:46:29 +02:00
dss_features.c OMAP4: DSS2: Clock source changes for OMAP4 2011-03-11 15:46:31 +02:00
dss_features.h OMAP4: DSS2: Clock source changes for OMAP4 2011-03-11 15:46:31 +02:00
dss.c OMAP4: DSS2: Clock source changes for OMAP4 2011-03-11 15:46:31 +02:00
dss.h OMAP4: DSS2: Clock source changes for OMAP4 2011-03-11 15:46:31 +02:00
Kconfig OMAP2PLUS: DSS2: Add OMAP4 Kconfig support 2011-03-11 15:46:22 +02:00
Makefile OMAP: DSS2: Introduce dss_features files 2010-10-22 23:21:03 +03:00
manager.c OMAP2PLUS: DSS2: Generalize naming of PRCM related clock enums in DSS driver 2011-03-11 15:46:22 +02:00
overlay.c OMAP2PLUS: DSS2: Generalize naming of PRCM related clock enums in DSS driver 2011-03-11 15:46:22 +02:00
rfbi.c OMAP2PLUS: DSS2: Generalize naming of PRCM related clock enums in DSS driver 2011-03-11 15:46:22 +02:00
sdi.c OMAP: DSS2: Remove FB_OMAP_BOOTLOADER_INIT support 2011-03-11 15:46:27 +02:00
venc.c OMAP: DSS2: Delay regulator_get() calls 2011-03-11 15:46:23 +02:00