diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-09-12 13:34:24 +0900 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-09-22 21:39:53 +0000 |
commit | e3c02009003eebf84f7c56c7f330521553c8d299 (patch) | |
tree | e46f7aadc47479976ce8bf8d9892d0bc5c2d5680 /drivers/video/exynos/exynos_dp_reg.h | |
parent | 42affc2de4d96634ba05b4e99313028e878a004c (diff) | |
download | linux-e3c02009003eebf84f7c56c7f330521553c8d299.tar.bz2 |
video: exynos_dp: add bit-masking for LINK_TRAINING_CTL register
This patch adds bit-masking for LINK_TRAINING_CTL register, when
pre-emphasis level is set. The bit 3 and bit 2 of LINK_TRAINING_CTL
register are used for pre-emphasis level setting, so other bits
should be masked.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/exynos/exynos_dp_reg.h')
-rw-r--r-- | drivers/video/exynos/exynos_dp_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/exynos/exynos_dp_reg.h b/drivers/video/exynos/exynos_dp_reg.h index 125b27cd57ae..9e9af50d7da3 100644 --- a/drivers/video/exynos/exynos_dp_reg.h +++ b/drivers/video/exynos/exynos_dp_reg.h @@ -285,6 +285,7 @@ #define SW_TRAINING_PATTERN_SET_NORMAL (0x0 << 0) /* EXYNOS_DP_LN0_LINK_TRAINING_CTL */ +#define PRE_EMPHASIS_SET_MASK (0x3 << 3) #define PRE_EMPHASIS_SET_SHIFT (3) /* EXYNOS_DP_DEBUG_CTL */ |