Register I2C devices on different channels to pca9548

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Register I2C devices on different channels to pca9548

1,515件の閲覧回数
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 返答(返信)

1,235件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

1,235件の閲覧回数
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 件の賞賛
返信