drm/i915/icl: Define PORT_CL_DW_10 register
authorMadhav Chauhan <madhav.chauhan@intel.com>
Thu, 5 Jul 2018 13:49:36 +0000 (19:19 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 6 Jul 2018 09:14:16 +0000 (12:14 +0300)
commit166869b390b6fe763544fe4ae1e01acd28db331a
tree7ed33ce5253ac86e775bc0e6f51877b9f01afe02
parentb1cb21a5f1c668534b25464717c806e141ba500f
drm/i915/icl: Define PORT_CL_DW_10 register

This register used to power down individual lanes for
DDI/DSI ports. Bitfields to power up/down various
combinations of lanes are also added in this patch.

v2: Review comments from Jani N
    - Use override instead of "override" for bitfields
    - Define mask for override bitfield
    - Define PWR_DOWN_LN* macros shifted in place
v3: Correct PWR_DOWN_LN_MASK value (Jani N)

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1530798591-2077-6-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/i915_reg.h