Thread (24 messages) 24 messages, 3 authors, 2015-07-13

Re: [PATCH-v3 02/11] i2c: pxa: No need to set slave addr for i2c master mode reset

flat view

From: Wolfram Sang <hidden>
Date: 2015-07-10 14:14:58
Also in: linux-arm-kernel, linux-i2c, lkml

On Fri, Jul 10, 2015 at 06:08:43PM +0530, Vaibhav Hiremath wrote:

On Friday 10 July 2015 01:41 PM, Wolfram Sang wrote:
quoted
On Tue, Jul 07, 2015 at 12:54:46AM +0530, Vaibhav Hiremath wrote:
quoted
Normally i2c controller works as master, so slave addr is not needed, or it
will impact some slave device (eg. ST NFC chip) i2c accesses, because it has
the same i2c address with controller.
Just to make sure: Does it? As I read the code, slave interrupts are
enabled later only when slave mode is selected? Is that a HW bug? And if
so, can't the code just be moved into this #ifdef block later?
Yes we could, infact I thought about it;
but I would break recommended sequence here.
And did you set the "own slave address" to a value which one of your
existing i2c slaves also has (without enabling slave mode)? Did it
disturb communication?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help