From patchwork Sat Apr 30 12:18:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568305 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 009DCC4332F for ; Sat, 30 Apr 2022 12:19:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352354AbiD3MWd (ORCPT ); Sat, 30 Apr 2022 08:22:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347445AbiD3MWd (ORCPT ); Sat, 30 Apr 2022 08:22:33 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14162A272 for ; Sat, 30 Apr 2022 05:19:11 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id n10so2532576ejk.5 for ; Sat, 30 Apr 2022 05:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lhzs630Ku48cr1hsvUIAdB76W0wVhhR948l4JWHPvns=; b=d9Q9DkqetFM3OzssY3M5rpFVWC1QKfFxCU8E3RAoRj9Cs6XLK7sBrbQuxiJErNSsbb OyYNBMA2LOjH96nTDZJx+dDSI9sxoHeFx5hv73lCrAWvKnM4nJ8EKLH966sWqOLlxfkW T69bVd7/1lsu7N+clMbj8EvwKQnmBVaCyNIPQArT6KewQ+8hUGAYfyoOQffj0X+RD8Ui Bo6lrAP1cT35vGVaFzvnqZNbJo2fEQnp2ElIwZcBuVVVCJccBOS2ce94nASn19tEYK7U ZVpyi6vUsuQPrV7k057ylb/tdarvxih5PafS8mcS4CfXOmExd/90v3JizzLicFKj3NLr n9KA== 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=lhzs630Ku48cr1hsvUIAdB76W0wVhhR948l4JWHPvns=; b=70PA3kbxYOfXYr9xY6bdmq92Zlu6isnyLaqeSqfmCPA6LsE7NfJIsNLQJCI9HZYvvQ kG9ItlnEN3y1hrzguQrTpO+cFP2OKZjvB3zhSMqxhEwo5Krt5jY/MCXxKiwYPIwur4Jl mkIzWmQpUTFTwyRZ4RDB3Ml1/E93vG+gITwwhC3k1RUdd6zR7mNEMo/VODzJzxadu7Hf HmySGCcksbH3ye1YnKyifKmQz4PoGoOXYQDVI31Za7fmA96DD/NUZCJpYPZf2So9ULAL SiSw3VS9YeRj4IhA40CR0z21v6SbJiwJCj42Bs6Tekwiy0LOETvs/Xb/gLd32qjdS5zp 8NFQ== X-Gm-Message-State: AOAM532qhzvUMH1iJFuPvA0PjlLa1MUAMl8BHFvenSCptZIpzh5Tr/4Y yucEmp+qtYdCwKPmCy+sNcfyHQ== X-Google-Smtp-Source: ABdhPJxNi5omVt9+ibh14BfAJmJrUJ8HVnpKDSYGjjSBZN+woQC0gqCzDIx3YnH6MvxyNKtTPB2XLQ== X-Received: by 2002:a17:907:62a6:b0:6ef:8118:d3e2 with SMTP id nd38-20020a17090762a600b006ef8118d3e2mr3564918ejc.605.1651321150246; Sat, 30 Apr 2022 05:19:10 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c26-20020a056402159a00b0042617ba63d1sm4059091edv.91.2022.04.30.05.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:09 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 1/9] ARM: dts: zynq-7000: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:18:54 +0200 Message-Id: <20220430121902.59895-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> References: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The pl330 DMA controller provides number of DMA channels and requests through its registers, so duplicating this information (with a chance of mistakes) in DTS is pointless. Additionally the DTS used always wrong property names which causes DT schema check failures - the bindings documented 'dma-channels' and 'dma-requests' properties without leading hash sign. Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Not adding acquired review tag because of significant change. --- arch/arm/boot/dts/zynq-7000.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index 47c2a4b14c06..c193264a86ff 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -343,8 +343,6 @@ dmac_s: dmac@f8003000 { <0 40 4>, <0 41 4>, <0 42 4>, <0 43 4>; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <4>; clocks = <&clkc 27>; clock-names = "apb_pclk"; }; From patchwork Sat Apr 30 12:18:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568304 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66918C433F5 for ; Sat, 30 Apr 2022 12:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355081AbiD3MWl (ORCPT ); Sat, 30 Apr 2022 08:22:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355053AbiD3MWf (ORCPT ); Sat, 30 Apr 2022 08:22:35 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE47F31DE4 for ; Sat, 30 Apr 2022 05:19:13 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id be20so11801303edb.12 for ; Sat, 30 Apr 2022 05:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a5kf3y2M7fy8iPzpUwHWQL83aZ36k2Uw1ck+FQf0ju8=; b=AFP6mba/7P9HcbJqFT7v0yz7OS9fTLfs2qGRSUDRTTc0IUFlzm8WApVcajerOLqZpb 4O0WM1rMPlfF0CjUlxALNLVboKFCe9t+HEjrVq9Nzjo27SEWSXPDoqbIlGZRXTemMang 4jX+wI5gEl3Rz1FtGQwke7bA1NdwOK4vJWGsv6KSyLxeurgrCI+n4fmdOpzbEFLsusOJ wEUKOZ6ya5WHdOsr5/gZXQTIU8ldyM+BgD2JXsEj8Iu41pT4Nz/RY6ZnQgahuzM0HCeo UprogZYE3B8/tQrUAFKHmpqJ9joSIQGl/BUCkn3uFR2uFLQt9b2+GQyKMhrBpB9O6Goh +8cQ== 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=a5kf3y2M7fy8iPzpUwHWQL83aZ36k2Uw1ck+FQf0ju8=; b=qd6nxRIFoMfiXvS7lpOKQNDYqaKtM2U8zO4tYJDfg0A8qzqaTYD/G/76Jt4DKSIrV2 W4nXN2pbthzZTsvbBK/pUA+2nI4Vb3xD5n4xGoZnzS7p946BmCTuwcuLE/Ww2fRlYFWD UGWTOD3jO7hhD+a0YBqOKFVjpwap/zU3o2gSsofZ9gkNTDHlWLWlClaT822RsQ/Fubcd SzZ70+UB9PuoIYtZdUyV//RtUiuW2zy7lPbCptpHy1rODTq1zq8BSHFTr/Y2yopSfPET e9Qdupi+tmKEBKqNa+cuoIJXR/t36q8AsSipg/HvNlSqzu+YbpIZIOq5gnEFLySs5enx uxCQ== X-Gm-Message-State: AOAM531+FqmbYCimEBrmuQ1u0N+P6FKigxXMo6dbaeYMLRt9lcTVjqS9 3yY/mR5tk8H8mFeoZsWKZ3UMlccWCJejBQ== X-Google-Smtp-Source: ABdhPJxtWWrrtZbl39jx7xyI9RksIBurQ9DcfP+anq2xMaGPQkQ0yTyW8lJ3p10615dHqYj8q07/pg== X-Received: by 2002:a05:6402:1908:b0:426:30d3:7e1f with SMTP id e8-20020a056402190800b0042630d37e1fmr4139168edz.174.1651321152591; Sat, 30 Apr 2022 05:19:12 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c26-20020a056402159a00b0042617ba63d1sm4059091edv.91.2022.04.30.05.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:12 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 3/9] arm64: dts: stratix10/agilex: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:18:56 +0200 Message-Id: <20220430121902.59895-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> References: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The pl330 DMA controller provides number of DMA channels and requests through its registers, so duplicating this information (with a chance of mistakes) in DTS is pointless. Additionally the DTS used always wrong property names which causes DT schema check failures - the bindings documented 'dma-channels' and 'dma-requests' properties without leading hash sign. Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 -- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 884bda106399..aa2bba75265f 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -346,8 +346,6 @@ pdma: dma-controller@ffda0000 { <0 88 4>, <0 89 4>; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; clock-names = "apb_pclk"; resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index c78371703e76..caccb0334ada 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -350,8 +350,6 @@ pdma: dma-controller@ffda0000 { , ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>; reset-names = "dma", "dma-ocp"; clocks = <&clkmgr AGILEX_L4_MAIN_CLK>; From patchwork Sat Apr 30 12:18:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E232EC433EF for ; Sat, 30 Apr 2022 12:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356756AbiD3MWr (ORCPT ); Sat, 30 Apr 2022 08:22:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355307AbiD3MWk (ORCPT ); Sat, 30 Apr 2022 08:22:40 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26CE16AA5D for ; Sat, 30 Apr 2022 05:19:15 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id bv19so19967721ejb.6 for ; Sat, 30 Apr 2022 05:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L79GI+mT0jZQe54/uvCkpP4Pnwj1w6LGRYKkkvxF96E=; b=HxLT770PhJNrsAs8v8YlsGWebhs8S4BnSmWMIFs/ZbsI/Jn27vYSQDk3FKthJXZ0Uf bjPaQEx33epDGBipq3j06t0haEkMh72jyofUPXvF2p6jmgtaXgeOgD3nsKWshfflrcOh MSAAWvW0nbpk8wEd6qv+ZkpfUfCvQtq8YPKL+WFrNi4N3X2BjNoZWNLodDXBM3eYySMv OYqBcpUOCwR9Z0U7Y5BgkFkN255uDGUl4TeNxDHVo3kkjwzeaiTmg12h6rXQYdTBz0jq oeUrJgwIHp1zXrcRdsBsE1qt2xOp/kLwKQ+hVSaEn5ssNWGiZloWqK1AqIB2EztwzrMT qrtA== 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=L79GI+mT0jZQe54/uvCkpP4Pnwj1w6LGRYKkkvxF96E=; b=FmuotUAzyfUohRHJg4GX+A6sUr61KtxKNU7XpoVzMsu94UuhrvT9DzYJ6uxWefj4Nu AmJGVa48UQXUftXHNia940cpQwuUZCSKoYb+0RfgSGEc0/QYnzXeHp/vWLG1cfuqkuuG oUr7RAYTc4uvPwJHzsSbZYWfAQXMiqXHHaxlW3OtJbsMFGMPN8WSL0PQiR19yvLj1jiL uQYkv4b/Eyqn5o983QE0teNJj/HXMhYuh+AEGMTJyXQ/vcXpQ6kzzTVmTZh2RNZTzMNT l46tW4OSUgmp41p9pNOVnGAYBSlFP1YbHjNT1YeB0Sj9ZpRhJcVFwMj6YocCidvGQIp/ MA6A== X-Gm-Message-State: AOAM5305fNYm3zySleNfMRw8Bbdgks+ZoRA9l9Q6HCVUWbgO/eykDr84 LZP96OIs9IpHjvJJhgaEhD1RFQ== X-Google-Smtp-Source: ABdhPJxBWAy+KPw1btN/yoFrxMnEtYQn5s298QGNRXgo/AWBDYHHnv00Ytwh/0II49sGeZIR/EnulA== X-Received: by 2002:a17:907:8a11:b0:6df:db0a:e5ab with SMTP id sc17-20020a1709078a1100b006dfdb0ae5abmr3728539ejc.528.1651321153664; Sat, 30 Apr 2022 05:19:13 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c26-20020a056402159a00b0042617ba63d1sm4059091edv.91.2022.04.30.05.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:13 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 4/9] arm64: dts: juno: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:18:57 +0200 Message-Id: <20220430121902.59895-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> References: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The pl330 DMA controller provides number of DMA channels and requests through its registers, so duplicating this information (with a chance of mistakes) in DTS is pointless. Additionally the DTS used always wrong property names which causes DT schema check failures - the bindings documented 'dma-channels' and 'dma-requests' properties without leading hash sign. Another reason is that the number of requests also does not seem right (should be 8). Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/arm/juno-base.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 4f40a5c8f565..065381c1cbf5 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -829,8 +829,6 @@ dma-controller@7ff00000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0x7ff00000 0 0x1000>; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; interrupts = , , , From patchwork Sat Apr 30 12:19:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568303 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5041C433EF for ; Sat, 30 Apr 2022 12:19:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356027AbiD3MWn (ORCPT ); Sat, 30 Apr 2022 08:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358234AbiD3MWl (ORCPT ); Sat, 30 Apr 2022 08:22:41 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6E97AAE23 for ; Sat, 30 Apr 2022 05:19:18 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id l7so19996708ejn.2 for ; Sat, 30 Apr 2022 05:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9TmOZP85iLTu54G516uLEfLOVCGZ6t1Dbfj7i4HuW1E=; b=dSt00Rl7jBClo5es5EjLGcxwwNQ1tGiubhI9M0Dj6UG0i07YfZlvYR2BqrDLX6Sr4d RG4FUjBTWzZkqTgHBFVeXM9ke6qdAo5B1yFQi19H7qAWwNkAvsZKhorsQtu+ks71Dt0g xWVq0U7w1EZ4h91PUAvvE+cpme/ivycL6eVYoN6DLIGpWiPHMaJJL+Cqxlbp0OSp9msW F/EkQCmeSPBtHw0yePqAaPkBUXDuCguzEhW8XZsI8IqX85Ck0TF05GW+NM2kaiCRG/KD 121TIF1KLL3puQMGkQjHhXKflABoRLfkjm9DOLhMASCku4s/mZzdOou60KF34ihI3l5X 3TSw== 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=9TmOZP85iLTu54G516uLEfLOVCGZ6t1Dbfj7i4HuW1E=; b=TzlHMFZ10Yraipx7eJ3YyXXajHQ8N3L8uUfEevgBQZhVpQ2aZ0l159IlbDCxWA3bCT BEWARfjSAWtrDjhhTPsGvGxkvtalHoI8R0IlNo/4XZl2WqPwCoKKaCrG6sq5hLQM06sw H6iMrUMASqLTm7xnrQmXjCiHEktfzxcduBlaQcWVUeRm2mXzPxvP9rtYA2S3rlOdQPmx 2ASodIPa/jhU2jbYAut9/W1FOvXMbP5Vbe9yx+0AnJJ/FQYRfownj0I/0Lv9foIW85qR YINkhQrX6AgayfqL9Kzy9alpImIIvt5F6dko0ZMzhNWJK5QjwwwI6XE91f8JGuk5bRJF sC1Q== X-Gm-Message-State: AOAM5339Eju3xJRj9gHg2A7GmihXIbaGhEmPcumaxKqTHahyllLfTlGY V1zxqlr3tksWUcQmfG0hyiimDg== X-Google-Smtp-Source: ABdhPJx3nNK1Ex/Ghj6FecYpj8HHeEm+A206wbjAsc/JZM9gO/J98ja4t24qPF9U50SY6ThbcsWi0w== X-Received: by 2002:a17:906:581:b0:6ef:aecf:1bd8 with SMTP id 1-20020a170906058100b006efaecf1bd8mr3756393ejn.591.1651321157275; Sat, 30 Apr 2022 05:19:17 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c26-20020a056402159a00b0042617ba63d1sm4059091edv.91.2022.04.30.05.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:16 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 7/9] ARM: dts: exynos: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:19:00 +0200 Message-Id: <20220430121902.59895-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> References: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The pl330 DMA controller provides number of DMA channels and requests through its registers, so duplicating this information (with a chance of mistakes) in DTS is pointless. Additionally the DTS used always wrong property names which causes DT schema check failures - the bindings documented 'dma-channels' and 'dma-requests' properties without leading hash sign. Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 4 ---- arch/arm/boot/dts/exynos4.dtsi | 6 ------ arch/arm/boot/dts/exynos4210-universal_c210.dts | 2 -- arch/arm/boot/dts/exynos5250.dtsi | 8 -------- arch/arm/boot/dts/exynos5410.dtsi | 4 ---- arch/arm/boot/dts/exynos5420.dtsi | 10 ---------- 6 files changed, 34 deletions(-) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 41bb421e67c2..78dad233ff34 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -429,8 +429,6 @@ pdma0: dma-controller@12680000 { clocks = <&cmu CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@12690000 { @@ -440,8 +438,6 @@ pdma1: dma-controller@12690000 { clocks = <&cmu CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; adc: adc@126c0000 { diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 5fd17bc52321..6f0ca3354e39 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -676,8 +676,6 @@ pdma0: dma-controller@12680000 { clocks = <&clock CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@12690000 { @@ -687,8 +685,6 @@ pdma1: dma-controller@12690000 { clocks = <&clock CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; mdma1: dma-controller@12850000 { @@ -698,8 +694,6 @@ mdma1: dma-controller@12850000 { clocks = <&clock CLK_MDMA>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; }; fimd: fimd@11c00000 { diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 138d606d58a5..62bf335d5bed 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -666,8 +666,6 @@ mdma0: dma-controller@12840000 { clocks = <&clock CLK_MDMA>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; power-domains = <&pd_lcd0>; }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index df80ddfada2d..4708dcd575a7 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -700,8 +700,6 @@ pdma0: dma-controller@121a0000 { clocks = <&clock CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@121b0000 { @@ -711,8 +709,6 @@ pdma1: dma-controller@121b0000 { clocks = <&clock CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; mdma0: dma-controller@10800000 { @@ -722,8 +718,6 @@ mdma0: dma-controller@10800000 { clocks = <&clock CLK_MDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; }; mdma1: dma-controller@11c10000 { @@ -733,8 +727,6 @@ mdma1: dma-controller@11c10000 { clocks = <&clock CLK_MDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; }; gsc_0: gsc@13e00000 { diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 4d797a9abba4..8a6b890fb8f7 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi @@ -196,8 +196,6 @@ pdma0: dma-controller@121a0000 { clocks = <&clock CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@121b0000 { @@ -207,8 +205,6 @@ pdma1: dma-controller@121b0000 { clocks = <&clock CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; audi2s0: i2s@3830000 { diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 21b608705049..9f2523a873d9 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -437,8 +437,6 @@ adma: dma-controller@3880000 { clocks = <&clock_audss EXYNOS_ADMA>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <6>; - #dma-requests = <16>; power-domains = <&mau_pd>; }; @@ -449,8 +447,6 @@ pdma0: dma-controller@121a0000 { clocks = <&clock CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@121b0000 { @@ -460,8 +456,6 @@ pdma1: dma-controller@121b0000 { clocks = <&clock CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; mdma0: dma-controller@10800000 { @@ -471,8 +465,6 @@ mdma0: dma-controller@10800000 { clocks = <&clock CLK_MDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; }; mdma1: dma-controller@11c10000 { @@ -482,8 +474,6 @@ mdma1: dma-controller@11c10000 { clocks = <&clock CLK_MDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <1>; /* * MDMA1 can support both secure and non-secure * AXI transactions. When this is enabled in From patchwork Sat Apr 30 12:19:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568301 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26966C433FE for ; Sat, 30 Apr 2022 12:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345116AbiD3MW5 (ORCPT ); Sat, 30 Apr 2022 08:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359691AbiD3MWu (ORCPT ); Sat, 30 Apr 2022 08:22:50 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B6EABF4D for ; Sat, 30 Apr 2022 05:19:19 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id j6so19926805ejc.13 for ; Sat, 30 Apr 2022 05:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FEUaNNHzE9ZBEpoPb2H49jbs7ls4zLcKTGKpF7Ef5aY=; b=IG7VNJKG2LAtdHPPgRFQSQBY+AsOe4DgJMH3eoxpjSs9SKgWg1Prw8WF1Av50a/+DA BgJdBBonToETYCWyeDrtNhB5v5poDYSojZQawZ979AtF6VrVbRZF/otK4EJWce997VNI v1Tm3rA+kjMw+paviRQ730WnWHxoo9JMUPg95uCNITGm0QsHjK5881OZ5Dxja+XQivgZ z/SEJ1oNOgVPxY8h7X/eqVsvHVf1sdwP9LxO553jH2E7GMc8AtXoVgYKtkteAwbpJu3t KOSy/bFziYuRKx5DYHNHz11k3RcnGxL9+Aa93eUnn9zODVPjzO+cgQg0aA1F1R8GDbVe Xznw== 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=FEUaNNHzE9ZBEpoPb2H49jbs7ls4zLcKTGKpF7Ef5aY=; b=W2bj3XnD6UKb8murrgvwpNmCW2VicYcNoIydPeHOI/8Q4waY4hdqBlrVdHeNBT7OO9 v/j30a4X6Nm3RHXOQWuw3WXLuUd0xwMYLYtGKhuEbeNVl09tSS476kf24Nck6tmFBle3 5k8Pp1Q4DnD9zahBMJIq8PQcKpO4NBSXkpfvZPBk3QaEtTVf122ZLtCK4giVa5yrGyy7 3iWhRzOmsoTXKddieN8CzEDLE4/006pl0eiZJSaUfTamN0H0HCTU6eiUp639CUVaNKo7 XIgqW96ZekLxv/H+nrVRZsbo4Jgg5vCwvL6EQI4/lnwcvVl/Gj6m/qNUtjESqHTBztwQ 0DaA== X-Gm-Message-State: AOAM5314RY52Lodsb5Sp2YiYPq18uR3wplq1wJsga9Z7t3ekCXMZO9t5 kV1xG0j6JFxi8YI5SHXecMannQ== X-Google-Smtp-Source: ABdhPJxItSAcw2+jyJJZYG3zIcYy0nrnl111gz9oeVOAm11XmeU4okKLgbMy+7RUHY07C+OnYfrwyA== X-Received: by 2002:a17:906:6097:b0:6f3:ee8d:b924 with SMTP id t23-20020a170906609700b006f3ee8db924mr3704773ejj.536.1651321158446; Sat, 30 Apr 2022 05:19:18 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c26-20020a056402159a00b0042617ba63d1sm4059091edv.91.2022.04.30.05.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:18 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 8/9] arm64: dts: exynos: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:19:01 +0200 Message-Id: <20220430121902.59895-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> References: <20220430121902.59895-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The pl330 DMA controller provides number of DMA channels and requests through its registers, so duplicating this information (with a chance of mistakes) in DTS is pointless. Additionally the DTS used always wrong property names which causes DT schema check failures - the bindings documented 'dma-channels' and 'dma-requests' properties without leading hash sign. Reported-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 6 ------ arch/arm64/boot/dts/exynos/exynos7.dtsi | 4 ---- 2 files changed, 10 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 017ccc2f4650..75b548e495a0 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1866,8 +1866,6 @@ pdma0: dma-controller@15610000 { clocks = <&cmu_fsys CLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@15600000 { @@ -1877,8 +1875,6 @@ pdma1: dma-controller@15600000 { clocks = <&cmu_fsys CLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; audio-subsystem@11400000 { @@ -1898,8 +1894,6 @@ adma: dma-controller@11420000 { clocks = <&cmu_aud CLK_ACLK_DMAC>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; power-domains = <&pd_aud>; }; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index e38bb02a2152..1cd771c90b47 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -149,8 +149,6 @@ pdma0: dma-controller@10e10000 { clocks = <&clock_fsys0 ACLK_PDMA0>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; pdma1: dma-controller@10eb0000 { @@ -160,8 +158,6 @@ pdma1: dma-controller@10eb0000 { clocks = <&clock_fsys0 ACLK_PDMA1>; clock-names = "apb_pclk"; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; }; clock_topc: clock-controller@10570000 {