From: Hermann.Lauer@uni-heidelberg.de
To: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: linux-i2c@vger.kernel.org
Subject: Re: Re: I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case
Date: Mon, 23 Aug 2021 16:38:34 +0200 [thread overview]
Message-ID: <20210823143834.GP8757@lemon.iwr.uni-heidelberg.de> (raw)
In-Reply-To: <87mtq3zxhx.fsf@BL-laptop>
Hello Grégory,
On Fri, Jul 30, 2021 at 04:28:58PM +0200, Gregory CLEMENT wrote:
> > 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
> > I'd like to make the patch https://bitbucket.org/hlauer/kernel/src/master/patches/i2c-buslock.patchl working for that chip, too.
prev parent reply other threads:[~2021-08-23 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-29 7:31 I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case Hermann Lauer
2021-07-30 14:28 ` Gregory CLEMENT
2021-08-23 14:38 ` Hermann.Lauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210823143834.GP8757@lemon.iwr.uni-heidelberg.de \
--to=hermann.lauer@uni-heidelberg.de \
--cc=gregory.clement@bootlin.com \
--cc=linux-i2c@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox