Hi,
We used pca9548 to connect many devices. For example, channel 3 connect an EEPROM and channel 4 connect tmp421 sensor.
Currently, we can see two device nodes for channel 3 and channel 4. We hope tmp421 sensor as a device node in system. Do you know how to register I2C devices on different channels to pca9548 by i2c_new_device()?
Thanks.
Look at the following pages:
linux/arch/arm/boot/dts/zynq-zc702.dts - Elixir - Free Electrons
and
Solved: ds2482 driver registered for i2c-1 but not i2c-8 - Community Forums
See also the following documents:
http://cache.nxp.com/docs/en/application-note/AN5125.pdf?fsrch=1&sr=5&pageNum=1
and
http://cache.nxp.com/docs/en/user-guide/QCVS_HWDT_User_Guide.pdf?fsrch=1&sr=8&pageNum=1
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
On my board, main CPU is intel x86 family, it don't support device tree.
Dose other plan can fix my problem?
Thanks.