1# i2c_interface
2
3## Description
4
5I2C interface to a device.
6
7Direct I2C communication to the device will be performed using the
8[i2c-dev API](https://www.kernel.org/doc/Documentation/i2c/dev-interface).
9
10To avoid race conditions and conflicts, no device driver should be bound to the
11device.
12
13## Properties
14
15| Name    | Required | Type   | Description                                                                                                         |
16| :------ | :------: | :----- | :------------------------------------------------------------------------------------------------------------------ |
17| bus     |   yes    | number | I2C bus number of the device. The first bus is 0.                                                                   |
18| address |   yes    | string | 7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes. |
19
20## Example
21
22```json
23{
24  "bus": 1,
25  "address": "0x70"
26}
27```
28