From b3963be5447ea1b71ca11798ab9269b75b42178b Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 27 Oct 2020 21:46:28 -0600 Subject: kernel-module-dp: Add support for Xilinx DP drivers This recipe will pull in the Xilinx DP drivers and associated components, for soft IP, to be built as an out-of-tree modules. Following out-of-tree modules will be built dp-rx (v4l2): The DisplayPortPlay 1.4 Rx Subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with PHY layers and provide DP decoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP RX-related IP sub-cores and outputs them as a single IP. The subsystem outputs multi-pixel video to AXI4-Stream Protocol interface. dp-tx (drm): The DisplayPortPlay 1.4 Tx subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with xilinx PHY layers and provide DP encoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP TX-related IP sub-cores and outputs them as a single IP. The subsystem takes incoming video and transfers them to an DP stream. The stream is then forwarded to the video PHY layer. video-phy (phy): Xilinx Video Phy implements the physical layer for enabling the plug-and-play connectivity with dp MAC transmit and receive subsystems. This driver is also used as the repository for common files used by dp rx and tx drivers including hdcp1.4 and hdcp2.x software stack. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Sai Hari Chandana Kalluri --- .../recipes-kernel/dp/kernel-module-dp_git.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb (limited to 'meta-xilinx-bsp/recipes-kernel') diff --git a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb new file mode 100755 index 00000000..e5356d86 --- /dev/null +++ b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb @@ -0,0 +1,26 @@ +SUMMARY = "Xilinx DisplayPort Linux Kernel module" +DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" + +XLNX_DP_VERSION = "5.4.0" +PV = "${XLNX_DP_VERSION}" + +S = "${WORKDIR}/git" + +BRANCH ?= "master" +REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" +SRCREV ?= "a3a7dfe17cf610fd4186b11638e1ce6b78dc958a" + +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" +SRC_URI = "${REPO};${BRANCHARG}" + +inherit module + +EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" +COMPATIBLE_MACHINE = "^$" +COMPATIBLE_MACHINE_zynqmp = "zynqmp" +COMPATIBLE_MACHINE_versal = "versal" + +PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" -- cgit v1.2.3-54-g00ecf