Re: [PATCH v2 8/9] regulator/rpi-panel-attiny: Don't read the LCD power status

Mark Brown
2022-01-21T16:30:52Z

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

On Fri, Jan 21, 2022 at 10:20:55AM -0500, Detlev Casanova wrote:
> From: Dave Stevenson <dave.stevenson@raspberrypi.com>
>
> The I2C to the Atmel is very fussy, and locks up easily on
> Pi0-3 particularly on reads.
>
> The LCD power status is controlled solely by this driver, so
> rather than reading it back from the Atmel, use the cached
> status last set.

If that's the case since you're using regmap would it not make sense to
enable caching in order to minimise reads in general.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]