public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
To: gregory.clement@bootlin.com
Cc: linux-i2c@vger.kernel.org
Subject: I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case
Date: Thu, 29 Jul 2021 09:31:00 +0200	[thread overview]
Message-ID: <20210729073100.GA8757@lemon.iwr.uni-heidelberg.de> (raw)

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'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

             reply	other threads:[~2021-07-29  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  7:31 Hermann Lauer [this message]
2021-07-30 14:28 ` I2C MV64XXX: Showing Allwinner debug LCR register in bus lock case Gregory CLEMENT
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=20210729073100.GA8757@lemon.iwr.uni-heidelberg.de \
    --to=hermann.lauer@iwr.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