From patchwork Tue Oct 13 06:06:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 285058 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CEEDC43467 for ; Tue, 13 Oct 2020 06:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 15069214D8 for ; Tue, 13 Oct 2020 06:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389045AbgJMGG5 (ORCPT ); Tue, 13 Oct 2020 02:06:57 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15207 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389019AbgJMGGy (ORCPT ); Tue, 13 Oct 2020 02:06:54 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2A373335324119A68D80; Tue, 13 Oct 2020 14:06:50 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.134) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Tue, 13 Oct 2020 14:06:43 +0800 From: Zhen Lei To: Rob Herring , Ray Jui , "Scott Branden" , bcm-kernel-feedback-list , Andy Gross , Bjorn Andersson , linux-arm-msm , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 2/2] arm64: dts: qcom: remove an unused property dma-ranges Date: Tue, 13 Oct 2020 14:06:23 +0800 Message-ID: <20201013060623.1711-3-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201013060623.1711-1-thunder.leizhen@huawei.com> References: <20201013060623.1711-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org ipq6018.dtsi is only included by ipq6018-cp01-c1.dts. I searched the entire expanded ipq6018-cp01-c1.dts file, and only one dma-ranges was defined. No conversion range is specified, so it cannot work properly. I think this property "dma-ranges" is added by mistake, just remove it. Otherwise, the following error will be reported when any YAML detection is performed on arm64. arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning \ (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but \ its #address-cells (1) differs from / (2) arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning \ (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but \ its #size-cells (1) differs from / (2) Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index a94dac76bf3fbdd..ec88c0723fb512d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -182,7 +182,6 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; - dma-ranges; compatible = "simple-bus"; prng: qrng@e1000 {