From patchwork Mon Jan 18 03:16:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 365448 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886588jap; Sun, 17 Jan 2021 19:21:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6R7cdbXSxHMRzls5C6GStQyd+Ez9HjrSysdix7IxYUMSZ0OKT/obd6f+qqXrUqoX0Y3GC X-Received: by 2002:a17:906:2617:: with SMTP id h23mr8335214ejc.168.1610940094944; Sun, 17 Jan 2021 19:21:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940094; cv=none; d=google.com; s=arc-20160816; b=jXXFSzpkdFo+H/Fg3SU21SykbBL352qESaEJPdlZYkN3ubaUyHy28ZFSBeVNda7jXG wTFYT4XPVtH9qc6bAiCB+pLgPfs3g5HDgf43dElFRsx2Zj6udgLnNpxLdyHCnhcpo0jg 71Bn2cQP+yT3WdKvGHMZ04Kd3pjwyeToLPnZJA8nGwrW42yWtdjpYXj6fy6T6o1bQpAz vtdTbfyFhSMRxN/ZK7QtNUhcc60HeNrEuKohWFRK7mxi+5zXIv6ROe6to9LSDn7zH1h1 kxWW4YyIyeeg874CQsGNNZhK2JtF106b6fHEfgOXf66XM0XvetsvapjGJoCT2IfiyLCh 3o/w== 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=oOIz1ygx2XNFnVSnGry1+g8IuQvxfccA5/QAUMgrMOI=; b=hiQq+d0ftnZojUMDI6mvtwBYL+GWoSIGcgtO0Z4Omg8z8jz+Fr7V8dThYCsOCatehn qirFprM+PPN5eXVca+3HjtpRXtct4EZqRq/jMPp3bGapEO5O68aHN812Xf/I4YAbuKyq +CF813qAySB24lgWNEJWAKtMP55rI/F8Dcw55Kdx4CjTzECW9ANnKW+UUbzZoJZKv97p CPgnooWYJnZ13LIvmI8TdE7l5WvrYMsM2OfL9Nwog9JzDZa4V7MgmEzfifW6K6KopFqe xoyaBfIRkwSO0jpyxqXi4yXSrOlTol0i0pfPgQ5NPcoJoi4h/IuAiPfK92+2PwnMXgMr O32A== 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 s16si6736441ejf.641.2021.01.17.19.21.34; Sun, 17 Jan 2021 19:21:34 -0800 (PST) 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 S1731526AbhARDVd (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:33 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11104 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731527AbhARDVc (ORCPT ); Sun, 17 Jan 2021 22:21:32 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxq34XL0z15v8r; Mon, 18 Jan 2021 11:19:43 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:40 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 1/6] arm64: dts: hisilicon: separate each group of data in the property "ranges" Date: Mon, 18 Jan 2021 11:16:29 +0800 Message-ID: <20210118031634.934-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Do not write the "ranges" of multiple groups of data into a uint32 array, use <> to separate them. Otherwise, the errors similar to the following will be reported: soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536]] is not valid under \ any of the given schemas (Possible causes of the failure): soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536]] is not of type 'boolean' soc: pcie@a0090000:ranges:0: [33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536] is too long Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++-- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 5 ++--- arch/arm64/boot/dts/hisilicon/hip07.dtsi | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 81d09434c5c610d..16e11fde3ed9020 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -565,8 +565,8 @@ device_type = "pci"; bus-range = <0x00 0xff>; num-lanes = <1>; - ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000 - 0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>; + ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000>, + <0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>; interrupts = ; interrupt-names = "msi"; #interrupt-cells = <1>; diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index 7980709e21ff020..78050d67a78645b 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -737,9 +737,8 @@ #size-cells = <2>; device_type = "pci"; dma-coherent; - ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 - 0x5ff0000 0x01000000 0 0 0 0xb7ff0000 - 0 0x10000>; + ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 0x5ff0000>, + <0x01000000 0 0 0 0xb7ff0000 0 0x10000>; #interrupt-cells = <1>; interrupt-map-mask = <0xf800 0 0 7>; interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4 diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon/hip07.dtsi index 7832d9cdec21c93..f477f442c275561 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip07.dtsi @@ -1708,8 +1708,8 @@ #size-cells = <2>; device_type = "pci"; dma-coherent; - ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000 - 0x01000000 0 0 0 0xaf7f0000 0 0x10000>; + ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000>, + <0x01000000 0 0 0 0xaf7f0000 0 0x10000>; #interrupt-cells = <1>; interrupt-map-mask = <0xf800 0 0 7>; interrupt-map = <0x0 0 0 1 &mbigen_pcie2_a 671 4