Display drivers kernel project initial snapshot

This change brings msm display driver including sde,
dp, dsi, rotator, dsi pll and dp pll from base 4.19 kernel
project. It is first source code snapshot from base kernel project.

Change-Id: Iec864c064ce5ea04e170f24414c728684002f284
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
Cette révision appartient à :
Narendra Muppalla
2019-04-02 14:23:55 -07:00
Parent da3538d49c
révision 3709853456
266 fichiers modifiés avec 196908 ajouts et 0 suppressions

36
msm/dp/dp_lphw_hpd.h Fichier normal
Voir le fichier

@@ -0,0 +1,36 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*/
#ifndef _DP_LPHW_HPD_H_
#define _DP_LPHW_HPD_H_
#include "dp_hpd.h"
#define DP_HPD_PLUG_INT_STATUS BIT(0)
#define DP_IRQ_HPD_INT_STATUS BIT(1)
#define DP_HPD_REPLUG_INT_STATUS BIT(2)
#define DP_HPD_UNPLUG_INT_STATUS BIT(3)
/**
* dp_lphw_hpd_get() - configure and get the DisplayPlot HPD module data
*
* @dev: device instance of the caller
* return: pointer to allocated gpio hpd module data
*
* This function sets up the lphw hpd module
*/
struct dp_hpd *dp_lphw_hpd_get(struct device *dev, struct dp_parser *parser,
struct dp_catalog_hpd *catalog, struct dp_hpd_cb *cb);
/**
* dp_lphw_hpd_put()
*
* Cleans up dp_hpd instance
*
* @hpd: instance of lphw_hpd
*/
void dp_lphw_hpd_put(struct dp_hpd *hpd);
#endif /* _DP_LPHW_HPD_H_ */