Thierry Reding c197db75ff drm/dp: Add AUX channel infrastructure
This is a superset of the current i2c_dp_aux bus functionality and can
be used to transfer native AUX in addition to I2C-over-AUX messages.

Helpers are provided to read and write the DPCD, either blockwise or
byte-wise. Many of the existing helpers for DisplayPort take a copy of a
portion of the DPCD and operate on that, without a way to write data
back to the DPCD (e.g. for configuration of the link).

Subsequent patches will build upon this infrastructure to provide common
functionality in a generic way.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
Changes in v5:
- move comments partially to struct drm_dp_aux_msg in header file
- return -EPROTO on short reads in DPCD helpers

Changes in v4:
- fix a typo in a comment

Changes in v3:
- reorder drm_dp_dpcd_writeb() arguments to be more intuitive
- return number of bytes transferred in drm_dp_dpcd_write()
- factor out drm_dp_dpcd_access()
- describe error codes
2014-02-26 17:21:32 +01:00
..
2010-08-10 08:20:20 +10:00
2013-08-19 10:32:26 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-12-17 18:09:43 +01:00
2013-08-07 10:16:50 +10:00
2013-12-18 11:35:45 +10:00
2013-12-17 18:09:46 +01:00
2013-05-23 12:51:32 +02:00
2011-02-07 13:09:42 +10:00
2012-03-10 13:06:04 +00:00
2013-11-08 18:09:36 +01:00