]> git.baikalelectronics.ru Git - kernel.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)
commit50252e8b903db4ae18189f1d6c4b5070cb684597
treebc46d319e601b0fff145706d4e09eba81dc0693a
parent7a2b7402308c9a69a961bf11cf17405514957811
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