Skip to content

Minor panel fixups - #6176

Merged
pelwell merged 2 commits into
raspberrypi:rpi-6.6.yfrom
6by9:rpi-6.6.y-dsi0
May 17, 2024
Merged

pelwell merged 2 commits into
raspberrypi:rpi-6.6.yfrom
6by9:rpi-6.6.y-dsi0

Conversation

@6by9

@6by9 6by9 commented May 17, 2024

Copy link
Copy Markdown
Contributor

Working around a quirk of the panel on Pi1-3.

Shutting down cleanly.

@6by9
6by9 marked this pull request as draft May 17, 2024 14:34
@6by9

6by9 commented May 17, 2024

Copy link
Copy Markdown
Contributor Author

Shutdown hook is stopping shutdown - investigating.

6by9 added 2 commits May 17, 2024 15:41
Add shutdown and remove hooks so that the panel gets powered
off with the system.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
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: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9
6by9 force-pushed the rpi-6.6.y-dsi0 branch from 5278643 to a2bf679 Compare May 17, 2024 14:42
@6by9
6by9 marked this pull request as ready for review May 17, 2024 14:45
@6by9

6by9 commented May 17, 2024

Copy link
Copy Markdown
Contributor Author

Doh, helps to call i2c_set_clientdata if you want to use i2c_get_clientdata.
Fixed.

@pelwell
pelwell merged commit f1a2a9a into raspberrypi:rpi-6.6.y May 17, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 20, 2024
kernel: RGB order override for DPI
See: raspberrypi/linux#6156

kernel: Minor panel fixups
See: raspberrypi/linux#6176

kernel: dtoverlays: Fix noints mode of mcp23017
See: raspberrypi/linux#6174

kernel: DTS: bcm2712: set nonzero QoS values for PCIE1
See: raspberrypi/linux#6171

kernel: staging: bcm2835_codec: Pass framerate to the component if set late
See: raspberrypi/linux#6108

kernel: spi: dw: Handle any number of gpiod CS lines
See: raspberrypi/linux#6161
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 20, 2024
kernel: RGB order override for DPI
See: raspberrypi/linux#6156

kernel: Minor panel fixups
See: raspberrypi/linux#6176

kernel: dtoverlays: Fix noints mode of mcp23017
See: raspberrypi/linux#6174

kernel: DTS: bcm2712: set nonzero QoS values for PCIE1
See: raspberrypi/linux#6171

kernel: staging: bcm2835_codec: Pass framerate to the component if set late
See: raspberrypi/linux#6108

kernel: spi: dw: Handle any number of gpiod CS lines
See: raspberrypi/linux#6161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants