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 |
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); >
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);
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(+) -- 2.29.2