From 37550d80c9eaf5a3e77a20b90306736194bc8a40 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 2 Apr 2012 15:45:13 -0500 Subject: [PATCH] dp_raw: Add AUX communication defines --- headers/private/graphics/common/dp_raw.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/headers/private/graphics/common/dp_raw.h b/headers/private/graphics/common/dp_raw.h index 6a717e4a30..c3c59c9162 100644 --- a/headers/private/graphics/common/dp_raw.h +++ b/headers/private/graphics/common/dp_raw.h @@ -9,6 +9,26 @@ #define _DP_RAW_H +/* ****************************************************** */ +/* *** AUX Channel Communications *** */ +// Native AUX Communications +#define AUX_NATIVE_WRITE 0x8 +#define AUX_NATIVE_READ 0x9 +#define AUX_NATIVE_REPLY_ACK (0x0 << 4) +#define AUX_NATIVE_REPLY_NACK (0x1 << 4) +#define AUX_NATIVE_REPLY_DEFER (0x2 << 4) +#define AUX_NATIVE_REPLY_MASK (0x3 << 4) +// AUX i2c Communications +#define AUX_I2C_WRITE 0x0 +#define AUX_I2C_READ 0x1 +#define AUX_I2C_STATUS 0x2 +#define AUX_I2C_MOT 0x4 +#define AUX_I2C_REPLY_ACK (0x0 << 6) +#define AUX_I2C_REPLY_NACK (0x1 << 6) +#define AUX_I2C_REPLY_DEFER (0x2 << 6) +#define AUX_I2C_REPLY_MASK (0x3 << 6) + + /* ****************************************************** */ /* *** DPCD (DisplayPort Configuration Data) *** */ /* *** Read / Written over DisplayPort AUX link *** */