Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1285437imw; Tue, 5 Jul 2022 07:00:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uVJk2419vyNWXOdEannimRpKgyU3ZkCgxkr7RrfN3X76ZGuKtM6duBj4q51fNi4IK58Q7X X-Received: by 2002:a05:6a00:2445:b0:528:5a5b:67d3 with SMTP id d5-20020a056a00244500b005285a5b67d3mr15276903pfj.32.1657029650196; Tue, 05 Jul 2022 07:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657029650; cv=none; d=google.com; s=arc-20160816; b=MwrkMpaPt0AI37VoCW+zW7EJT8tswu1T1yr3RkjTxBHxr0+THx9oLbNLlqq1TMyyvq HlIWNwn/EDU2xngQ6Ai8YJqXHB6LslR/4NchSFzc4wzBxSukMBex9+4Ybngh4W30lpdU YvsfHexVWsYyWAydyAVXS5Rerx6FCoyy0AmaeoAcpPBaHss08/D8Wx1zBt/Eru5ib8Rm Y5LNmhWd/ZFdX/FychB6018xGSyGRGbSq9Y42xgnJDV39e12FaSK9kzL1jIpnn+QQ8l0 Qm7pqiTCDckuHJsm3I94LM7or8S6+BGiJszYAYLsvYdMKlPGyDKGVIdTb7Ij7OdBEzAr Syzg== 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=oaEbIq4MnlILGSzldmQ8i7fpwAQRZ0PF/AyWmGRHoHQ=; b=Ln7BcOTGq65BMzW78gAF9kEayrItb1WzSoUFQLo2Lwmw8mkanERVqsxrfLb1X1FIpg IPVZEgnKoEQRcXD2CtVAzIFSeWb2AvubGBErNm/mHRhRt4TH3NkGy16qQPibNxH3zMlB VbKoWx71xQclkEOVVyNvkcA81248kcdjgk9Gk3gpH0kox5JDACUTa8SGXtJNPOQqnAof 4IrjmHisz9CCXYF0MCISUvO3633yxGoy42RlzQLIK73GVXlWq/Zqu5Q1DFw9CaqcMjBJ 1TMDHpx3A3djQuTk+YaIOCe7Vhcs3GYdsnZcN2+dxaB3vEOhm3vYlpR9ptmlkcLruekL mVLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F1zWy3ll; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f34-20020a631f22000000b00407e25d4528si1190438pgf.5.2022.07.05.07.00.37; Tue, 05 Jul 2022 07:00:50 -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=@kernel.org header.s=k20201202 header.b=F1zWy3ll; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbiGENXd (ORCPT + 99 others); Tue, 5 Jul 2022 09:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233419AbiGENWt (ORCPT ); Tue, 5 Jul 2022 09:22:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975EB1F2DB; Tue, 5 Jul 2022 05:46:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3241560BC0; Tue, 5 Jul 2022 12:46:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9A7BC341CB; Tue, 5 Jul 2022 12:46:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657025167; bh=wAEDIpJKEpqow07OA5pbiA0C6VtRvMKO1qtrFbDdCFY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F1zWy3llLirCMHGf9oUncrDC/YFjZyTLRq8g3aGTJpZatIfnJET0NC0gnzAOEdr2n LBKUBdh5gaukjcT6H01UyFyR1g3lElraTjEWOXwlu3L+XH1FqHxwkoz84MEHbDLZZS eZ7WTHq7q/c3I0uPyb7wS7aieCwKK84nmRl7LaVwFRCiR7/fpeSy+ezZvVLR5oazeo +8rDVpEmi2KIs/N5QTg7RoE7sDKNODVpStI+T1WWd9jlCgJ2LwPqsLi629VFCOdZNa 34Q7G2rXUbrzbjGnEGGG6k9533cawbC447VyAxsPMu9Lq8RQf5jfsUjcD80ZuDWNNB mQCzFe7dd4CQQ== Date: Tue, 5 Jul 2022 18:16:03 +0530 From: Vinod Koul To: Conor Dooley Cc: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Liam Girdwood , Mark Brown , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt , 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-riscv@lists.infradead.org Subject: Re: [PATCH v4 04/14] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts Message-ID: References: <20220701192300.2293643-1-conor@kernel.org> <20220701192300.2293643-5-conor@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220701192300.2293643-5-conor@kernel.org> X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 01-07-22, 20:22, 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 > Reviewed-by: Serge Semin > Signed-off-by: Conor Dooley > --- > .../devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 7 ++++++- > 1 file changed, 6 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..98c2ab18d04f 100644 > --- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml > @@ -34,7 +34,12 @@ properties: > - const: axidma_apb_regs > > interrupts: > - maxItems: 1 > + description: | rob asked you to drop this in last patch, pls fix that and send with his ack > + If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this > + will be per-channel interrupts. Otherwise, this is a single combined IRQ > + for all channels. > + minItems: 1 > + maxItems: 8 > > clocks: > items: > -- > 2.37.0 -- ~Vinod