Re: Driver for pca9541 bus master selector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 30, 2010 at 01:59:44AM -0400, Michael Lawnick wrote:
[ ... ]

> I only took a rough look, but it seemed to me that the pca is part of
> the main device.

Yes

> From abstraction side of view your problem seems a matter of
> synchronization of two independent computer systems. You will need a
> shared resource. The access to it could either be part of driver code or
> by introducing a 'one-channel multiplexer' as you did. But the sync
> needs to be done by your code via a shared data object.
> 
Actually, the pca9541 has a bit in its register set which I can use.
See NTESTON in its control register. That is visible as interrupt status
at the other master. That is all I need, and reduces complexity significantly.

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux