-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator/rpi-panel-attiny: Don't read the LCD power status
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. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> regulator/rpi-panel: Power off display on shutdown Adds a shutdown function to turn off the backlight, bridge, and touch controller on shutdown. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> regulator/rpi-panel: Remove the ID read Reading from the Atmel has always been troublesome due to clock stretching, and the driver does nothing with it anyway. Remove the read and assume that if the overlay has been configured (most likely through the firmware autodetection) that the hardware is present. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
- Loading branch information
1 parent
e56ea77
commit 2d07650
Showing
1 changed file
with
10 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters