drm/i915/dg1: Add and setup DPLLs for DG1
authorAditya Swarup <aditya.swarup@intel.com>
Wed, 14 Oct 2020 19:19:31 +0000 (12:19 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Oct 2020 21:14:31 +0000 (14:14 -0700)
commitb71b477d9414fda42126fd2c55c5e8fa09347433
tree0fc27441efa444eb4e967f29df52fad6c02e15f1
parent049c651b6d93839c74be5cb24708f1d8470ec60d
drm/i915/dg1: Add and setup DPLLs for DG1

Add entries for dg1 plls and setup dg1_pll_mgr to reuse ICL callbacks.
Initial setup for shared dplls DPLL0/1 for DDIA/DDIB and DPLL2/3 for
DDI-TC1/DDI-TC2. Configure dpll cfgcrx registers to drive the plls on
DG1.

v2 (Lucas): Reword commit message and add missing update_ref_clks hook
   (requested by Matt Roper)

Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-5-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c