From patchwork Tue Oct 13 06:06:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 285059 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 E623AC43457 for ; Tue, 13 Oct 2020 06:06:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B2703214D8 for ; Tue, 13 Oct 2020 06:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389086AbgJMGG5 (ORCPT ); Tue, 13 Oct 2020 02:06:57 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15208 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389023AbgJMGGy (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 3102DFFE654D1B534E1E; 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:42 +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 1/2] arm64: dts: broadcom: remove an unused property dma-ranges Date: Tue, 13 Oct 2020 14:06:22 +0800 Message-ID: <20201013060623.1711-2-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 stingray-usb.dtsi is finally included by three dts files: bcm958802a802x.dts, bcm958742k.dts and bcm958742t.dts. I searched all these three entire expanded dts files, and each of them contains only one dma-ranges. 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/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning \ (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but \ its #address-cells (1) differs from / (2) arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning \ (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but \ its #size-cells (1) differs from / (2) Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi index 55259f973b5a9e4..9ac8be6c65aa031 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi @@ -4,7 +4,6 @@ */ usb { compatible = "simple-bus"; - dma-ranges; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x68500000 0x00400000>;