diff options
author | Torsten Duwe <duwe@lst.de> | 2019-10-29 15:16:57 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2019-11-08 12:27:53 +0300 |
commit | dea73d61466e4f09c8184f7bb5375975878645b3 (patch) | |
tree | d755d550af410d97ba40deb8b3cf24e78b9469f5 /drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h | |
parent | 0712eca92c3e6611ec4dc1bc127a30d3882c4336 (diff) | |
download | linux-dea73d61466e4f09c8184f7bb5375975878645b3.tar.xz |
drm/bridge: Prepare Analogix anx6345 support
Add bit definitions required for the anx6345 and add a
sanity check in anx_dp_aux_transfer.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Torsten Duwe <duwe@suse.de>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107135218.01C2168C4E@verein.lst.de
Diffstat (limited to 'drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h')
-rw-r--r-- | drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h b/drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h index 677e78fb862f..3c843497d835 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h +++ b/drivers/gpu/drm/bridge/analogix/analogix-i2c-txcommon.h @@ -177,6 +177,9 @@ #define SP_VBIT BIT(1) #define SP_AUDIO_LAYOUT BIT(0) +/* Analog Debug Register 1 */ +#define SP_ANALOG_DEBUG1_REG 0xdc + /* Analog Debug Register 2 */ #define SP_ANALOG_DEBUG2_REG 0xdd #define SP_FORCE_SW_OFF_BYPASS 0x20 |