]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm/dsi: Add byte_intf_clk
authorArchit Taneja <architt@codeaurora.org>
Wed, 17 Jan 2018 09:34:44 +0000 (15:04 +0530)
committerRob Clark <robdclark@gmail.com>
Tue, 20 Feb 2018 15:41:21 +0000 (10:41 -0500)
commitc1d97083cd48a2b3f4382f0122889d1d73661b2e
treebc46d319e601b0fff145706d4e09eba81dc0693a
parent02f7a6ca1692ffe1012abd512b8a88ba9a925095
drm/msm/dsi: Add byte_intf_clk

DSI6G v2.0+ blocks have a new clock input to them called
byte_intf_clk. It's rate is to be set as byte_clk / 2.

Within the clock controller (CC) subsystem, this clock is a
child/descendant of the byte_clk.

Set it up as an optional clock in the DSI host driver. Make sure
that we enable/set its rate only after we configure byte_clk.
This is required for the ancestor clocks in the CC to be
configured correctly.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c