drm/msm/dsi: Don't get byte/pixel source clocks from DT
authorArchit Taneja <architt@codeaurora.org>
Mon, 30 Nov 2015 12:17:17 +0000 (17:47 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 15:39:59 +0000 (10:39 -0500)
commite6c4c78c10d87a99f298a2455a4aaede5743bb4f
tree2ca0933e4373626474320bc287c5fbb9193ed1a5
parentaf6d0423dfe33ca3bb9a0d1f50eb165b087fd88e
drm/msm/dsi: Don't get byte/pixel source clocks from DT

We retrieve the byte and pixel source clocks (RCG clocks) in the dsi
driver via DT. These are needed so that we can re-parent these source
clocks if we want to drive it using a different DSI PLL.

We shouldn't get these via DT because they aren't clocks that directly
serve as inputs to the dsi host.

Fortunately, there is a static parent-child link between the
byte_clk_src/pixel_clk_src and byte_clk/pixel_clk clocks. So, we can
retrieve the source clocks via clk_get_parent.

Do this instead of retrieving via DT.

Cc: Rob Herring <robh@kernel.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c