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: 317702 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp5247538ilm; Mon, 12 Oct 2020 23:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWfkIdlBCQjnC9osT7bCiJkO6r6or/2sWd8vD3ACeFK6jx113vA8OtHs5GKDVhVMS7zRq3 X-Received: by 2002:a50:ef12:: with SMTP id m18mr18406719eds.313.1602569221590; Mon, 12 Oct 2020 23:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602569221; cv=none; d=google.com; s=arc-20160816; b=W73c4gzQSq7BRXijhbutIrvbR690ShJpycT2p8yjqDCvv+tk57XAX/Rz6jcCcfdXrG HIabrSTekPPFIj9RYTWzYuaHUVrn/aaY6hoLE8scE4HRAVVpfLqIpzk5AGgbJDuxJZMb zEV//rRReZeZAk5i25HrcRYB/305mpw5H9DRWb/4TzD3QOjA41GoG4LooNePuRqz3Kdl phzc0WLPprXzbGQKi8rfNqroS5nUOd8xkV+F1oanyjWqal76pJVV0F4GQX0bSXVpvTkI li7M5dMwwv+VzaGPfSG9BNX2aLUIVt8fBwKwsnNgGiBfx3w59oTSZXzywMMDpGxrGMlL 9BGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=b0RBZRICW9mKcScH2BFoITC4rGpMNnxglomJS3DcuTc=; b=ZVHdlbXJ2h5DdCeub02gY4419Y44kimSAZK/UKXFYVlc9R+5LoTGeNYSer0Z0uc+Rp o+3+m7Xj6HkUhto0KQKUkfQzlEs1T5doBUm4Y12iRtVv89fEBYfhoj0B/MVybDOMGwEc Z1D9nVF0xde/xhmllV9nfS/ypGUK4kh4FY67amVBhR6aw71UlVo6VShqDzpiWtyIYZ7q Ib2PELLXv38mCjMvSMXCuI/r0myQeA6yzm5PtIv7vF+oFXulXNHJWovcD1dKRj76tRGi kkq25Swdp5dWgdZ6IwLyc15bzOPyfYT308OeCnu3ynEUT2i0gk1SLb/kB/rKUy4T+QhD qrPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x99si14026102ede.160.2020.10.12.23.07.01; Mon, 12 Oct 2020 23:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389082AbgJMGG5 (ORCPT + 6 others); 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: devicetree@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(-) -- 1.8.3 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>;