Page MenuHomeFreeBSD

arm: allwinner: Add a DRM driver for Allwinner DE2
Needs ReviewPublic

Authored by manu on Jan 8 2020, 12:43 PM.

Details

Reviewers
imp
mmel
Group Reviewers
ARM
arm64
Summary

This drm driver is made out of multiple drivers :

  • aw_de2_mixer: For the mixer (hardware compositor) device
  • aw_de2_tcon: The CRTC controller that handle TMDS, RGB or LVDS It takes pixels from the mixer engine, convert it to the proper format and send it to the bridge/encoder unit.
  • aw_de2_hdmi_phy; The PHY for the hdmi controller
  • aw_de2_dw_hdmi: The HDMI controller
  • aw_de2_{ui,vi}_plane: Handle the different planes types available
  • aw_de2: A simplebus-like device under which the clock unit and the two mixers lives.
  • aw_de2_drm: The main DRM device driver, it reads the allwinner,pipelines property and setup the different part of the pixel flow.

This driver is fully drm atomic compliant.

Test Plan

Tested-On: OrangePi One (H3), OrangePi-PC2 (H5), Pine64-LTS (A64), PineBook (A64)

Diff Detail

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