]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP4: clock data: Change DSS clock aliases
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 4 Apr 2011 06:26:19 +0000 (09:26 +0300)
committerPaul Walmsley <paul@pwsan.com>
Wed, 20 Apr 2011 18:43:56 +0000 (12:43 -0600)
commit5b55401cca9ca1a119e7272ea98baf3e595256b6
tree9c0f9d0cb7902ac94af9155efcaebc0a90722cb9
parent2fae465251631794b8d612124fb9d7480bbe24ef
OMAP4: clock data: Change DSS clock aliases

DSS driver has used fck and ick clocks on OMAP2/3 to get DSS HW up and
running, and also to get the pixel clock's source clock rate from the
fck.

On OMAP4 the clock data is set up in a different way, as there's no ick,
dss_fck points to a fake clock which just affects DSS's MODULEMODE, and
dss_dss_clk if the DSS_FCK.

>From DSS driver's point of view the dss_fck sounds like an ick, and
dss_dss_clk is the fck. While this is not entirely correct from HW point
of view, especially for the ick, configuring the clock aliases that way
makes DSS "just work" with OMAP4's clock setup.

In the (hopefully near) future DSS driver will be reworked to use
pm_runtime support which should clean up the clock code.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock44xx_data.c