From patchwork Sat Apr 30 12:18:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 568469 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 458D4C433FE for ; Sat, 30 Apr 2022 12:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357160AbiD3MWq (ORCPT ); Sat, 30 Apr 2022 08:22:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355440AbiD3MWk (ORCPT ); Sat, 30 Apr 2022 08:22:40 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B2BAAB6F for ; Sat, 30 Apr 2022 05:19:16 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id l7so19996589ejn.2 for ; Sat, 30 Apr 2022 05:19:16 -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=0RO6TI8wBg0VQ3uuEGgiZnjVHvc3YXcFjypcH3ATw2o=; b=kqy3uhmr7+EaED713/fDAmt7SFPSxLznugLtOtmyrNbjgasz+7wrOADQox+8vUI89z 6YMMPfgafPSBy++xyIlIQUuV11Op8O2hL4MDHc75xqy++EU1RkBpnf/vo109ol3Gf8I0 q2MrG2ywCYpbfg99f48CPeLixRlIyCZLJdqbNW7jCFATs6X4SQyWNSgxot/LsZdwWYYM Tfjw3ctAa9mguyREMbQWXmiNeaRGmvYkFxDKsrTvc1m2xGYZXc0wCMwABJAbRedZ4L0/ 8u/z48FMI/RhLpiR8GmgSCTVvGgZ/l0VpHvYyDIlFUvUwqkypK4YdnCtbPgeVJYwc2LJ LUsA== 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=0RO6TI8wBg0VQ3uuEGgiZnjVHvc3YXcFjypcH3ATw2o=; b=3vCBDCHPYjY1sbcDEAc2R2LzzbqOOQ/fAvKamlHcrIcZfNqnKveSlDfUaxklbwqvEE VmiNce/m18BCyG30YfqEGpiN7onX6p1R3fJgs2oDUb4sBTDEW4eVb3YeT3JrQ4sygGmH otOTdwDSUIV94NdyerzeOkA3C0SeIxxdf6+ssky7PvD7afowVYcGgJAy4tzyiJhUvYee 3I13kY9X/d7mRe6jaNbpSYw1A0Pui0hGKjzoa40o3hJBuirVCw2H6mXUOUvTCEhE0caq ut5QQR1fDRbUu3Fs+hkpEiZXhXH0dxdaZa4vmzDASxmTe8xkw147hZ8MQ5f59dQ9c2Sf KIYg== X-Gm-Message-State: AOAM531EvzVCxK/60D9309Gp4j+niRLyhOxLyORlWn1IJCntoF7UgnBF hcmcX6SdT1rY3uhR+xznufjb6A== X-Google-Smtp-Source: ABdhPJyYGqhym5nLmyrbCINZFxIxRIbBtXjym7LVAEMHv/1/Mi9Xk1QiTAgjU6cRbZExeUPQIIkQUA== X-Received: by 2002:a17:907:962a:b0:6f3:b0f5:5db9 with SMTP id gb42-20020a170907962a00b006f3b0f55db9mr3680869ejc.644.1651321154857; Sat, 30 Apr 2022 05:19:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:14 -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 5/9] arm64: dts: broadcom: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:18:58 +0200 Message-Id: <20220430121902.59895-6-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/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 2 -- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi b/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi index f59fa3979a04..fda97c47f4e9 100644 --- a/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi +++ b/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi @@ -289,8 +289,6 @@ dma0: dma-controller@61360000 { , ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&iprocslow>; clock-names = "apb_pclk"; }; diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index 7f1b8efd0883..09d4aa8ae1d6 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -556,8 +556,6 @@ dma0: dma-controller@310000 { , ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&hsls_div2_clk>; clock-names = "apb_pclk"; iommus = <&smmu 0x6000 0x0000>;