I2C type-specific Parameters#
The I2C type specific parameters are as follows:
Parameter |
Description |
|---|---|
I2c-controller-id |
Specifies the controller ID of I2C. |
slave-add |
Provides the 7-bit secondary address. |
reg-data-size |
Specifies the register size in bits: 0 or 8:1 byte 16: 2 byte |
reg-add-size |
Specifies the register address size in bits: 0 or 8:1 byte 16: 2 byte |
Commands can be MMIO or I2C.
The information is in the format
<address>.<mask>=<data>,to support the read-modify-write sequence.All commands are indexed, to facilitate multiple commands in a given block.
Commands are sent to device is in sequence, starting from index 0.
The command syntax is as follows:
commands[command-index].<addr>.<mask> = <data>;