Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3275234iog; Mon, 27 Jun 2022 12:43:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uDowGb405XNtxwKAx5+G0k8Yg7OHILNs+Vxbbr/YzFUrQJeJB+dZwFKhbphKuQsxvAXuLY X-Received: by 2002:a05:6402:350f:b0:437:6618:174a with SMTP id b15-20020a056402350f00b004376618174amr18319860edd.329.1656359017666; Mon, 27 Jun 2022 12:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656359017; cv=none; d=google.com; s=arc-20160816; b=dzJeb+RLpTjzrj70TKLuoXAIblbSbmgFvMjR6zWbQG8Z7HjutU3ff4iiGlhIBOKBgU 7yP9ojCgoZrPi9f+wGo8b2YbIKz5pIe0M0Z0u0Izw1iglZWNQp7VuFL8dupHOKkyqf6w NPi20htMcuTyQSnt9gcv8B+wLyktriTGMgdFXVkIH9nSxiBZP/pJ64tQ0GexSqWwMQ0i sTQ+fpRHiLjvwJijwn73y4s7PilKWMKYz75seFxdfxIP260RkzXTpDURz4qRZLXeBiuW NcUWlG/OEc762rlicisUTqTmiAkSv2kLzIWHOrL0exDMsXm+58o6oqGjAAe9HgDE+b7u +cHA== 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=/4pSTzmZJtMPfdZhp3nJkb++kMPSJ1FDzT5rHgbkyFo=; b=TkOMn5M88P5bklqFK1lz/mXxYNaIDpoX/Hu3GaOY1MzyRzXo1bitQ3OxJpVhedL5Gy Ey8fEEusckrglolJMwq0xMAzXy+9mYOjckoqOMbAfxBqzFHDRHMpaSSbOt2QPE+4TYAN AouilZj+NP2OcN4MDeWnG3y6FT7ND5dDXexTitlvtQUTTgCg1/kT+baB7V1wFeM1ESCn i/nfei/9N7Mgs/tmIBJCmrrgSDFrjsSRaaAdDW8AdmTIwuWQkX0RgOqefjZs4qgYscjB VY1dX5UgB91lp/Gck3ZMEJvTeWOvwOLbCBACydfae3ZkAuKTRS06UtAU2yzQzWeBXAAF kaKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=fUcGP1N8; 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 g21-20020a1709065d1500b006fe77c7f13fsi14018021ejt.734.2022.06.27.12.43.11; Mon, 27 Jun 2022 12:43:37 -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=fUcGP1N8; 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 S240596AbiF0Tlv (ORCPT + 99 others); Mon, 27 Jun 2022 15:41:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240529AbiF0Tlp (ORCPT ); Mon, 27 Jun 2022 15:41:45 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6201917E0D for ; Mon, 27 Jun 2022 12:41:31 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id o19-20020a05600c4fd300b003a0489f414cso2716235wmq.4 for ; Mon, 27 Jun 2022 12:41:31 -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=/4pSTzmZJtMPfdZhp3nJkb++kMPSJ1FDzT5rHgbkyFo=; b=fUcGP1N8oyv9wbrxArow7bj9CcdpzDUZQAModO/c79V3MzgRbDNNV/8LgF4H1T1GQs IChP1zjgi/XOcXFhZIkbV0TCnP/aEmt30Qt/x1j/QHaiLaw6W7XR/ZcK5lCplaamVDzb m6w/B2QGiflnmfO1WZS7VEaMRJK0e3ugiRjiGSRO0gWg6iojMRzR5V4a0KyyQUXAI3fT ePAmN8ijusyEpXfItpVgKuiAKLDnsyTJqmZX5NWTsvckGK1LX1/XQ9zMdcZhLecowRCr rvyMkn21VBG8epRNjd1ed0nDT3oBvlHa57V6rwoKJH5h/ATmx4dpU3nicZ3JbdF7uof3 6JRA== 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=/4pSTzmZJtMPfdZhp3nJkb++kMPSJ1FDzT5rHgbkyFo=; b=7mpYf5mClHKljXWCS+ZU9nB2nklMqmXwavqrW5Y6A+8M0kkNeLa6DfV6XIIH7DDnyg i7rvf3I6XpqJo4p4qOppvyknacNg3tvVFSYuhfrwmgLHZilrG6N4kn25pixfmVZSoG2h G3gJEAGDHdZizmhw/KOxKZHERJo8HLLb77jR65zsIhXPN8ZlRkksmjhpAWJrrINiBL3o VOVaOBIXbfoT2MZ1EuOsO/gdnu2eMNwt4x88ik+LhJ1nk9hwDIfzIAGAETE+Vszp63eU U3NIVBbPLo9QIS/gl9NinpcCgTzVK3FlVptga4EenqC87fSUmYG5DHdXHhFDQI1wtwSY UNSw== X-Gm-Message-State: AJIora9RvTRz0oHUkYHrol836PfFsPj+hrFgjgabTh3HwXaIO5UAvnPz wl1X3/meE38hLLb4oDiHQqvi7g== X-Received: by 2002:a1c:ed08:0:b0:39c:80b1:b0b3 with SMTP id l8-20020a1ced08000000b0039c80b1b0b3mr17522441wmh.134.1656358890978; Mon, 27 Jun 2022 12:41:30 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id e9-20020a5d4e89000000b0021a3a87fda9sm11428047wru.47.2022.06.27.12.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:41:30 -0700 (PDT) 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: Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Heng Sia , 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: [PATCH v2 09/16] riscv: dts: canaan: add a specific compatible for k210's dma Date: Mon, 27 Jun 2022 20:39:57 +0100 Message-Id: <20220627194003.2395484-10-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627194003.2395484-1-mail@conchuod.ie> References: <20220627194003.2395484-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=unavailable 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 DMAC on the k210 has a non standard interrupt configuration, which leads to dtbs_check warnings: k210_generic.dtb: dma-controller@50000000: interrupts: [[27], [28], [29], [30], [31], [32]] is too long From schema: Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml Update the binding to use a custom compatible to avoid the warning. Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/canaan/k210.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/canaan/k210.dtsi b/arch/riscv/boot/dts/canaan/k210.dtsi index cd4eae82d8b2..45ccab36618a 100644 --- a/arch/riscv/boot/dts/canaan/k210.dtsi +++ b/arch/riscv/boot/dts/canaan/k210.dtsi @@ -143,7 +143,7 @@ gpio0: gpio-controller@38001000 { }; dmac0: dma-controller@50000000 { - compatible = "snps,axi-dma-1.01a"; + compatible = "canaan,k210-axi-dma", "snps,axi-dma-1.01a"; reg = <0x50000000 0x1000>; interrupts = <27>, <28>, <29>, <30>, <31>, <32>; #dma-cells = <1>; -- 2.36.1