SYNOPSIS

int i2c_dp_aux_add_bus(struct i2c_adapter * adapter);

ARGUMENTS

adapter

i2c adapter to register

DESCRIPTION

This registers an i2c adapter that uses dp aux channel as it's underlaying transport. The driver needs to fill out the i2c_algo_dp_aux_data structure and store it in the algo_data member of the adapter argument. This will be used by the i2c over dp aux algorithm to drive the hardware.

RETURNS

0 on success, -ERRNO on failure.

IMPORTANT

This interface is deprecated, please switch to the new dp aux helpers and drm_dp_aux_register.

AUTHORS

Jesse Barnes <[email protected]>

Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>

Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>

Intel Corporation,

Contributions all over the place

COPYRIGHT