[PATCH v2 1/4] drm/dp: Add AUX channel infrastructure

2013-12-20 Thread Thierry Reding
On Fri, Dec 20, 2013 at 03:08:21PM +0200, Jani Nikula wrote: > On Tue, 17 Dec 2013, Thierry Reding wrote: [...] > > +/** > > + * drm_dp_dpcd_writeb() - write a single byte to the DPCD > > + * @aux: DisplayPort AUX channel > > + * @offset: address of the register to write > > + * @valuep: value to

[PATCH v2 1/4] drm/dp: Add AUX channel infrastructure

2013-12-20 Thread Jani Nikula
On Tue, 17 Dec 2013, Thierry Reding wrote: > 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 help

[PATCH v2 1/4] drm/dp: Add AUX channel infrastructure

2013-12-20 Thread Thierry Reding
On Tue, Dec 17, 2013 at 06:44:30PM +0200, Jani Nikula wrote: > On Tue, 17 Dec 2013, Thierry Reding wrote: [...] > > +/** > > + * drm_dp_dpcd_write() - write a series of bytes to the DPCD > > + * @aux: DisplayPort AUX channel > > + * @offset: address of the (first) register to write > > + * @buffer

[PATCH v2 1/4] drm/dp: Add AUX channel infrastructure

2013-12-17 Thread Jani Nikula
On Tue, 17 Dec 2013, Thierry Reding wrote: > 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 help

[PATCH v2 1/4] drm/dp: Add AUX channel infrastructure

2013-12-17 Thread Thierry Reding
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 D