Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp211051pxb; Tue, 21 Sep 2021 23:49:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi30l16I7aowlJzw/RgH+Sef3YERs3OfwTzvboOU4PWv32rAudyXdru9xBVMWZi3zlpCvN X-Received: by 2002:a05:6402:2cd:: with SMTP id b13mr40213102edx.267.1632293371631; Tue, 21 Sep 2021 23:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632293371; cv=none; d=google.com; s=arc-20160816; b=LGoAmY+7U69FpgXAmII1JnRJLqB3fhsSLQr+usLDkaGNWpaaBtKW4dlMABm7tn5JM1 NbXgEiKNYBvbYPiE5xCnE8HbHNuVsKp6V4OFFpPYyYaCxFJo5H7kS07eFwZbeG/gEYfB zWCnddZkIY/3rBQD4PIZcsSo/M/991fGzkspyfXXZGSpk8RtgQwKLQmORwt424YFgDhc JLUAc/e07JI8ulv/0ohdOEV5qqCaczYPpKwU2CieNpmptn+MX1W7cQ7YIhE++G4mp8E1 CF5EoglE3kKwaPh4SrZlaEwhyt51bIcm80TPW2cwtp1MOGu8FfppiSAw1YCnknyYtxgg Q6sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+9UTfdRBHGf5paAt7w6ahQeYomfNslqv4JvkT2DHjtc=; b=qKQ+9qwrVkElWH5rCNHAj/mmN2/loKfp3UA6C6HoZeuy6Hh/xmW3OWqHuyzvOq9z4e Cgxry8hpgL2USOmB/COTBWFcn34t9PuvWS1o6hZ8J+04UbxKaC0nqcLzY+GquVfyce1u yHswgnVns7RimitEEb4mB9CeX5GRa37hsgOiEiVsCYbobs+kB1Ezp21LkI3PS2w/QBhD 8/YZrzZoPfCxx+KKzXFpQPyPBqC4nVtNaxbF3r55MXuxprWXjIb7+Gft1f9PCqn45tFY btmoBHdPKyQCGy/tAudvsDnVpFjBjnIMh0gLghfv8Y2dbUYl1hXB9TVjtyCKLK4GhsDz tJaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jhc1DZpX; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si1855911edr.84.2021.09.21.23.49.07; Tue, 21 Sep 2021 23:49:31 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=jhc1DZpX; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232921AbhIVGq7 (ORCPT + 99 others); Wed, 22 Sep 2021 02:46:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:57342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232770AbhIVGq6 (ORCPT ); Wed, 22 Sep 2021 02:46:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1E3F761184; Wed, 22 Sep 2021 06:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632293128; bh=b4P0Qy8Nb5H0Hi0ul/osrvT68IMpJoDX5vWluNtevdM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jhc1DZpXAI/DxTCL+qWTeUDk26xXoyPWJLcMzdNOTgay9V5aeAi/the9GczrQUWWB 7B1YFJmmVARvRYllm7eQV1OhePNXuK96y1JlB7EIUTjmXvONykPoNRFA5Q2cbv+5X7 iPRfbbsS9QXbGre92FhMAI6NMGGlj4zeaKgEVBmsS4+qbP/RMVhyGXqIyzm6uJ0R5k jzsjkrIgV9jNQPQD6S6a9Da+rW+b+ku+GTRuGuPoYe3cu3wz+E7Z9fOJz9kZXiZAEm 5O6ta86BfhmnTloYhLVOwD3rbRa0XMNHdt6VqMHzhvgocTOEafzaiPJM2phpbsLALq CZ/TslAy2DFRw== Date: Wed, 22 Sep 2021 14:45:21 +0800 From: Shawn Guo To: Richard Zhu Cc: robh@kernel.org, l.stach@pengutronix.de, galak@kernel.crashing.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Subject: Re: [PATCH v2 2/3] arm: dts: imx: fix the schema check errors Message-ID: <20210922064520.GD13480@dragon> References: <1630046580-19282-1-git-send-email-hongxing.zhu@nxp.com> <1630046580-19282-3-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1630046580-19282-3-git-send-email-hongxing.zhu@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 02:42:59PM +0800, Richard Zhu wrote: > - ranges property should be grouped by region, with no functional > changes. Otherwise, schema dtbs_check would report the following errors. > "linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed: > linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed: > [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'boolean' > True was expected > [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'null' > [2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640] is too long > From schema: linux-imx/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml" > - refer to commit 281f1f99cf3a ("PCI: dwc: Detect number of iATU windows"). > The num-viewport is not required anymore, remove them totally. > - dt_binding_check complains "compatible: ['fsl,imx6qp-pcie', 'snps,dw-pcie'] > is too long", remove "snps,dw-pcie" from the compatible string. > > Signed-off-by: Richard Zhu > Reviewed-by: Lucas Stach Applied, thanks!