i2c-imx

Driver for inter-integrated circuits on the Variscite i.MX8MP DART Board.

Syntax:

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

Runs on:

QNX OS

Options:

There are Variscite i.MX8MP DART-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The Variscite i.MX8MP DART-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 

Variscite i.MX8MP DART-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.
-p physical base
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. 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 spend to the device name. The default is 0.
Page updated: