[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200704060359.GA1041@kunai>
Date: Sat, 4 Jul 2020 08:03:59 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Chris Packham <chris.packham@...iedtelesis.co.nz>
Cc: andriy.shevchenko@...ux.intel.com,
Mark Tomlinson <mark.tomlinson@...iedtelesis.co.nz>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] i2c: algo-pca: Add 0x78 as SCL stuck low status
On Thu, Jul 02, 2020 at 10:39:11AM +1200, Chris Packham wrote:
> The PCA9665 datasheet says that I2CSTA = 78h indicates that SCL is stuck
> low, this differs to the PCA9564 which uses 90h for this indication.
> Treat either 0x78 or 0x90 as an indication that the SCL line is stuck.
>
> Based on looking through the PCA9564 and PCA9665 datasheets this should
> be safe for both chips. The PCA9564 should not return 0x78 for any valid
> state and the PCA9665 should not return 0x90.
>
> Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists