linux/drivers/gpu/drm/msm/dsi
Archit Taneja 73b65b1970 drm/msm: Set CLK_IGNORE_UNUSED flag for PLL clocks
The DSI/HDMI PLLs in MSM require resources like interface clocks, power
domains to be enabled before we can access their registers.

The clock framework doesn't have a mechanism at the moment where we can
tie such resources to a clock, so we make sure that the KMS driver enables
these resources whenever a PLL is expected to be in use.

One place where we can't ensure the resource dependencies are met is when
the clock framework tries to disable unused clocks. The KMS driver doesn't
know when the clock framework calls the is_enabled clk_op, and hence can't
enable interface clocks/power domains beforehand.

We set the CLK_IGNORE_UNUSED flag for PLL clocks for now. This needs to be
revisited, since bootloaders can enable display, and we would want to
disable the PLL clocks if there isn't a display driver using them.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-11-02 10:48:09 -04:00
..
phy drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
pll drm/msm: Set CLK_IGNORE_UNUSED flag for PLL clocks 2016-11-02 10:48:09 -04:00
dsi_cfg.c drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
dsi_cfg.h drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
dsi_host.c drm/msm/dsi: Queue HPD helper work in attach/detach callbacks 2016-11-02 10:48:09 -04:00
dsi_manager.c drm/msm: Centralize connector registration/unregistration 2016-05-08 10:22:19 -04:00
dsi.c drm/msm/dsi: Use generic PHY bindings 2016-07-16 10:08:47 -04:00
dsi.h drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
mmss_cc.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
sfpb.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00