i2c-imx
Driver for inter-integrated circuits on the NXP i.MX 8M Plus EVK board.
Syntax:
i2c-imx [board_specific_option [board_specific_option]...]
[generic_option [generic_option]...]]
Runs on:
QNX OS
Options:
There are i.MX 8MP EVK board-specific (single-dash) and generic
(double-dash) options available.
CAUTION:
The i.MX 8MP EVK board-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
i.MX 8MP EVK board-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.
- -s slave
- Slave address, the default is 0x38
- -t itype
- I2C controller type. 0: i.MX, 1: S32/LS1/LS2, the default is 0.
- -v
- Set to be verbose.
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: