Skip to content
Commit e00030f6 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

regulator: rpi_panel_v2: Add delay on I2C reads



As with many microcontrollers, the panel wants to use clock
stretching during a read so that the appropriate return value
can be generated and programmed into the hardware.
With Pi0-3 really not supporting clock stretching, this resulted
in the panel firmware dying.

Insert a delay between the write and the read to give the firmware
a chance to generate the relevant return value.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 703a23af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment