linux/drivers/gpu/drm/msm/hdmi/hdmi_hpd.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2013 Red Hat
 * Author: Rob Clark <[email protected]>
 */

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/pinctrl/consumer.h>

#include "msm_kms.h"
#include "hdmi.h"

static void msm_hdmi_phy_reset(struct hdmi *hdmi)
{}

static void enable_hpd_clocks(struct hdmi *hdmi, bool enable)
{}

int msm_hdmi_hpd_enable(struct drm_bridge *bridge)
{}

void msm_hdmi_hpd_disable(struct hdmi *hdmi)
{}

void msm_hdmi_hpd_irq(struct drm_bridge *bridge)
{}

static enum drm_connector_status detect_reg(struct hdmi *hdmi)
{}

#define HPD_GPIO_INDEX
static enum drm_connector_status detect_gpio(struct hdmi *hdmi)
{}

enum drm_connector_status msm_hdmi_bridge_detect(
		struct drm_bridge *bridge)
{}