Page MenuHomeFreeBSD

Split dwc_hdmi core code out from imx6_hdmi
ClosedPublic

Authored by jmcneill on Dec 17 2016, 1:48 PM.
Tags
Referenced Files
Unknown Object (File)
Mar 3 2024, 11:31 AM
Unknown Object (File)
Mar 3 2024, 11:27 AM
Unknown Object (File)
Mar 3 2024, 11:27 AM
Unknown Object (File)
Feb 13 2024, 1:01 AM
Unknown Object (File)
Jan 31 2024, 4:12 PM
Unknown Object (File)
Dec 23 2023, 9:03 AM
Unknown Object (File)
Nov 27 2023, 10:20 PM
Unknown Object (File)
Oct 14 2023, 1:52 AM
Subscribers

Details

Summary

This patch splits out the DesignWare HDMI-specific code from imx6_hdmi.c into a separate file and adds a generic DT binding that takes advantage of the extres framework for setting up clocks.

Test Plan

I tested the generic binding on JZ4780 (CI20), but still needs to be tested on i.MX6.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jmcneill retitled this revision from to Split dwc_hdmi core code out from imx6_hdmi.
jmcneill updated this object.
jmcneill edited the test plan for this revision. (Show Details)
jmcneill added reviewers: ARM, gonzo.
jmcneill set the repository for this revision to rS FreeBSD src repository - subversion.
jmcneill added a project: ARM.
mmel added inline comments.
sys/dev/hdmi/dwc_hdmi_fdt.c
201

This breaks generic kernel. We cannot have multiple modules with same name (a first argument) within single kernel. This is also reason, why using generic name for specific driver is not a best option.
The driver name is not related/linked to anything, but DRIVER_DEPEND(). So you can simply change name without any negative effects.

Change module name from hdmi to dwc_hdmi_fdt.

sys/arm/freescale/imx/imx6_hdmi.c
128

I believe dwc_hdmi_init(dev) call is missing here, otherwise patch looks OK

  • Call dwc_hdmi_init from imx_hdmi_attach
  • Initialize sc_get_i2c_dev in imx_hdmi_attach
gonzo edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 20 2016, 12:44 AM
This revision was automatically updated to reflect the committed changes.