Register I2C devices on different channels to pca9548

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Register I2C devices on different channels to pca9548

1,189 次查看
yaotienhuang
Contributor II

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.

2 回复数

909 次查看
Pavel
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

909 次查看
yaotienhuang
Contributor II

On my board, main CPU is intel x86 family, it don't support device tree.

Dose other plan can fix my problem?

Thanks.

0 项奖励
回复