drm: HDMI and DP specific HDCP2.2 defines
authorRamalingam C <ramalingam.c@intel.com>
Mon, 29 Oct 2018 09:45:50 +0000 (15:15 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Oct 2018 15:22:34 +0000 (16:22 +0100)
commit8b44fefee694ef6095683d91d6f06d23f02a6212
tree9bd43510e56d4a70748bc8d9b92d84e82a7ffb49
parentaf5aad059885b0bec3a23b9ea61c822357b6dd73
drm: HDMI and DP specific HDCP2.2 defines

This patch adds HDCP register definitions for HDMI and DP HDCP
adaptations.

HDMI specific HDCP2.2 register definitions are added into drm_hdcp.h,
where as HDCP2.2 register offsets in DPCD offsets are defined at
drm_dp_helper.h.

v2:
  bit_field definitions are replaced by macros. [Tomas and Jani]
v3:
  No Changes.
v4:
  Comments style and typos are fixed [Uma]
v5:
  Fix for macros.
v6:
  Adds _MS to the timeouts to represent units [Sean Paul]
v7:
  Macro DP_HDCP_2_2_REG_EKH_KM_OFFSET renamed [Uma]
  Redundant macro is removed [Uma]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Sean Paul <seanpaul@chromium.org> (for merging through drm-intel)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1540806351-7137-6-git-send-email-ramalingam.c@intel.com
include/drm/drm_dp_helper.h
include/drm/drm_hdcp.h