[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a8fcd57-94dc-61e6-0ba0-b1591e05e6f2@linaro.org>
Date: Mon, 20 Mar 2023 11:42:04 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Bhupesh Sharma <bhupesh.sharma@...aro.org>,
dmaengine@...r.kernel.org, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org
Cc: agross@...nel.org, linux-kernel@...r.kernel.org,
andersson@...nel.org, bhupesh.linux@...il.com, vkoul@...nel.org,
krzysztof.kozlowski@...aro.org, robh+dt@...nel.org,
vladimir.zapolskiy@...aro.org
Subject: Re: [PATCH 2/2] dmaengine: qcom: bam_dma: Add support for BAM engine
v1.7.4
On 20.03.2023 08:12, Bhupesh Sharma wrote:
> Qualcomm SoCs SM6115 and QRB2290 support BAM engine version
> v1.7.4.
>
> Add the support for the same in driver. Since the reg info of
> this version is similar to version v1.7.0, so reuse the same.
>
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@...aro.org>
> ---
> drivers/dma/qcom/bam_dma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c
> index 1e47d27e1f81..153d189de7d2 100644
> --- a/drivers/dma/qcom/bam_dma.c
> +++ b/drivers/dma/qcom/bam_dma.c
> @@ -1228,6 +1228,7 @@ static const struct of_device_id bam_of_match[] = {
> { .compatible = "qcom,bam-v1.3.0", .data = &bam_v1_3_reg_info },
> { .compatible = "qcom,bam-v1.4.0", .data = &bam_v1_4_reg_info },
> { .compatible = "qcom,bam-v1.7.0", .data = &bam_v1_7_reg_info },
> + { .compatible = "qcom,bam-v1.7.4", .data = &bam_v1_7_reg_info },
The compatible is meaningless as of today (it uses the exact same driver
data as v1.7.0), so I'd say going with:
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
is what we want.
Konrad
> {}
> };
>
Powered by blists - more mailing lists