drm/rockchip: dsi: add own additional pclk handling
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Wed, 10 Feb 2021 11:10:15 +0000 (12:10 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 25 Jul 2021 15:05:40 +0000 (17:05 +0200)
commitc92ecb4eac76d323a793014b9bf9f39be491c606
treefb56b228639b53b287bf6a8a987ab81b38d86f45
parent1f49bf8b6aec78568478647f90367f57fc4f1644
drm/rockchip: dsi: add own additional pclk handling

In a followup patch, we'll need to access the pclk ourself to enable some
functionality, so get and store it in the rockchip dw-dsi variant as well.

Clocks are refcounted, so possible cascading enablements are
no problem.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Acked-by: Helen Koike <helen.koike@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210210111020.2476369-2-heiko@sntech.de
drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c