Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1200523pxb; Fri, 22 Jan 2021 09:25:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1/xgFeMGZyAfdUuMoKDESLMD5LlHHsya85NWY1S5uAvzAQRs66hrzUX3gyAfvB1k8mzOs X-Received: by 2002:aa7:d0d4:: with SMTP id u20mr3837884edo.203.1611336314225; Fri, 22 Jan 2021 09:25:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611336314; cv=none; d=google.com; s=arc-20160816; b=jfrgLfwnxbj3nzCGDRGhcF65ieFX+88eBsDvs/RTWrYlhiAD+FZ19Gc0f9uz9/LFxF 4+keF+fN044VcCdrKYr/B2RjgE9dg0WK1QrBifyriE6RqjkGW1gEw8V7FakphFGXz6M1 M5ICCiXOJNbmIJpzNWw/Fx6kFZzORSB5to/fJg5SJgrAqYr9Vyo+9hTOTSm34trG/vQR qeHFmh70UK4bjygUQ9XWlhPJmQG6exiom5A05Bvdj1gSX2SvLxZub5p9NJQvI2nkcLWZ wO+F2u4iY6RZLXpJVJH1EGPdl9UXHiTeWK0nQmTRxQT/G9BAvaX4sQvQVe9eYU2see1Q pzKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=roMb/tyW1M9NQnpXqSRx9W00sUX6gkBYwKxG+CPcXzI=; b=FxVaTEmNcfe7pL3G1xK5idCsfwOwnb+Onsfa/DCl+B5/qVtic7Pd3Zu6X+FEiOPo3b N+gF7Q4Q1OCpcsXo4qXaCMBVyS9BXN4XsgwZw8ZybbRHF84nS8HFF7i5nSMQPJWDpslP EJ/RZlXX63BVTLnviYmRW23E3w3qQ59+uiJDubceWQQEeaD8Br2gZMrhYnE1fq6GQows xmQ5VSTRXAlqq/gX50/hVpX3dH0uGYQahbiSQon+tn3ngm+OHNZIIKnGKn8+l4PEvO8f QUcsir6+NNXFCzlf4qm8aiK+k1dHhmJK3K8AE3Aht+P2MBztqgXhtTeB18vUN5rPhzBx vlNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fLRYxC7A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si4168356edb.8.2021.01.22.09.24.49; Fri, 22 Jan 2021 09:25:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fLRYxC7A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729314AbhAVRXz (ORCPT + 99 others); Fri, 22 Jan 2021 12:23:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbhAVRNg (ORCPT ); Fri, 22 Jan 2021 12:13:36 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B0CC061793; Fri, 22 Jan 2021 09:12:52 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id n6so7373197edt.10; Fri, 22 Jan 2021 09:12:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=roMb/tyW1M9NQnpXqSRx9W00sUX6gkBYwKxG+CPcXzI=; b=fLRYxC7AMQdGJXu08Ng+pctI1fQayyxI5Mz88cRgUvTT/OSddQ/AcIiNEH9kw33TK/ +UfJwsrO5GROpkmcYFqrBFeu+8xbk9a0lE590S+wqWy0ChKCnv3u/Ewvw/IdjYmm7dpj 9HNXAamxY3/Q3fK3qIW0wddC/Xq0omP6MDZNhkcIwWaLaSt+Pkb4s6n4YSdRW7mhfImo 30LZS8vS+Ar59oX9n4anGZYzdDSdaQiMsN0yprVzaYQuHrGc/VEebcmVMNAhqrEtKRsi amjz1dgF6fo8UbyCN35YZwIq/I7w3kN5IKib6y7yJStE28dqo0OK0QwkdySp3CrhfsFn 5EZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=roMb/tyW1M9NQnpXqSRx9W00sUX6gkBYwKxG+CPcXzI=; b=k+tT3/L4NyLBrOrlQUikEEfGqPbGOiOQxDN05xfDZlL2YaAiqGFv+Rq9a6yGDs4Z4d kyDM4t5aV0lOOUqtl9PUxuPYwx3rBgSa0R+IO2Pr8cDVKWQz2M2UtsSgd4rDmvoAAGur /GlJATFURituWS+EZzu9/bIO+srLQpf85cNoSyhOjoyjpyOB9RrDuMZLQozg1hmhEyPI CNmJFf29qbv99P+CQxe/z2T6LRM49iki6jp5N3THHQ5hXevmOwjQP+ktMXri8OfLlQWA JWcM/B7RCVu5FFeEzXx/PdHKLenyPsWqZyjWcP99XLl+SJwvw68de/hRQ6s5E1R1sdIh bnMQ== X-Gm-Message-State: AOAM533bO3p+Xj7nLdQ6AVLuSKMMZkkueh4KNXPkcbKwrTSD9zEr0gGr /YJr6SfYgT4PSFLsCc4lxu3g4DArE1s= X-Received: by 2002:aa7:d98a:: with SMTP id u10mr3972073eds.275.1611335571524; Fri, 22 Jan 2021 09:12:51 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id t21sm5927429edv.82.2021.01.22.09.12.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 09:12:51 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: rockchip: fix ranges property format for rk3399 pcie node Date: Fri, 22 Jan 2021 18:12:43 +0100 Message-Id: <20210122171243.16138-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A test with the command below gives for example this error: /arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: pcie@f8000000: ranges: 'oneOf' conditional failed, one must be fixed: The pcie ranges property is an array. The dt-check expects that each array item is wrapped with angle brackets, so fix that ranges property format for the rk3399 pcie node. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/ schemas/pci/pci-bus.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 15f8b212c..28459d194 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -259,8 +259,8 @@ <&pcie_phy 2>, <&pcie_phy 3>; phy-names = "pcie-phy-0", "pcie-phy-1", "pcie-phy-2", "pcie-phy-3"; - ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000 - 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>; + ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000>, + <0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>; resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>, <&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>, <&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, -- 2.11.0