aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-01 09:45:18 -0400
committerDave Airlie <airlied@redhat.com>2012-11-28 05:26:53 -0500
commit28164fdad85ec806f30c76fe98ed0e3abc91d2d7 (patch)
tree9f4b888180bd2dd26cb54f5252b7be0a60037acd /include
parentd0ddc0338af8265e65bd5e4ca72e3d8e61e41d8d (diff)
drm/doc: add new dp helpers into drm DocBook
I didn't bother with documenting the really trivial new "extract something from dpcd" helpers, but the i2c over aux ch is now documented a bit. v2: Clarify the comment for i2c_dp_aux_add_bus a bit. v3: Fix more spelling fail spotted by Laurent Pinchart. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_dp_helper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index c09d36741c94..e8e1417af3d9 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -312,6 +312,14 @@
312#define MODE_I2C_READ 4 312#define MODE_I2C_READ 4
313#define MODE_I2C_STOP 8 313#define MODE_I2C_STOP 8
314 314
315/**
316 * struct i2c_algo_dp_aux_data - driver interface structure for i2c over dp
317 * aux algorithm
318 * @running: set by the algo indicating whether an i2c is ongoing or whether
319 * the i2c bus is quiescent
320 * @address: i2c target address for the currently ongoing transfer
321 * @aux_ch: driver callback to transfer a single byte of the i2c payload
322 */
315struct i2c_algo_dp_aux_data { 323struct i2c_algo_dp_aux_data {
316 bool running; 324 bool running;
317 u16 address; 325 u16 address;