i2c-imx

Driver for inter-integrated circuits on the Honeycomb LX2 Workstation.

Syntax:

i2c-imx [board_specific_option [board_specific_option]...]
         [generic_option [generic_option]...]]

Runs on:

QNX OS

Options:

There are Honeycomb LX2-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The Honeycomb LX2-specific options must always appear before generic options, otherwise the driver fails to initialize. For example, the correct sequence would as follows:
i2c-imx -v --u0 
However, if you incorrectly issue the command in the wrong sequence as shown here, it will fail:
i2c-imx --u0 -v 

Honeycomb LX2-specific options:

These are the board-specific options available for this driver.

-c clock
Input clock. If this option isn't specified, the default is 66500000 Hz.
-i irq
The I2C interrupt event number, the default is -1.
-l
Need _NTO_TCTL_IO_PRIV.
-p physbase
I2C controller physical base address, the default is 0.
-s slave
Slave address, the default is 0.
-t itype
I2C controller type. 0: i.MX, 1: S32/LS1/LS2, the default is 0.
-v
Set to be verbose, the default is 2.

Generic options:

These are generic options for the driver.

--b
The default bus speed. If this option isn't specified, the default is 100000.
--u unit
The unit number to append to the device name prefix (/dev/i2c). The default is 0.
Page updated: