From patchwork Sat Apr 30 12:19:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 570146 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 02A71C433EF for ; Sat, 30 Apr 2022 12:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378768AbiD3MW5 (ORCPT ); Sat, 30 Apr 2022 08:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377108AbiD3MWu (ORCPT ); Sat, 30 Apr 2022 08:22:50 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3382E6C970 for ; Sat, 30 Apr 2022 05:19:21 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id dk23so19961518ejb.8 for ; Sat, 30 Apr 2022 05:19:21 -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=9PrzlAjGmNeSX2t/TXGPbZCFJ6ftTzqZDscsydnon9s=; b=i/irFdjzBJgh54tgZ4//X6S0mWafLpwsgehVEM7BwkPqnDg9OvKTJ6dgosnzJF+rXF luGhopmRV6H54GMguL3OvUGPWeQTKbAK+DO4Z+qBCXof1beTo2VDFKZn/jsJ7UfxJOdB MWlcE+FxSFpcKb5Ldpf+JoelJ44BrUzi2wZGKp2Pv/A9SBs69PfOOTvfnN8/iYg2u3kh 4z6gkHL3A4KbssQgMsuY/4Co6VJhZ4CFlNIKIP72e5bw6SjKo5qeBH1l1ICzcADaLj2F F+KS1sMCAruli5SPTjxgagHILCjRLsoosC7mFKYEAFq7AofXdHiLDJa2gtX/iTLPH+Js RMxg== 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=9PrzlAjGmNeSX2t/TXGPbZCFJ6ftTzqZDscsydnon9s=; b=XqZnaC4ibtu84ycp1XUaYPTYM3r3nD4HScd/aF7wTVTaSXk8Rh7yqADGjl4KmmGO22 LtI+MMoWFj1Vy9mA8vxEI+AQ8HHTbANuojR33GvacBQRUDVJ4Rgr4+Df9WA/fGzn/Owc sOYcUc55kVd8ZGzr/NjOhxlFvoV0dDHcUadxxDG4gvzhKXqTeW1Yh3KeVqQGn3/iTbYa cSkp3eaeXY36WBOpelFlaz8sjhwbuB21aSVNSPpG22FCmx/27TuZEbUqJwZ2l4XlmAO3 ioQbLnMT2WcIHCTtIUxgtR/E/sKHsETix0QrjCFCYJiMFDrxY/2ywaKg8r74UlPI6WMj 6Kzw== X-Gm-Message-State: AOAM53173Crg+8e8GAIbSB53BaeWupizChoQ24SRun8tqwBGxEzQM11+ aTh651WZlyGLqC4ZOr4aVMV9/g== X-Google-Smtp-Source: ABdhPJy1iVrG4EYBeYhtmduhXaSa9bjJ6gFExbQgPOoPqYmL7ybmkMBOA4DSedXZgdWFWOvpViLMUQ== X-Received: by 2002:a17:907:3e0e:b0:6f3:845a:8d2d with SMTP id hp14-20020a1709073e0e00b006f3845a8d2dmr3770364ejc.78.1651321159572; Sat, 30 Apr 2022 05:19:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 05:19:19 -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 9/9] arm64: dts: fsd: drop useless 'dma-channels/requests' properties Date: Sat, 30 Apr 2022 14:19:02 +0200 Message-Id: <20220430121902.59895-10-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/tesla/fsd.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index 10c217a57a7d..af39655331de 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -432,8 +432,6 @@ mdma0: dma-controller@10100000 { reg = <0x0 0x10100000 0x0 0x1000>; interrupts = ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&clock_imem IMEM_DMA0_IPCLKPORT_ACLK>; clock-names = "apb_pclk"; iommus = <&smmu_imem 0x800 0x0>; @@ -444,8 +442,6 @@ mdma1: dma-controller@10110000 { reg = <0x0 0x10110000 0x0 0x1000>; interrupts = ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&clock_imem IMEM_DMA1_IPCLKPORT_ACLK>; clock-names = "apb_pclk"; iommus = <&smmu_imem 0x801 0x0>; @@ -456,8 +452,6 @@ pdma0: dma-controller@14280000 { reg = <0x0 0x14280000 0x0 0x1000>; interrupts = ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&clock_peric PERIC_DMA0_IPCLKPORT_ACLK>; clock-names = "apb_pclk"; iommus = <&smmu_peric 0x2 0x0>; @@ -468,8 +462,6 @@ pdma1: dma-controller@14290000 { reg = <0x0 0x14290000 0x0 0x1000>; interrupts = ; #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; clocks = <&clock_peric PERIC_DMA1_IPCLKPORT_ACLK>; clock-names = "apb_pclk"; iommus = <&smmu_peric 0x1 0x0>;