diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-01 14:45:18 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-28 20:26:53 +1000 |
commit | 28164fdad85ec806f30c76fe98ed0e3abc91d2d7 (patch) | |
tree | 9f4b888180bd2dd26cb54f5252b7be0a60037acd /include/drm/drm_dp_helper.h | |
parent | d0ddc0338af8265e65bd5e4ca72e3d8e61e41d8d (diff) | |
download | blackbird-op-linux-28164fdad85ec806f30c76fe98ed0e3abc91d2d7.tar.gz blackbird-op-linux-28164fdad85ec806f30c76fe98ed0e3abc91d2d7.zip |
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/drm/drm_dp_helper.h')
-rw-r--r-- | include/drm/drm_dp_helper.h | 8 |
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 @@ #define MODE_I2C_READ 4 #define MODE_I2C_STOP 8 +/** + * struct i2c_algo_dp_aux_data - driver interface structure for i2c over dp + * aux algorithm + * @running: set by the algo indicating whether an i2c is ongoing or whether + * the i2c bus is quiescent + * @address: i2c target address for the currently ongoing transfer + * @aux_ch: driver callback to transfer a single byte of the i2c payload + */ struct i2c_algo_dp_aux_data { bool running; u16 address; |