Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp476472iob; Thu, 28 Apr 2022 06:38:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+6abDUFjvIFvXj5zQSK+rrHUU51utvzHw8WncgPf+UTgoX6uPobvsuohKGnY1JHs/2J1S X-Received: by 2002:a05:6512:2291:b0:472:3bba:9f82 with SMTP id f17-20020a056512229100b004723bba9f82mr1841210lfu.660.1651153114657; Thu, 28 Apr 2022 06:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651153114; cv=none; d=google.com; s=arc-20160816; b=KlG2R8KLwK4xDLnJB0rVj5LMhKsJdq76W+AdZEeBImXtJo8fnXVVXRmIshD53o7Cd7 YUlaaFJHpGosWN6V+MtpeZB9i8DOd6Jp4Vscatu6Zr1c3baonxZ+lhidHQHewkxv0e+7 1rDBr8JEQAy2h9D3elTPqM8tZzbEXvX9aCMmzXhON+c4jAnKIf414bSyCiDQbJbE2Oqs nzD9Cr4s2ATYVlfIpqtcv50MPeWn3FuffvmvNJ1ehEfuMqsUnuR14r8J01BtFaCnNOF5 RMrhJnLJV4OLjxhJaeGE9UEjUnUq9HLQeR+kD4dgRv/SfQP7Zpmg4T7gsr2y+dF5e8Iy 4gjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=v2wcy4Sp+WLntwPMzURDubE2Md45XUaDKILhP4Xv0BQ=; b=gPX+6ICafT4m3yccEDOg4gbJN+k9WeIi2BKYo+gCLBcwTFTtthhFkbv5TWF8t0AEhd OEms/KVWKYkuUWwTWUYSIGkmTukeC3PD9GuDCCjBA7CqMjGiNmK3Ge6MnEu+Wey/zUeC WkQp+Z8rcfrd3L2Hh7cSldzVa9thWVqHkbj6s2lgbom2SuHcPc0S7wh3Uu2PJ+ne8p+9 jemtyc34//wC1/juOg29l4A72XCKAj9j8vL+FXUNRaO96ygHncHMbAs0ldAGPjhA8QZL ZaVI2muN4YajTExKcqVe1jsg5iT/IIGWFCCtxNELQE8CRNs10mnftftsIJJlFjgAZV+g Fdpg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a05651c150200b0024f19928eb9si5830852ljf.473.2022.04.28.06.38.05; Thu, 28 Apr 2022 06:38:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344599AbiD1Kqp (ORCPT + 99 others); Thu, 28 Apr 2022 06:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343885AbiD1Kqb (ORCPT ); Thu, 28 Apr 2022 06:46:31 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5B1ED86AEC; Thu, 28 Apr 2022 03:43:10 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 963DB1474; Thu, 28 Apr 2022 03:43:10 -0700 (PDT) Received: from [10.57.80.98] (unknown [10.57.80.98]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7EEF53F774; Thu, 28 Apr 2022 03:43:07 -0700 (PDT) Message-ID: <1d1aae6e-50db-d6db-9727-62f9c2d1ca6b@arm.com> Date: Thu, 28 Apr 2022 11:43:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 04/10] arm64: dts: juno: use proper 'dma-channels/requests' properties Content-Language: en-GB To: Krzysztof Kozlowski , Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Dinh Nguyen , Michal Simek , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ray Jui , Scott Branden , Broadcom Kernel Team , Sylwester Nawrocki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring References: <20220427155840.596535-1-krzysztof.kozlowski@linaro.org> <20220427155840.596535-5-krzysztof.kozlowski@linaro.org> From: Robin Murphy In-Reply-To: <20220427155840.596535-5-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 2022-04-27 16:58, Krzysztof Kozlowski wrote: > pl330 DMA controller bindings documented 'dma-channels' and > 'dma-requests' properties (without leading hash sign), so fix the DTS to > match the bindings. > > Reported-by: Rob Herring > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/arm/juno-base.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi > index 4f40a5c8f565..96ef0ddc0b2d 100644 > --- a/arch/arm64/boot/dts/arm/juno-base.dtsi > +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi > @@ -829,8 +829,8 @@ dma-controller@7ff00000 { > compatible = "arm,pl330", "arm,primecell"; > reg = <0x0 0x7ff00000 0 0x1000>; > #dma-cells = <1>; > - #dma-channels = <8>; > - #dma-requests = <32>; > + dma-channels = <8>; > + dma-requests = <32>; BTW, this has always been wrong - Juno is configured with only 8 request interfaces. But then it's moot anyway since PL330 has an ID register for this stuff[1], so the DT properties aren't used by Linux, and shouldn't be needed in general. Thanks, Robin. [1] https://developer.arm.com/documentation/ddi0424/d/programmers-model/register-descriptions/configuration-register-0?lang=en > interrupts = , > , > ,