Resend of message in plain text form.


I understand the concepts involved in this project but that doesn't help me 
actually make use of it.

Is there a sample of how to put the mux and (if feasible) I2C clients in a DTS?

Also is there a user application sample of how to access the devices downstream 
from the mux?  Are the mux's created as a device so that the devices downstream 
are accessed as non-mux'd devices?  i.e. is dev D in segment 2 (from the 
diagram on the wiki) accessed as so:

int fd;
fd = open( "/dev/i2c-2", O_RDWR );

#define ADDRESS 0x38 // address of dev D
ioctl( fd, I2C_SLAVE, ADDRESS )

// Now r/w dev D

// Write 0xAA to dev D
i2c_smbus_write_byte( fd, 0xAA );
// etc.



--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to