On 07/31/2013 08:13 AM, Mark Rutland wrote: > On Mon, Jul 29, 2013 at 10:59:26PM +0100, Stephen Warren wrote: >> On 07/27/2013 07:23 AM, Marc Dietrich wrote: >>> Hi, >>> >>> this is an RFC for an mfd device introduced here [1]. I didn't got much >>> response, except from Stephen, but that bothered me enough already ;-) ... [propose binding for Tegra I2C slave controller, and NVEC protocol components] >> One question I have here: There is a single I2C HW module on Tegra that >> can act either as a master or a slave. I don't think it can do both at >> once. Should we: ... > > Is that configurable at run-time, or an integration decision? It's certainly a run-time decision whether to operate the HW in master or slave mode, and this is independent from anything on the board, except of course for whether it actually makes sense to use master or slave mode purely based on which external components are hooked up to the bus. I imagine that at least by appropriately resetting or reconfiguring it, you could switch roles at run-time too. I don't know if you can actually actively use both the master and slave portions of the HW at the exact same time independently though. Marc is right that the diagrams in the documentation certainly imply you can use both at the same time, although I'm not totally convinced looking at the registers. I'm CCing Laxman to answer that question, since he knows the HW better than I. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html