drm/i915/tgl: Add initial dkl pll support
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 24 Sep 2019 21:00:35 +0000 (14:00 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 25 Sep 2019 19:13:01 +0000 (12:13 -0700)
commit1e225a2c7477f114f271403ce48b26dd7bc1da2c
tree62a4b2ac5b516ed4a2e98ae4719eb9fbd74a732b
parentf9d4eae25d93a76f8ed52b1519cc27c5b3cb1dcb
drm/i915/tgl: Add initial dkl pll support

The disable function can be the same as for MG phy since the same
registers are used. The others are different as registers changed,
also adding a empty dkl_pll_write() to be implemented later.

v2:
Setting the right HIP_INDEX_REG bits (José)

v3:
Masking non-computed registers of mg_pll_tdc_coldst_bias
when getting hardware state
Sharing mg_pll_enable() with TGL

Reviewed-by: Imre Deak <imre.deak@intel.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190924210040.142075-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c