Thread (3 messages) 3 messages, 3 authors, 2021-08-23

Re: Re: I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case

From: <hidden>
Date: 2021-08-23 14:45:46

Hello Grégory,

On Fri, Jul 30, 2021 at 04:28:58PM +0200, Gregory CLEMENT wrote:
quoted
if Allwinner i2c locks, the is a LCR register (reg_base + 0x20),
which shows directly the state of the SCL and SDA lines. So you can
see which line (if any) is pulled externally low.

Is there a similar usefull register in the original MV64XXX MARVELL
chip?
I've check on the Armada 38x datasheet and at least on this one there is
no such register or register with similar information. That's mean you
won't be able to use it for any device only the Allwinner ones.
Thanks for looking! So, is ifdefing in the driver then the best solution to
display that valueable information?

Thanks for any idea,
 greetings
  Hermann
quoted
I'd like to make the patch https://bitbucket.org/hlauer/kernel/src/master/patches/i2c-buslock.patchl working for that chip, too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help