Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1747561imw; Tue, 5 Jul 2022 14:54:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1twwa/Cg24nNwzE99DkHlf45jmsDJzPKdDvjs+FDT/2PXRklfSMGHGIWi7FpvjjG0+5EE/C X-Received: by 2002:a05:6402:4387:b0:435:94c6:716d with SMTP id o7-20020a056402438700b0043594c6716dmr50082426edc.298.1657058093310; Tue, 05 Jul 2022 14:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657058093; cv=none; d=google.com; s=arc-20160816; b=QCygrWBuG20wss11PhnDdzPdo8JjfBkkuL9HFgAW/ijnT96ifjp+V6As6blZyAIShJ RhoAABdhW0XB+gw3vjotwlT6egd3RugNnkcCKnItrMPH9mtxcijILxeXiiORFpTfq+N5 8HVLkxlRz8v+RQq3Y80l4wYMC/xGXBr8pzbgxnIsZ9TMhYg2B0zFMJyzTuJrahyJfCkP WWCWWM/oDS5zcgk30u3JMuGnR5PF6UuMhKOtBgH4C/yVjWg+58NTeVWqUe/J2W+R5fo3 i8zGyACqcjHZPN/D1c960f84GZ3lsuaoc178t7COSXUN9v1R/CeMIcdxopJh4KoQRy/Y Dykg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bn7NMU6i2JipaHjilcDVj2dVJzF0Mozbq5+lea1OdzA=; b=G1ooP+/oUNxLRA+7gpcwpkhwMJmmeaKyr55Ja5RkMPLH/7/BoKRh48w5s7Q7I1wiqu 9yoznvVUlSc5nBbb8Z05LqP7u0Wd3vaCZA5tqoKVYUVbC+0amsA8FbU93a6O69z5UfXZ 6Znu3TPHUuvls01ycWc8a6q5uCTIXIO434326vxXfhH1BiRV4ugbrL8Taji/sm7E0Sz8 Htt3vh56YAEzsFiAsbIoOp93nz7iYRE1IIJzTaV5gpIw0ekUaFCcgwuoCJ9DxHQdVar4 podXk6sw/fvBDfbA7Uqvw9hMnnSdO/Wt2cwl+f9MpTREKK9ETWzn5OCjbiwr4FaPbzL8 0irQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=Slkpsl7r; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw7-20020a17090776a700b006fea42b2e6fsi27036688ejc.642.2022.07.05.14.54.28; Tue, 05 Jul 2022 14:54:53 -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=@conchuod.ie header.s=google header.b=Slkpsl7r; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232620AbiGEVwk (ORCPT + 99 others); Tue, 5 Jul 2022 17:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbiGEVwa (ORCPT ); Tue, 5 Jul 2022 17:52:30 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE6C140F8 for ; Tue, 5 Jul 2022 14:52:29 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id d16so13065865wrv.10 for ; Tue, 05 Jul 2022 14:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bn7NMU6i2JipaHjilcDVj2dVJzF0Mozbq5+lea1OdzA=; b=Slkpsl7r9Kp451ZNey0oEZzxjuQF0suIIjxL9cZ2NQwn/t1lFAU9Tnh+suky4eMS1h YUmFPg8cYA3FAofnfJJV8ocNpuN2u1BAa+fQ35PTOkwttnxQ1zDR1Qc8de64sYsXnBUH ajLI4JkOsiOJ4FmFcWefB6nrvs/7GyrBRKYz+6/eOYVP/BE+xSu4DAnMoA7m08+pWwaW ELJHDcXeFjTZU4OrOCwONiswxxTNfceAQzWy+UcN47rs6g67curC4Asuc1MmU70KlF/V nasOCrdsJTNHCfg3y67UHtpYybbM7aKBZTTjA/5NNdVuWhbOCRNbKDRc0WOCbLp1OcZd jA6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bn7NMU6i2JipaHjilcDVj2dVJzF0Mozbq5+lea1OdzA=; b=yn04XLCw6HXycLS9Jd5Usndu94Rg+1bTKMX1Z2zr8AUM2ceR8rZjoDYHhrrhkITAQI C6tPVOcyWpTcHsOEvU184GqiL+OQWbgjf6NRskhKt926VR3bcMmnWiT7Bc+1Uw7K+eIe y/o1FwX1Czlo1BB9XidzLenPng3o0Vwu8YZPs2Zq1uhb8ACddl106BlOriXeaRgORGHS oviyqNer8aYXg74mb5S5We0xl+5ctjPjzJzvn4RcAAGzrqP7XCsT25MEMPmXn4Fv+fkT oCne4lrlprBOs9wudEjwOv8uC4WntUGNldWKlwwpySxiosTmIA3UgdWmNu9TLhThD6te yi3A== X-Gm-Message-State: AJIora+WinXWC2skiXRp7bHyOgLKJkfQv2LG/jp4CB3hHLmOAMF2LLXF cg3XhqTKNkd87lOZxxee8HYyvw== X-Received: by 2002:a05:6000:1888:b0:21c:9a16:5cdd with SMTP id a8-20020a056000188800b0021c9a165cddmr34342146wri.562.1657057948113; Tue, 05 Jul 2022 14:52:28 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id g34-20020a05600c4ca200b0039c7dbafa7asm18353920wmp.19.2022.07.05.14.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 14:52:27 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt Cc: Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-riscv@lists.infradead.org, Rob Herring Subject: [PATCH v5 03/13] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts Date: Tue, 5 Jul 2022 22:52:04 +0100 Message-Id: <20220705215213.1802496-4-mail@conchuod.ie> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220705215213.1802496-1-mail@conchuod.ie> References: <20220705215213.1802496-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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 Reviewed-by: Rob Herring 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..67aa7bb6d36a 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: + 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