Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5845958pxb; Mon, 28 Mar 2022 18:46:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUguEaN3JAwxScQMfSDueVlFwgMeOqtACwaX9jZT2OqIWNrNtUnVKujrhxrxaqie7R3tEj X-Received: by 2002:a05:6402:350b:b0:419:1c11:23ed with SMTP id b11-20020a056402350b00b004191c1123edmr1205491edd.8.1648518399585; Mon, 28 Mar 2022 18:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648518399; cv=none; d=google.com; s=arc-20160816; b=J1IaJWX9L84FozETipw1sXAml67/b2ePCBPQMuTfWi+ZetPNFOusPDpeDRSeXLufAL DSTdPgUeVYJO2IWlgGfxCB32Q5WtdI3NneQC8JRTKLLr3PwQpTdFeS7TqqdrSr5kugCS +WTiD4ZgkIZnDsW04VlEOL4FH41QixBnsuE5MjAScqeRqzuv1kiyfuL2L1Bj6CIN4Ifk sdwNmF3YoPWVPlAdz3pyioomCvlgbA8ZslHQH79nZnmlaSfSGjbH1pWU28cNCAG/Ecoz RUyJ+F1Ef7q8ETW/CeROVIwZmppllt7MSDCiYdOvcItwqWrAM7Ef5ji4C2ZEpFd7dL0g 5Zxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UUMDHkRP/8Kobp4SqOhIfI5YC+CFPdiLYdQuQeo5ONc=; b=aZ2uaxjxjhqAGjYFADzyLT+0y3mi9FX7AvrtSOJ9OzMp/xL3l2ydn056VUmM0M2eip aDhAgnBKKtL9Q6+q5x/PZBH6k775GWxgvNkbRlWU77zADXvuXqFOkWCquuEjhUQ+GVSF D5g/Sxxd3hDwvW9c31xEiiMezu7D4wpJWzK+U+ko9yIawvQxVEImWh4Cc8bTo0czu7/m w9r/7RP3BaJWpRi4ir9DSlk1fS5WJwMfmMlsuI41Fwmr196rilJjcs2GGtq2fWAVbiwk TMSDTpO2PrTp6ZP9dOWkf2VrwZnQ4CXFdpz/lRnqSsAxzvOPntmr2xBADCi8aCfwI1ff wZiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ds3x1f5M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb6-20020a170907960600b006df76385cd5si18050795ejc.373.2022.03.28.18.45.47; Mon, 28 Mar 2022 18:46:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ds3x1f5M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbiC2Bhe (ORCPT + 99 others); Mon, 28 Mar 2022 21:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiC2Bhd (ORCPT ); Mon, 28 Mar 2022 21:37:33 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7252F1AA4B0; Mon, 28 Mar 2022 18:35:52 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id o5so29137869ybe.2; Mon, 28 Mar 2022 18:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UUMDHkRP/8Kobp4SqOhIfI5YC+CFPdiLYdQuQeo5ONc=; b=ds3x1f5M4qmFLSp9i1Lf8czpJ2ro20lGW+k29/7Je9+ABb8oScKI06t0yhPbG8Kq0S bZ2C20GpcKLmlxeZ77SBo3m/MqXCjWS7JFdxV0Wci2OhW3/6zO7CJ+nvVx2R0k+tT3st 0gtMwhXqWxJ3ULbDnuVyJjUJZl8hAKfQ4+TfMHPKff0ehsR8kziHfIJm/2vtl1SZxwEg bujOSANdLiz2pTHsXsWc/czK4ZHFCme4KtKuacXoO9ckL4brvR6p/6b56dTgWNuFYjhU ZcRJ3hqaw9b0IGS7tva0ZoQP8G+S7OTVCeTDp9BeBleuaSEu6XCKu+puegfofCW2t5r2 ZSDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UUMDHkRP/8Kobp4SqOhIfI5YC+CFPdiLYdQuQeo5ONc=; b=DQXdOFQjNmO09ai6abbqCNe+rSdeC+3chUWp5h6G2a7WSrJbivrhc6TnluqhvyhUN9 YG4K3Gw+QhXJif4HGzZVYXQOUVe+d7vXol+1jjdwNKL/4m1ajCrOxdw5mPFGceHLKnk9 sRtxySAHcfCnaPIG+8UsbuJAsM7OO4tQB0jl4/4mKHFR0bJYllGgdN1gKpAcbN0Z+lPd 1y5iRYTdV6F7PwI5Og+vOHWGHSzVhcLncQrKLSLlv+LNoLr7D85iZDe+jCPUxaLbH/fb jJnyxisoqRcyWw+LyvOiK0EB8GEn8Y7WDV229kqopuNRPfl2ce2+sLvefn8XVMvYGyFQ iXJg== X-Gm-Message-State: AOAM532TfdnVMctriHoSs7FtUspqoWM9p45CXipSjlxig2ZrZalbuDAd ghrJ8cmEHdmYca03i2cdSWBATFgDUMG7Ni3ohww= X-Received: by 2002:a25:d456:0:b0:633:6b35:bcf5 with SMTP id m83-20020a25d456000000b006336b35bcf5mr25408116ybf.239.1648517751767; Mon, 28 Mar 2022 18:35:51 -0700 (PDT) MIME-Version: 1.0 References: <7cc9a7b5f7e6c28fc9eb172c441b5aed2159b8a0.1648461096.git.zong.li@sifive.com> In-Reply-To: <7cc9a7b5f7e6c28fc9eb172c441b5aed2159b8a0.1648461096.git.zong.li@sifive.com> From: Bin Meng Date: Tue, 29 Mar 2022 09:35:40 +0800 Message-ID: Subject: Re: [PATCH v8 1/4] dt-bindings: dma-engine: sifive,fu540: Add dma-channels property and modify compatible To: Zong Li Cc: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , krzysztof.kozlowski@canonical.com, Conor Dooley , Geert Uytterhoeven , Bin Meng , Green Wan , vkoul@kernel.org, dmaengine@vger.kernel.org, devicetree , linux-kernel , linux-riscv , Rob Herring , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 28, 2022 at 7:56 PM Zong Li wrote: > > Add dma-channels property, then we can determine how many channels there > by device tree, rather than statically defining it in PDMA driver. > In addition, we also modify the compatible for PDMA versioning scheme. > > Signed-off-by: Zong Li > Reviewed-by: Rob Herring > Suggested-by: Palmer Dabbelt > Reviewed-by: Palmer Dabbelt > Acked-by: Palmer Dabbelt > Acked-by: Krzysztof Kozlowski > --- > .../bindings/dma/sifive,fu540-c000-pdma.yaml | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng