soc: qcom: pil: Add PDC sync register to modem PIL flow on SDM845

PDC is a new block to SDM845 that is needed in the bootup and shutdown
sequences of modem.

Change-Id: I93f5a4be4015942be0a73853e619d50b64705d51
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
diff --git a/drivers/soc/qcom/pil-q6v5-mss.c b/drivers/soc/qcom/pil-q6v5-mss.c
index bbde4b6..c17d1a9 100644
--- a/drivers/soc/qcom/pil-q6v5-mss.c
+++ b/drivers/soc/qcom/pil-q6v5-mss.c
@@ -284,6 +284,13 @@ static int pil_mss_loadable_init(struct modem_data *drv,
 	if (!q6->restart_reg)
 		return -ENOMEM;
 
+	q6->pdc_sync = NULL;
+	res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "pdc_sync");
+	if (res) {
+		q6->pdc_sync = devm_ioremap(&pdev->dev,
+						res->start, resource_size(res));
+	}
+
 	q6->vreg = NULL;
 
 	prop = of_find_property(pdev->dev.of_node, "vdd_mss-supply", NULL);