Skip to content

Rpi 4.4.y: HDMI hotplug detection, overlay cleanup #1457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 10, 2016

Conversation

anholt
Copy link
Contributor

@anholt anholt commented May 6, 2016

I finally got a rework of the overlay to work (mostly just irritating debug from overlays not validating well and silently failing to apply at runtime), so I could get HDMI hotplug detection fixed. The commits on this branch should apply to 4.5.y as well.

@popcornmix
Copy link
Collaborator

@pelwell are you happy with DT changes?

@pelwell
Copy link
Contributor

pelwell commented May 7, 2016

Yes, apart from the fact that the pixelvalve2 node is enabled by default. The overlay already contains the necessary status="okay" to enable it, so I just want a single line added.

anholt added 3 commits May 9, 2016 10:50
This should clarify what's going on with the overlay: The hardware is
always present, we're just enabling the DT node so that the vc4 driver
probes.

The interrupts are left in the overlay, because the firmware doesn't
check node status before masking out the vc4 interrupts.

By having the nodes in the common file, we'll be able to correctly
connect the HDMI HPD GPIO so that we can detect whether an HDMI
monitor is connected.

Signed-off-by: Eric Anholt <[email protected]>
The CM is left out, because I haven't found a source for how the CM's
HPD is connected.

Signed-off-by: Eric Anholt <[email protected]>
Now that we have the HDMI HPD GPIOs correctly identified in the DT, we
should be able to successfully detect HDMI.

This reverts commit fbec01e.

Signed-off-by: Eric Anholt <[email protected]>
@anholt anholt force-pushed the rpi-4.4.y-vc4-hpd branch from 5752380 to 7da44d0 Compare May 9, 2016 18:05
@anholt
Copy link
Contributor Author

anholt commented May 9, 2016

Re-pushed the branch with pixelvalve fixed up.

@pelwell
Copy link
Contributor

pelwell commented May 9, 2016

Looks good to me.

@popcornmix popcornmix merged commit 5bc0a41 into raspberrypi:rpi-4.4.y May 10, 2016
@anholt anholt deleted the rpi-4.4.y-vc4-hpd branch May 13, 2016 02:21
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 13, 2016
kernel: adau1977-adc: Add basic machine driver for adau1977 codec driver
See: raspberrypi/linux#1454

kernel: Allow up to 24dB digital gain to be applied when using IQAudIO DAC
See: raspberrypi/linux#1458

kernel: config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE
See: raspberrypi/linux#1456

kernel: Rpi 4.4.y: HDMI hotplug detection, overlay cleanup
See: raspberrypi/linux#1457

kernel: BCM270X_DT: Add umbrella I2C Mux overlay i2c-mux
See: raspberrypi/linux#1465

kernel: BCM270X_DT: Fix the tinylcd35 overlay RTC support

firmware: ldconfig: Support filter based on gpio level
firmware: ldconfig: Allow specifying a overlay_prefix from config.txt
See: #593

firmware: dispmanx: Avoid dispmanx updates when running vc4-kms-v3d driver
See: #595

firmware: RIL Camera: Correct buffer size checking for RGB and BGR888
firmware: RIL video_encode: Add support for levels 4.1 and 4.2
firmware: IMX219: Add assert on failure to init
firmware: imx219: New VGA and full FOV 720p modes
firmware: imx219: Reorder modes to roughly match OV5647
firmware: imx219: Enable sensor DPC
See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=145815
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request May 13, 2016
kernel: adau1977-adc: Add basic machine driver for adau1977 codec driver
See: raspberrypi/linux#1454

kernel: Allow up to 24dB digital gain to be applied when using IQAudIO DAC
See: raspberrypi/linux#1458

kernel: config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE
See: raspberrypi/linux#1456

kernel: Rpi 4.4.y: HDMI hotplug detection, overlay cleanup
See: raspberrypi/linux#1457

kernel: BCM270X_DT: Add umbrella I2C Mux overlay i2c-mux
See: raspberrypi/linux#1465

kernel: BCM270X_DT: Fix the tinylcd35 overlay RTC support

firmware: ldconfig: Support filter based on gpio level
firmware: ldconfig: Allow specifying a overlay_prefix from config.txt
See: raspberrypi/firmware#593

firmware: dispmanx: Avoid dispmanx updates when running vc4-kms-v3d driver
See: raspberrypi/firmware#595

firmware: RIL Camera: Correct buffer size checking for RGB and BGR888
firmware: RIL video_encode: Add support for levels 4.1 and 4.2
firmware: IMX219: Add assert on failure to init
firmware: imx219: New VGA and full FOV 720p modes
firmware: imx219: Reorder modes to roughly match OV5647
firmware: imx219: Enable sensor DPC
See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=145815
neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this pull request Feb 27, 2017
kernel: adau1977-adc: Add basic machine driver for adau1977 codec driver
See: raspberrypi/linux#1454

kernel: Allow up to 24dB digital gain to be applied when using IQAudIO DAC
See: raspberrypi/linux#1458

kernel: config: Add CONFIG_DRM_LOAD_EDID_FIRMWARE
See: raspberrypi/linux#1456

kernel: Rpi 4.4.y: HDMI hotplug detection, overlay cleanup
See: raspberrypi/linux#1457

kernel: BCM270X_DT: Add umbrella I2C Mux overlay i2c-mux
See: raspberrypi/linux#1465

kernel: BCM270X_DT: Fix the tinylcd35 overlay RTC support

firmware: ldconfig: Support filter based on gpio level
firmware: ldconfig: Allow specifying a overlay_prefix from config.txt
See: raspberrypi#593

firmware: dispmanx: Avoid dispmanx updates when running vc4-kms-v3d driver
See: raspberrypi#595

firmware: RIL Camera: Correct buffer size checking for RGB and BGR888
firmware: RIL video_encode: Add support for levels 4.1 and 4.2
firmware: IMX219: Add assert on failure to init
firmware: imx219: New VGA and full FOV 720p modes
firmware: imx219: Reorder modes to roughly match OV5647
firmware: imx219: Enable sensor DPC
See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=145815
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.

3 participants