[Librem-5-dev] [PATCH 00/12] Initial HDMI support

Guido Günther agx at sigxcpu.org
Mon Oct 29 04:47:42 PDT 2018


Hi Angus,
This series adds initial HDMI support as tested by Nicole. It is
disabled by default (Need to set USE_HDMI in DT to enabel it).

In principle we could drop lots of code for the devkit since we're using
HDMI not DP but let's stay close to NXPs tree for the moment so it's
simpler to fetch stuff from there if needed.

Cheers,
 -- GUido

Guido Günther (12):
  emcraft-som: Add HDMI DT bits
  devkit: Add HDMI DT bits
  Move over hdp files
  Revert "drm/edid: make drm_edid_to_eld() static"
  hdp: Drop imx_hdp_set_property
  dcss: Remove unused variable
  imx-hdp: Nuke drm_atomic_helper_connector_dpms
  imx-hdp: Comment out hdr setting code
  imx-hdp: Adust to current drm
  Build mxc/hdp code
  hdp: Drop firmware loading bits
  devkit: Enable HDMI in defconfig

 .../boot/dts/freescale/emcraft-imx8-som.dts   |   5 +
 arch/arm64/boot/dts/freescale/librem5-evk.dts |   6 +-
 arch/arm64/configs/librem5-evk_defconfig      |   2 +-
 drivers/Makefile                              |   1 +
 drivers/gpu/drm/drm_edid.c                    |   5 +-
 drivers/gpu/drm/imx/dcss/dcss-plane.c         |   1 -
 drivers/gpu/drm/imx/hdp/imx-dp.c              |  14 -
 drivers/gpu/drm/imx/hdp/imx-hdmi.c            |  19 +-
 drivers/gpu/drm/imx/hdp/imx-hdp.c             |  58 +-
 drivers/gpu/drm/imx/hdp/imx-hdp.h             |   2 -
 drivers/mxc/Makefile                          |   1 +
 drivers/mxc/hdp/API_AFE.c                     | 107 ++
 drivers/mxc/hdp/API_AFE.h                     |  84 ++
 drivers/mxc/hdp/API_AVI.c                     | 190 ++++
 .../hdmitx_firmware.h => mxc/hdp/API_AVI.h}   |  40 +-
 drivers/mxc/hdp/API_Audio.c                   | 443 ++++++++
 drivers/mxc/hdp/API_Audio.h                   | 160 +++
 drivers/mxc/hdp/API_DPTX.c                    | 972 ++++++++++++++++++
 drivers/mxc/hdp/API_DPTX.h                    | 429 ++++++++
 drivers/mxc/hdp/API_General.c                 | 475 +++++++++
 drivers/mxc/hdp/API_General.h                 | 244 +++++
 drivers/mxc/hdp/API_HDCP.c                    | 454 ++++++++
 drivers/mxc/hdp/API_HDCP.h                    | 263 +++++
 drivers/mxc/hdp/API_HDMITX.c                  | 512 +++++++++
 drivers/mxc/hdp/API_HDMITX.h                  | 165 +++
 drivers/mxc/hdp/API_HDMI_Audio.c              | 158 +++
 .../hdp/API_HDMI_Audio.h}                     |  50 +-
 drivers/mxc/hdp/API_Infoframe.c               | 146 +++
 drivers/mxc/hdp/API_Infoframe.h               |  63 ++
 drivers/mxc/hdp/Kconfig                       |  10 +
 drivers/mxc/hdp/Makefile                      |  12 +
 drivers/mxc/hdp/address.h                     | 108 ++
 drivers/mxc/hdp/aif_pckt2smp.h                | 168 +++
 drivers/mxc/hdp/all.h                         |  62 ++
 drivers/mxc/hdp/apb_cfg.h                     | 185 ++++
 drivers/mxc/hdp/clock_meters.h                | 157 +++
 drivers/mxc/hdp/dptx_framer.h                 | 372 +++++++
 drivers/mxc/hdp/dptx_stream.h                 | 208 ++++
 drivers/mxc/hdp/general_handler.h             | 165 +++
 drivers/mxc/hdp/hdcp.h                        |  52 +
 drivers/mxc/hdp/hdcp2.h                       | 289 ++++++
 drivers/mxc/hdp/hdcp_tran.h                   | 258 +++++
 drivers/mxc/hdp/hdmi.h                        | 122 +++
 drivers/mxc/hdp/mailBox.h                     | 116 +++
 drivers/mxc/hdp/mhl_hdtx_top.h                | 220 ++++
 drivers/mxc/hdp/opcodes.h                     | 115 +++
 drivers/mxc/hdp/source_aif_decoder.h          | 452 ++++++++
 drivers/mxc/hdp/source_aif_smpl2pckt.h        | 113 ++
 drivers/mxc/hdp/source_car.h                  | 173 ++++
 drivers/mxc/hdp/source_phy.h                  | 180 ++++
 drivers/mxc/hdp/source_pif.h                  | 170 +++
 drivers/mxc/hdp/source_vif.h                  |  93 ++
 drivers/mxc/hdp/util.c                        | 360 +++++++
 drivers/mxc/hdp/util.h                        | 346 +++++++
 drivers/mxc/hdp/vic_table.c                   |  68 ++
 drivers/mxc/hdp/vic_table.h                   | 140 +++
 include/drm/drm_edid.h                        |   1 +
 include/drm/drm_modeset_helper_vtables.h      |   3 +
 58 files changed, 9644 insertions(+), 143 deletions(-)
 create mode 100644 drivers/mxc/Makefile
 create mode 100644 drivers/mxc/hdp/API_AFE.c
 create mode 100644 drivers/mxc/hdp/API_AFE.h
 create mode 100644 drivers/mxc/hdp/API_AVI.c
 rename drivers/{gpu/drm/imx/hdp/hdmitx_firmware.h => mxc/hdp/API_AVI.h} (78%)
 create mode 100644 drivers/mxc/hdp/API_Audio.c
 create mode 100644 drivers/mxc/hdp/API_Audio.h
 create mode 100644 drivers/mxc/hdp/API_DPTX.c
 create mode 100644 drivers/mxc/hdp/API_DPTX.h
 create mode 100644 drivers/mxc/hdp/API_General.c
 create mode 100644 drivers/mxc/hdp/API_General.h
 create mode 100644 drivers/mxc/hdp/API_HDCP.c
 create mode 100644 drivers/mxc/hdp/API_HDCP.h
 create mode 100644 drivers/mxc/hdp/API_HDMITX.c
 create mode 100644 drivers/mxc/hdp/API_HDMITX.h
 create mode 100644 drivers/mxc/hdp/API_HDMI_Audio.c
 rename drivers/{gpu/drm/imx/hdp/mhdp_firmware.h => mxc/hdp/API_HDMI_Audio.h} (79%)
 create mode 100644 drivers/mxc/hdp/API_Infoframe.c
 create mode 100644 drivers/mxc/hdp/API_Infoframe.h
 create mode 100644 drivers/mxc/hdp/Kconfig
 create mode 100644 drivers/mxc/hdp/Makefile
 create mode 100644 drivers/mxc/hdp/address.h
 create mode 100644 drivers/mxc/hdp/aif_pckt2smp.h
 create mode 100644 drivers/mxc/hdp/all.h
 create mode 100644 drivers/mxc/hdp/apb_cfg.h
 create mode 100644 drivers/mxc/hdp/clock_meters.h
 create mode 100644 drivers/mxc/hdp/dptx_framer.h
 create mode 100644 drivers/mxc/hdp/dptx_stream.h
 create mode 100644 drivers/mxc/hdp/general_handler.h
 create mode 100644 drivers/mxc/hdp/hdcp.h
 create mode 100644 drivers/mxc/hdp/hdcp2.h
 create mode 100644 drivers/mxc/hdp/hdcp_tran.h
 create mode 100644 drivers/mxc/hdp/hdmi.h
 create mode 100644 drivers/mxc/hdp/mailBox.h
 create mode 100644 drivers/mxc/hdp/mhl_hdtx_top.h
 create mode 100644 drivers/mxc/hdp/opcodes.h
 create mode 100644 drivers/mxc/hdp/source_aif_decoder.h
 create mode 100644 drivers/mxc/hdp/source_aif_smpl2pckt.h
 create mode 100644 drivers/mxc/hdp/source_car.h
 create mode 100644 drivers/mxc/hdp/source_phy.h
 create mode 100644 drivers/mxc/hdp/source_pif.h
 create mode 100644 drivers/mxc/hdp/source_vif.h
 create mode 100644 drivers/mxc/hdp/util.c
 create mode 100644 drivers/mxc/hdp/util.h
 create mode 100644 drivers/mxc/hdp/vic_table.c
 create mode 100644 drivers/mxc/hdp/vic_table.h

-- 
2.19.0



More information about the Librem-5-dev mailing list