mailbox: qcom-apcs-ipc: enable APCS clock device for MSM8996
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 26 Jan 2023 23:03:18 +0000 (01:03 +0200)
committerJassi Brar <jaswinder.singh@linaro.org>
Thu, 23 Feb 2023 20:47:12 +0000 (14:47 -0600)
MSM8996 also has the clock-related part of the APCS mailbox device.
Follow the usual pattern and create a child device to handle these
clocks.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/qcom-apcs-ipc-mailbox.c

index 0e9f9cb..bd61dac 100644 (file)
@@ -42,7 +42,7 @@ static const struct qcom_apcs_ipc_data msm8994_apcs_data = {
 };
 
 static const struct qcom_apcs_ipc_data msm8996_apcs_data = {
-       .offset = 16, .clk_name = NULL
+       .offset = 16, .clk_name = "qcom-apcs-msm8996-clk"
 };
 
 static const struct qcom_apcs_ipc_data apps_shared_apcs_data = {