Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1031934iog; Thu, 30 Jun 2022 15:33:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uyPv6W54PMTf8pIxzp3otYpvU7tr/Wp/0Ps+53WuGZMY6I8nX4DrBu/xtVEEdTvX5ecLRa X-Received: by 2002:a05:6a00:13a4:b0:528:1b6d:f8a4 with SMTP id t36-20020a056a0013a400b005281b6df8a4mr3794752pfg.54.1656628431119; Thu, 30 Jun 2022 15:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656628431; cv=none; d=google.com; s=arc-20160816; b=05+wAy2aDXQhLBHrTmqzJ/HyEqCBslhA89Pw7CfAdWjSH9a76g8mDnPD2aBUNFimiA MXiLOftloTNlh+EY69ibUf7pc9ZRgQFFaAfuWW6YC6ano9MKgj3HzGtkyxmGj/WerP1R QoCEArqYihoZZfSrVosXoVBBgXPcNZXOz9BTdwficPAohl20Pt/A/yTnsj8nv+9Q76t0 2PVIJChAJ5I8tkxjU89Q/7BdRDBLZ22GN5kLIIHSq2IJOhY5PW11mRQITdOl0kAQ1WTK 6y5Qn84hCumSJlRWcbwctA2/nH8XCbPrH82XSGUEEx7ASwP/q7anIShDxIn2Axr837zo EMwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=80eW9Jq1ijIJLJtHfGhI83NTX/9vTLnN/UmyaBuaW4E=; b=nSzcW4bQVcko7HsvnsiNYqGxm1MxyBPvAWKLkYT8FqXVtqxuNS3ZprQf4TCutn4qQ9 05BHJ9y9v2PRwJTgPht/3kr7g0HZKtlg3QGjIJJKCCvlD43PF+8BRbC6+gEZJu0gKCiv pldGPo4b+POZnbOCiLN31EEIMbOo36byIdlaFbR4+ZdtvhEazpJHQJDnRQ9ZMUP6oSGp JkonLLGcDzQQQ+tF3E+zmES0v93hRKBPbObugTwbQ8D3l0ZmNJgou9FnfPQSWzTWj+9n uct6mMbZwj1XrDpW6B95n+v0Ppko/UzkK58VAzYav6RB8Jc2fnx3A1QcpaeWwpS9VCOt rOTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AkPzOgMf; 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 m3-20020a1709026bc300b00169e3211dd7si26386768plt.386.2022.06.30.15.33.36; Thu, 30 Jun 2022 15:33:51 -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=AkPzOgMf; 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 S237265AbiF3Vzr (ORCPT + 99 others); Thu, 30 Jun 2022 17:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236933AbiF3Vzq (ORCPT ); Thu, 30 Jun 2022 17:55:46 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE22564EB; Thu, 30 Jun 2022 14:55:45 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id t25so619341lfg.7; Thu, 30 Jun 2022 14:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=80eW9Jq1ijIJLJtHfGhI83NTX/9vTLnN/UmyaBuaW4E=; b=AkPzOgMfGFfZSjZD7jfIt2VIntAlLoUSr3SbzTZY0tvDU2JAbZAB5jwCcqhRCkAM2f SZMaXzambC5XvJqoJSqZhCYJjt3IvVCp+6BwaWT4/O99SY2jx12hO35bgEKhKuKxejcQ dE2URnyS5yf1nh9ijeSAcPycHs2KVfpVtk/PdoQ7jD6COfYLF+mrcrO6e33CUzwQZPGY APDYTngSt7Y+GPy5o8I+w1G0pNyoFvpS1MDQY6Dnc7Ax6wnu+jMdv5Clu6vCV+9thnMt x6/8Y8TfDG/rsDa4DJ2sM0E7/R76fWr9+E3VerI/dstVRhBOWwsbw1sjWfdYFwEvwyeZ Vx+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=80eW9Jq1ijIJLJtHfGhI83NTX/9vTLnN/UmyaBuaW4E=; b=oXSdrSGZJbKw6Ow5oEpuqUp5Y/d/aa3Mj6YiFaZ6kqB+O9wxxt+vD4pJszguE80fys hrzS9B9mb5Ce5IEQKpsG0q7AjmxHxKg3Vpm/Unllvgo9TWyVThUDpoeaWUTlMndWcZW6 ez5xQuKN0FZJVwUQ1MN6vXw/3EsnKJaRuJU6Sv59rqP0QHiExVvl3+PV6iVeYDvefO2u um344+qYVgcgqJu4+EuPpUusfPdup397+UlmF86QJKmrXi/j5SsNIvJ6Mv5Tq904tLmE 5kFK5xBp7H4RIs5Y+ofP4KtlcRI9GEuohrpg/Q/KDUaWouzJZkEIA3nEpYdKlRVI2vpt bu8w== X-Gm-Message-State: AJIora+8DccChig9kfR7Gp16FCw7BNVapMeo/fugNSDUKwRBb8pIHPmn 1hiiOkmkDrPbDvwSgfQrUH4= X-Received: by 2002:a05:6512:118f:b0:47f:6a1a:20d4 with SMTP id g15-20020a056512118f00b0047f6a1a20d4mr6526103lfr.428.1656626143761; Thu, 30 Jun 2022 14:55:43 -0700 (PDT) Received: from mobilestation ([95.79.140.178]) by smtp.gmail.com with ESMTPSA id e12-20020ac24e0c000000b00478a311d399sm3304595lfr.0.2022.06.30.14.55.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jun 2022 14:55:43 -0700 (PDT) Date: Fri, 1 Jul 2022 00:55:40 +0300 From: Serge Semin To: Conor Dooley Cc: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt , Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Jose Abreu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v3 05/15] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts Message-ID: <20220630215540.cifnzovya57bgbsw@mobilestation> References: <20220629184343.3438856-1-mail@conchuod.ie> <20220629184343.3438856-6-mail@conchuod.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220629184343.3438856-6-mail@conchuod.ie> 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 Wed, Jun 29, 2022 at 07:43:34PM +0100, Conor Dooley wrote: > From: Conor Dooley > > The Canaan k210 apparently has a Sysnopsys Designware AXI DMA > controller, but according to the documentation & devicetree it has 6 > interrupts rather than the standard one. Support the 6 interrupt > configuration by unconditionally extending the binding to a maximum of > 8 per-channel interrupts thereby matching the number of possible > channels. > > Link: https://canaan-creative.com/wp-content/uploads/2020/03/kendryte_standalone_programming_guide_20190311144158_en.pdf #Page 51 > Signed-off-by: Conor Dooley > --- > Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml > index 4324a94b26b2..e33ef22aec9c 100644 > --- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml > @@ -34,7 +34,9 @@ properties: > - const: axidma_apb_regs > > interrupts: > - maxItems: 1 > + description: per channel interrupts Description is inaccurate. It's either combined or per-channel IRQs. Other than that: Reviewed-by: Serge Semin -Sergey > + minItems: 1 > + maxItems: 8 > > clocks: > items: > -- > 2.36.1 >