public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
Cc: linux-i2c@vger.kernel.org
Subject: Re: I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case
Date: Fri, 30 Jul 2021 16:28:58 +0200	[thread overview]
Message-ID: <87mtq3zxhx.fsf@BL-laptop> (raw)
In-Reply-To: <20210729073100.GA8757@lemon.iwr.uni-heidelberg.de>

Hello Hermann,

> Dear Maintainers,
>
> 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.

Grégory

>
> I'd like to make the patch https://bitbucket.org/hlauer/kernel/src/master/patches/i2c-buslock.patchl working for that chip, too.
>
> Thanks for any ideas.
>
> Greetings
>   Hermann
>
> -- 
> Administration/Zentrale Dienste, Interdiziplinaeres 
> Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
> IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
> Email: Hermann.Lauer@iwr.uni-heidelberg.de

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

  reply	other threads:[~2021-07-30 14:32 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 [this message]
2021-08-23 14:38   ` Hermann.Lauer

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=87mtq3zxhx.fsf@BL-laptop \
    --to=gregory.clement@bootlin.com \
    --cc=Hermann.Lauer@iwr.uni-heidelberg.de \
    --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