OSDN Git Service

clk: mmp2: separate LCDC peripheral clk form the display clock
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 21 Jan 2019 06:31:29 +0000 (07:31 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 21:52:02 +0000 (13:52 -0800)
commit0ea8cbc15d802564e89ceab65ea4dedabf406fd2
tree59702644b9e4dc0e6e181a2e9a6c7d8199e81d09
parented11aff3eef35440e23a7cf9692f84ab6233e527
clk: mmp2: separate LCDC peripheral clk form the display clock

These are in fact two clocks, they shouldn't be exposed as one. One is
required for accessing LCD controller registers (peripheral clock), while
other (AXI clock) can be optionally used as a pixel clock source for the
panel.

LCDC can alternatively use different clocks than the Display 1 AXI clock
for generating the pixel clock: the second AXI clock (fixed in this
commit too), the HDMI PLL, or the AXI bus clock.

They should really be controlled independently.

Link: https://lists.freedesktop.org/archives/dri-devel/2019-January/203975.html
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mmp/clk-of-mmp2.c