disp: msm: dsi: add ctrl version support for pineapple
Added dsi ctrl version 2.8 support for pineapple hardware Change-Id: If9beb77c53d70d94b498b5b837c26892a4df9089 Signed-off-by: Kirill Shpin <quic_kshpin@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
38c0d4cdba
commit
60965fdeae
@@ -56,6 +56,7 @@ static const enum dsi_ctrl_version dsi_ctrl_v2_4 = DSI_CTRL_VERSION_2_4;
|
||||
static const enum dsi_ctrl_version dsi_ctrl_v2_5 = DSI_CTRL_VERSION_2_5;
|
||||
static const enum dsi_ctrl_version dsi_ctrl_v2_6 = DSI_CTRL_VERSION_2_6;
|
||||
static const enum dsi_ctrl_version dsi_ctrl_v2_7 = DSI_CTRL_VERSION_2_7;
|
||||
static const enum dsi_ctrl_version dsi_ctrl_v2_8 = DSI_CTRL_VERSION_2_8;
|
||||
|
||||
static const struct of_device_id msm_dsi_of_match[] = {
|
||||
{
|
||||
@@ -82,6 +83,10 @@ static const struct of_device_id msm_dsi_of_match[] = {
|
||||
.compatible = "qcom,dsi-ctrl-hw-v2.7",
|
||||
.data = &dsi_ctrl_v2_7,
|
||||
},
|
||||
{
|
||||
.compatible = "qcom,dsi-ctrl-hw-v2.8",
|
||||
.data = &dsi_ctrl_v2_8,
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
||||
@@ -705,6 +710,7 @@ static int dsi_ctrl_init_regmap(struct platform_device *pdev,
|
||||
case DSI_CTRL_VERSION_2_5:
|
||||
case DSI_CTRL_VERSION_2_6:
|
||||
case DSI_CTRL_VERSION_2_7:
|
||||
case DSI_CTRL_VERSION_2_8:
|
||||
ptr = msm_ioremap(pdev, "disp_cc_base", ctrl->name);
|
||||
if (IS_ERR(ptr)) {
|
||||
DSI_CTRL_ERR(ctrl, "disp_cc base address not found for\n");
|
||||
|
Reference in New Issue
Block a user