---
name: "i2c_dp_aux_add_bus"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/i2c_dp_aux_add_bus"
---

# i2c\_dp\_aux\_add\_bus(9)

register an i2c adapter using the aux ch helper

## NAME

i2c\_dp\_aux\_add\_bus - register an i2c adapter using the aux ch helper

## 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** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
