Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 886D6C761A6 for ; Tue, 21 Mar 2023 06:35:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbjCUGfM (ORCPT ); Tue, 21 Mar 2023 02:35:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjCUGfG (ORCPT ); Tue, 21 Mar 2023 02:35:06 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E57844BC for ; Mon, 20 Mar 2023 23:34:58 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id o40-20020a05600c512800b003eddedc47aeso3370932wms.3 for ; Mon, 20 Mar 2023 23:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679380496; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aeU98+5k4UNo0IIDP5TmbAbzIZvq5NwXU7mw30mcFh4=; b=my2o52HZ/sptlkDCPPrA12lnhy9kS2Xor6aihSPfCLGPAGYWnbaq5wsjIxLFRrx0Pb 1VwwZQmHVeIj8h/l3dJ+WtznDT6vtKV9Z7SgFiboHZ0MHkQxnWHInQlme3CkswRXZ8LT 39a/jWfDqoK4XjlyVVv2XnRL4BJLIM9OjhXrLFRsJSDuKWPYMfZkICKrhCPvJ3X9XyGZ Jm6VR/WURvQKeHHy4IfIOidTpGijPOqS2FYmkcqchrw3fxHn33FyWnK4lQ9DygAIU7c/ eJbmffZoXUMSM+n0bbxErHrPoxcIOdeKQOKgyx1PieCXB0yxMmOLTHOeSjHwQmq05GoQ vX7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679380496; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aeU98+5k4UNo0IIDP5TmbAbzIZvq5NwXU7mw30mcFh4=; b=M3lUz+SvUxYdQ5PzYm6x3pKH5DWnAXXlXwcMCl4RTfWLwasZk3Q7CDU5V2Ar1C1/3B CfP2Wqal/a31B1ls3egXK8F6R6chs/Lejq/WX2UBrhQg14ZIlDHlIZvJZ/3I14nzWPkp xWRC2irmGNLRU9Yllz0Ue2gXeQ+rwcjwwnqZx+gMTwfv2gDXOhsmzzWIltc9V2Cb2V60 UUp1p0H4CYtkvV3DNxwGKW7AsKTtOOr4rs/ecxlWCgremYdS/AmyORHPt2oS2hOdkcpP se1/KPxBqK92TWzC/wZYuufsC3iJbel//ldGxXKfrXKUYN//FTOGP0x80vB7m7xNiWAw vtrQ== X-Gm-Message-State: AO0yUKV3IYSRyiyoWHWIoV7+WyWEgmJYWyXaXy8Xhv2rbz5p8kB9htpC B3OnuytXlqCVUT4j2Ob9V61qWPsfUw1ve1YvfdBRLFkUOP+F/ZAr X-Google-Smtp-Source: AK7set+MTESzG510vY+KY7o33JEhtbA90pqbzZCqd1mGorBUpd1yfT2SUq/gLkeSmm1CWVVo0WzGsrlZxkxO34q3690= X-Received: by 2002:a7b:c444:0:b0:3ed:779c:4063 with SMTP id l4-20020a7bc444000000b003ed779c4063mr453053wmi.8.1679380496252; Mon, 20 Mar 2023 23:34:56 -0700 (PDT) MIME-Version: 1.0 References: <20230320071211.3005769-1-bhupesh.sharma@linaro.org> <20230320071211.3005769-2-bhupesh.sharma@linaro.org> <0a8fcd57-94dc-61e6-0ba0-b1591e05e6f2@linaro.org> In-Reply-To: <0a8fcd57-94dc-61e6-0ba0-b1591e05e6f2@linaro.org> From: Bhupesh Sharma Date: Tue, 21 Mar 2023 12:04:45 +0530 Message-ID: Subject: Re: [PATCH 2/2] dmaengine: qcom: bam_dma: Add support for BAM engine v1.7.4 To: Konrad Dybcio Cc: dmaengine@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, linux-kernel@vger.kernel.org, andersson@kernel.org, bhupesh.linux@gmail.com, vkoul@kernel.org, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, vladimir.zapolskiy@linaro.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Mar 2023 at 16:12, Konrad Dybcio wrote: > > > > 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 > > --- > > 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. Ok, will send a v2. Thanks.