From: Wolfram Sang <wsa@kernel.org>
To: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-i2c@vger.kernel.org, peter@korsgaard.com, andrew@lunn.ch,
paul.walmsley@sifive.com, palmer@dabbelt.com,
aou@eecs.berkeley.edu
Subject: Re: [PATCH v4 1/1] i2c: ocores: fix polling mode workaround on FU540-C000 SoC
Date: Tue, 3 Nov 2020 22:11:26 +0100 [thread overview]
Message-ID: <20201103211126.GF1583@kunai> (raw)
In-Reply-To: <1603291814-240377-2-git-send-email-sagar.kadam@sifive.com>
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
On Wed, Oct 21, 2020 at 07:50:14AM -0700, Sagar Shrikant Kadam wrote:
> The FU540-C000 has a broken IRQ and support was added earlier
> so that it will operate in polling mode, but seems to work only
> in case interrupts property is missing from the i2c0 dt-node.
> This should not be the case and the driver should handle polling
> mode with the interrupt property present in i2c0 node of the
> device tree.
> So check if it's the FU540-C000 soc and enable polling mode master
> xfers, as the IRQ for this chip is broken.
>
> Fixes commit c45d4ba86731 ("i2c: ocores: add polling mode workaround
> for Sifive FU540-C000 SoC")
>
> Signed-off-by: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@kernel.org>
To: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Cc: andrew@lunn.ch, peter@korsgaard.com, aou@eecs.berkeley.edu,
linux-kernel@vger.kernel.org, palmer@dabbelt.com,
linux-i2c@vger.kernel.org, paul.walmsley@sifive.com,
linux-riscv@lists.infradead.org
Subject: Re: [PATCH v4 1/1] i2c: ocores: fix polling mode workaround on FU540-C000 SoC
Date: Tue, 3 Nov 2020 22:11:26 +0100 [thread overview]
Message-ID: <20201103211126.GF1583@kunai> (raw)
In-Reply-To: <1603291814-240377-2-git-send-email-sagar.kadam@sifive.com>
[-- Attachment #1.1: Type: text/plain, Size: 741 bytes --]
On Wed, Oct 21, 2020 at 07:50:14AM -0700, Sagar Shrikant Kadam wrote:
> The FU540-C000 has a broken IRQ and support was added earlier
> so that it will operate in polling mode, but seems to work only
> in case interrupts property is missing from the i2c0 dt-node.
> This should not be the case and the driver should handle polling
> mode with the interrupt property present in i2c0 node of the
> device tree.
> So check if it's the FU540-C000 soc and enable polling mode master
> xfers, as the IRQ for this chip is broken.
>
> Fixes commit c45d4ba86731 ("i2c: ocores: add polling mode workaround
> for Sifive FU540-C000 SoC")
>
> Signed-off-by: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Applied to for-next, thanks!
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2020-11-03 21:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 14:50 [PATCH v4 0/1] fix i2c polling mode workaround for FU540-C000 SoC Sagar Shrikant Kadam
2020-10-21 14:50 ` Sagar Shrikant Kadam
2020-10-21 14:50 ` [PATCH v4 1/1] i2c: ocores: fix polling mode workaround on " Sagar Shrikant Kadam
2020-10-21 14:50 ` Sagar Shrikant Kadam
2020-10-21 15:46 ` Peter Korsgaard
2020-10-21 15:46 ` Peter Korsgaard
2020-10-23 11:55 ` Sagar Kadam
2020-10-23 11:55 ` Sagar Kadam
2020-11-03 21:11 ` Wolfram Sang [this message]
2020-11-03 21:11 ` Wolfram Sang
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=20201103211126.GF1583@kunai \
--to=wsa@kernel.org \
--cc=andrew@lunn.ch \
--cc=aou@eecs.berkeley.edu \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=peter@korsgaard.com \
--cc=sagar.kadam@sifive.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.