Skip to content

Display driver fixups#7332

Open
6by9 wants to merge 3 commits intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm
Open

Display driver fixups#7332
6by9 wants to merge 3 commits intoraspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm

Conversation

@6by9
Copy link
Copy Markdown
Contributor

@6by9 6by9 commented Apr 23, 2026

Minor fixups to for this display for the upstream version of the regulator driver.

6by9 added 3 commits April 23, 2026 17:43
Not all implementations of the V2 regulator support reading back
the value of registers, which makes the GPIO control fail.
Enable the regmap caching to avoid this.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
The upstream version of the regulator driver exposes a PWM device
rather than backlight, and changes the compatible.
Alter the overlay accordingly.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Allow DT aliases of eg DSI2 to force make DRM allocate the
display with the requested name.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9
Copy link
Copy Markdown
Contributor Author

6by9 commented Apr 23, 2026

Just noticed that we'd lost the patch that allowed assigning a DRM device name to devices (eg to force CAM/DISP1 on Pi5 to be DSI-2) on 6.18, so added that to this PR.

*/
static int rpi_panel_v2_i2c_probe(struct i2c_client *i2c)
{
//unsigned long direction_bitmap = (1 << NUM_GPIO) - 1;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

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