Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

How do I setup a PCA9547 muxed i2c on by board file?

$
0
0

I have a board based on a da850 evm (omapl138). It has a PCA9547 connected to the omap. There is a device on channel 7 that has a driver available (call it FOO). How can I:

1. Instantiate the pca9547 driver? I've tried using the I2C_BOARD_INFO()/i2c_register_board_info() method.

2. Add the FOO device to channel 7 of the mux?

There is a pcs954x driver. However, I don;t know how to access the device/adapter/client it instantiates. I feel there must be an easier way. Also, the reason I'm trying us the drivers from by board file is that there will be userspace programs that will need to access the muxed devices. Thanks for any help!

Eric


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>