From patchwork Sat Apr 30 12:18:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 570149 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 70C38C433F5 for ; Sat, 30 Apr 2022 12:19:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354415AbiD3MWf (ORCPT ); Sat, 30 Apr 2022 08:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245112AbiD3MWe (ORCPT ); Sat, 30 Apr 2022 08:22:34 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B4B6592 for ; Sat, 30 Apr 2022 05:19:13 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id k23so19984712ejd.3 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=YA95cmLs9HBsY5LdKnVl3A/xf0998I/bRtENwU6KXBY=; b=jjjMkcBCoWHRhZIM4y0A/RpoRPkOVRFlSfQyQUJ+PNYbYk1MrxyWgkEblb6Jk+9y/B 9zH5MfrrcZHgjnSE5PcP+/j6u4BwqVRQ39/rpLfaCuqOpPo2hDMCpLnM92GbLweeM4Z/ hZeNQ7MuHpD4xJbFD6JfFescllYjro05cxv/YWijjPaFK7VvQbay9MLC3liHva4bolqa 3Q0hIgNomNmPlaBpOca3kVUEjv/d6MDPtPZRm09RFWy/F7Y1qVVIet9g2AYsWCN3AJ1Z UM4IhPg1eW8P8H6VeuH/d/6t9XXX/JlOB0NDIs2/aZju2cfdUpojxOmWaHeRLu7AggNI yS9Q== 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=YA95cmLs9HBsY5LdKnVl3A/xf0998I/bRtENwU6KXBY=; b=ZPzbLRN7/E/DNDCF64fLEatXMjGfrCYNkaC901K61VV5PZuI+23DXcTVRoXLQ3uyNT Sn0tHEJ6uLyquwACMZcIEEkpOFP7g2tRgS9lasCavSqL/I35oKvdVUXRbaBaSeOYi/SO wHiAP/RKj7bdZwVW3O3WpR0BY1j3T7onoxnPqdYL6sxEpTEOrbJKthClGL1rZOlI60gN 3B0eygvwJR+KrWh9JGNAq4nBfXl+HxTW1pIXBue4tIe1PCWvo4p2AwoKIsas+pdHoxRI Qvu7N8peKETG6snhXxffjihNCpTDQdVHcP04kf1Iy7n7NP7s9s/iQpSF+opKbJjkbghW hTiw== X-Gm-Message-State: AOAM532G4KY9izifgjwq9Hbj7DUBWByG1jBZGznZ0rBbEGxudn3yLmyx bRr806xvAO3xu3wPL9J+qwxyzdzsiTXbAQ== X-Google-Smtp-Source: ABdhPJxNfQBhNV0VJwNOcI8JD5QVzijRk8NMFXCsaGhRCYT+IP+WhtdkxmjE2d+b0WfV2zK8BvDt4g== X-Received: by 2002:a17:907:1c0d:b0:6f3:b742:ef56 with SMTP id nc13-20020a1709071c0d00b006f3b742ef56mr3685842ejc.504.1651321151497; Sat, 30 Apr 2022 05:19:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:11 -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 2/9] ARM: dts: socfpga: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:18:55 +0200 Message-Id: <20220430121902.59895-3-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: linux-samsung-soc@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/socfpga.dtsi | 2 -- arch/arm/boot/dts/socfpga_arria10.dtsi | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index b8c5dd7860cb..bfaef45bdd04 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -80,8 +80,6 @@ pdma: pdma@ffe01000 { <0 110 4>, <0 111 4>; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&l4_main_clk>; clock-names = "apb_pclk"; resets = <&rst DMA_RESET>; diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index f1e50d2e623a..26bda2557fe8 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi @@ -73,8 +73,6 @@ pdma: pdma@ffda1000 { <0 90 IRQ_TYPE_LEVEL_HIGH>, <0 91 IRQ_TYPE_LEVEL_HIGH>; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&l4_main_clk>; clock-names = "apb_pclk"; resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;