platform: msm_shared: add support for DSI 12nm PHY programming
Add change to support programming of DSI 12nm PHY/PLL which is
required for display on SDM439 target.
Change-Id: I3d70f7bd044c388000b2da9aac5957db39be12a2
diff --git a/platform/msm_shared/mipi_dsi_phy.c b/platform/msm_shared/mipi_dsi_phy.c
index 1321e9f..80a85bc 100644
--- a/platform/msm_shared/mipi_dsi_phy.c
+++ b/platform/msm_shared/mipi_dsi_phy.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2015, 2018, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -438,6 +438,7 @@
struct mdss_dsi_phy_ctrl *pd;
if ((mipi->mdss_dsi_phy_db->pll_type == DSI_PLL_TYPE_THULIUM) ||
+ (mipi->mdss_dsi_phy_db->pll_type == DSI_PLL_TYPE_12NM) ||
(mdp_get_revision() == MDP_REV_304))
return;
@@ -495,6 +496,7 @@
mipi->sphy_base, mipi->reg_base);
break;
case DSI_PLL_TYPE_THULIUM:
+ case DSI_PLL_TYPE_12NM:
dprintf(SPEW, "phy is configured with PLL driver\n");
break;
case DSI_PLL_TYPE_28NM: