Re: [PATCH] i2c: Add generic support passing secondary devices addresses

From: Lars-Peter Clausen
Date: Sun Sep 21 2014 - 15:23:33 EST


On 09/21/2014 07:49 PM, Wolfram Sang wrote:

This raises the first question for me: Are the additional addresses
configurable? Sadly, I can't find good documentation for the adv7604.
Otherwise, if I know I have a adv7604 and know its addresses, this
information should go into the driver and not the DT.


They are. The current driver hard codes the other addresses, but that's not
working when you have multiple adv7604s on the same I2C bus.

How is this configured? I can't imagine every address has its own
setting, but rather some 1-3 pins which select a certain block of
addresses?


Every secondary address has its own register and can be set to any valid I2C address.

- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/