diff mbox series

[v2,3/3] soc: qcom: aoss: Add generic compatible

Message ID 20210709174142.1274554-4-bjorn.andersson@linaro.org
State Accepted
Commit d63486dd8e0bf843949c184843137e03bca5b8b4
Headers show
Series dt-bindings: soc: qcom: aoss: Support sc8180x and convert to YAML | expand

Commit Message

Bjorn Andersson July 9, 2021, 5:41 p.m. UTC
It seems we don't need platform specific implementation for the AOSS
QMP, so let's introduce a generic compatible to avoid having to update
the driver for each platform.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---

Changes since v1:
- None

 drivers/soc/qcom/qcom_aoss.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Sibi Sankar July 16, 2021, 5:01 p.m. UTC | #1
On 7/9/21 11:11 PM, Bjorn Andersson wrote:
> It seems we don't need platform specific implementation for the AOSS

> QMP, so let's introduce a generic compatible to avoid having to update

> the driver for each platform.

> 

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Reviewed-by: Sibi Sankar <sibis@codeaurora.org>

Tested-by: Sibi Sankar <sibis@codeaurora.org>


> ---

> 

> Changes since v1:

> - None

> 

>   drivers/soc/qcom/qcom_aoss.c | 1 +

>   1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c

> index 934fcc4d2b05..92a1af70a649 100644

> --- a/drivers/soc/qcom/qcom_aoss.c

> +++ b/drivers/soc/qcom/qcom_aoss.c

> @@ -602,6 +602,7 @@ static const struct of_device_id qmp_dt_match[] = {

>   	{ .compatible = "qcom,sm8150-aoss-qmp", },

>   	{ .compatible = "qcom,sm8250-aoss-qmp", },

>   	{ .compatible = "qcom,sm8350-aoss-qmp", },

> +	{ .compatible = "qcom,aoss-qmp", },

>   	{}

>   };

>   MODULE_DEVICE_TABLE(of, qmp_dt_match);

> 


-- 
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc, is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
diff mbox series

Patch

diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c
index 934fcc4d2b05..92a1af70a649 100644
--- a/drivers/soc/qcom/qcom_aoss.c
+++ b/drivers/soc/qcom/qcom_aoss.c
@@ -602,6 +602,7 @@  static const struct of_device_id qmp_dt_match[] = {
 	{ .compatible = "qcom,sm8150-aoss-qmp", },
 	{ .compatible = "qcom,sm8250-aoss-qmp", },
 	{ .compatible = "qcom,sm8350-aoss-qmp", },
+	{ .compatible = "qcom,aoss-qmp", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, qmp_dt_match);