Skip to content

Commit a2bc69a

Browse files
Manasi Navarepzanoni-intel
authored andcommitted
drm/i915/icl: Add register definition for DFLEXDPMLE
DFLEXDPMLE register is required to tell the FIA hardware which main links of DP are enabled on TCC Connectors. FIA uses this information to program PHY to Controller signal mapping. This register is applicable in both TC connector's Alternate mode as well as DP connector mode. v2: * Remove _ICL prefix since the reg is first introduced in ICL (Paulo) * s/ICL/icl in commit message (Lucas) Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Animesh Manna <animesh.manna@intel.com> Cc: Madhav Chauhan <madhav.chauhan@intel.com> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/1527275032-4555-1-git-send-email-manasi.d.navare@intel.com
1 parent ac213c1 commit a2bc69a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/gpu/drm/i915/i915_reg.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,11 @@ enum i915_power_well_id {
19901990
_ICL_PORT_COMP_DW10_A, \
19911991
_ICL_PORT_COMP_DW10_B)
19921992

1993+
/* ICL PHY DFLEX registers */
1994+
#define PORT_TX_DFLEXDPMLE1 _MMIO(0x1638C0)
1995+
#define DFLEXDPMLE1_DPMLETC_MASK(n) (0xf << (4 * (n)))
1996+
#define DFLEXDPMLE1_DPMLETC(n, x) ((x) << (4 * (n)))
1997+
19931998
/* BXT PHY Ref registers */
19941999
#define _PORT_REF_DW3_A 0x16218C
19952000
#define _PORT_REF_DW3_BC 0x6C18C

0 commit comments

Comments
 (0)