Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp200686imn; Fri, 1 Jul 2022 13:05:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ubMoGS5R29PnJrWttFF+aw2PKe38YXBG9r1BZwkiAlQFWuaS8ATD3RXngBo37Y4O0FYEXE X-Received: by 2002:a05:6402:3305:b0:435:8b1a:8fa1 with SMTP id e5-20020a056402330500b004358b1a8fa1mr21490571eda.32.1656705936806; Fri, 01 Jul 2022 13:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656705936; cv=none; d=google.com; s=arc-20160816; b=KYaA8bxFoeHlNYhFbSMMAmA3jFtmub7i9LZCTxw0bL6h9vBs3oHkTCzXlKl5Y2AT09 7JeEXN8GS/alTzjRjxEfzxKoJoQCYZQYrviiSFE2/CWNsxsfNxcjjowaJmMUVZLDrozR T7sF7oz2gO5icACEc/t7XjPE8qlAxVW7bRhZ/41Ii0g0dcae3JE3ZX7EFwSED7EQ6hGh FOSVQ4p8OT/ZiE792yncQn54bXnAFJ+pac336QkSZn9NpbI6HnYxZotc3zc9BDlFVo4e B/bX/SWaRMXmdNCG1FpsT+ghYVs5JGGrnWSGJQW4g8/KeyoUfKlYO/cia/7Aemr31USc TlHA== 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=n8qfA9IAmAR9d68Qs6EcdYn6JQ+wOikeh4QHOXnnp+M=; b=zIpa3OIb8TLKHHUKUkCbl07Yn6wCZoG/u7tYq2y1WACRKcdmB9Q/2+99uhZoafEfae bRsn+T9SgYwR/qo4heX5iTPaG0ECle9AmyxTw/hL9zl5BDUX7Ea5RO5PsYdKZ+KK1VaR PWnP9j9HWfYcuHiQfiNXyDF/LOEyrFLg00XFh9/2xgCWZW3ZyUosCePkrmSXeJXN4Puu +N1yRv6sPeOyWxCrMnXTSJWI6OE9+2EO0pnIiLlA6oexSkTDh8W7zI+/Kya6ev4lPqo7 oMaFvImQNqupQpoewn/bYVjIeiNsq9JbmhBLWr1An2LijNiFhEge8SrPTUZJdIb9vZmy Wn7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HrIL0NFF; 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 g10-20020a056402090a00b0042f4ae66c4asi33414840edz.148.2022.07.01.13.05.07; Fri, 01 Jul 2022 13:05:36 -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=HrIL0NFF; 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 S231342AbiGATYG (ORCPT + 99 others); Fri, 1 Jul 2022 15:24:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbiGATYD (ORCPT ); Fri, 1 Jul 2022 15:24:03 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0216B13FA4; Fri, 1 Jul 2022 12:24:03 -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 sin.source.kernel.org (Postfix) with ESMTPS id 68B5CCE34E4; Fri, 1 Jul 2022 19:24:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 518B6C385A2; Fri, 1 Jul 2022 19:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656703439; bh=5IRTSJGvFO4OHAMn+9sgGglU08Ime9shNTeY7wLOS4w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HrIL0NFFH8GvPv14X6eBnhKCVhPnGfzzX07lePmAewtmHaPeitZxlRu5IOvEN8SlI 7G4EMoPHK8/OJfdGHElOOxvxKtHEGBTh//armumSOFz9SgygpEPyYZyqI3WB/e7umc AAIAZGIRKQ2ob/9ffk+5nMiI1uo9wHVqrT5J0L2sEEGf1q+qs3x0O8h7KlkxhudyOh xrIjmbssGpN0IuOXCgIgIzdSs3GD8enEK0Fj8RMS0uHS0tuu0OEkdYsa+XsIJHziFr 94Tt4K0kSGITB4vKyoCbTjhgRa3Lnz3LfdtzLexUetgtpQS8PsXArIyYWSE7rBcfEz Fb1GAc9SDJGTg== From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , 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 , 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: [PATCH v4 04/14] dt-bindings: dma: dw-axi-dmac: extend the number of interrupts Date: Fri, 1 Jul 2022 20:22:50 +0100 Message-Id: <20220701192300.2293643-5-conor@kernel.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220701192300.2293643-1-conor@kernel.org> References: <20220701192300.2293643-1-conor@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 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 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: | + 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