• Satheeshakrishna M's avatar
    drm/i915/bxt: Define bxt DDI PLLs and implement enable/disable sequence · dfb82408
    Satheeshakrishna M authored
    Plug bxt PLL code into existing shared DPLL framework.
    
    v2: (imre)
    - squash in Satheeshakrishna's "Define BXT clock registers" and
      "Add state variables for bxt clock registers" patches
    - squash in Vandanas's "Change grp access to lane access for PLL"
    - fix group vs. lane access in bxt_ddi_pll_get_hw_state
    - add code comment why we read from lane registers while writing to
      group registers
    - clean up register macros
    - use BXT_PORT_PLL_* macros instead of open-coding the same
    - check if BXT_PORT_PCS_DW12_LN01 matches BXT_PORT_PCS_DW12_LN23
      during hardware state readout
    - add missing LANESTAGGER_STRAP_OVRD masking
    - add note about missing step according to the latest BUN for
      PORT_PLL_9/lockthresh
    
    Signed-off-by: Satheeshakrishna M <satheeshakrishna.m@intel.com> (v1)
    Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
    Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    dfb82408
intel_ddi.c 67.5 KB