Thread (26 messages) 26 messages, 7 authors, 2015-02-24

Re: [RFC 01/11] i2c: add quirk structure to describe adapter flaws

flat view

From: Wolfram Sang <hidden>
Date: 2015-01-19 15:00:27
Also in: linux-arm-kernel, linux-i2c, linux-mips, lkml

Hi,
This can describe the behavior of our current upstream driver[1], which
only support combine write-then-read.

After checking with Xudong & HW guys, it seems our HW can do more. 
On MT8135, it can support at most 2 messages, no matter read or write,
with the limitation that the length of the second message must <=
31bytes.

So this RFC is enough for our driver, but it would be better if we could
also support other case.
Hmm, I think we can convert max_comb_{read|write}_len to
max_comb_{1st|2nd}_msg_len or similar.

I'll check but it will probably not before next week.

Thanks for the input!

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