linux/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-j721e.c

// SPDX-License-Identifier: GPL-2.0
/*
 * TI j721e Cadence MHDP8546 DP wrapper
 *
 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
 * Author: Jyri Sarha <[email protected]>
 */

#include <linux/io.h>
#include <linux/platform_device.h>

#include "cdns-mhdp8546-j721e.h"

#define REVISION
#define DPTX_IPCFG
#define ECC_MEM_CFG
#define DPTX_DSC_CFG
#define DPTX_SRC_CFG
#define DPTX_VIF_SECURE_MODE_CFG
#define DPTX_VIF_CONN_STATUS
#define PHY_CLK_STATUS

#define DPTX_SRC_AIF_EN
#define DPTX_SRC_VIF_3_IN30B
#define DPTX_SRC_VIF_2_IN30B
#define DPTX_SRC_VIF_1_IN30B
#define DPTX_SRC_VIF_0_IN30B
#define DPTX_SRC_VIF_3_SEL_DPI5
#define DPTX_SRC_VIF_3_SEL_DPI3
#define DPTX_SRC_VIF_2_SEL_DPI4
#define DPTX_SRC_VIF_2_SEL_DPI2
#define DPTX_SRC_VIF_1_SEL_DPI3
#define DPTX_SRC_VIF_1_SEL_DPI1
#define DPTX_SRC_VIF_0_SEL_DPI2
#define DPTX_SRC_VIF_0_SEL_DPI0
#define DPTX_SRC_VIF_3_EN
#define DPTX_SRC_VIF_2_EN
#define DPTX_SRC_VIF_1_EN
#define DPTX_SRC_VIF_0_EN

/* TODO turn DPTX_IPCFG fw_mem_clk_en at pm_runtime_suspend. */

static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp)
{}

static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp)
{}

static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp)
{}

const struct mhdp_platform_ops mhdp_ti_j721e_ops =;

const u32
mhdp_ti_j721e_bridge_input_bus_flags =;