From mboxrd@z Thu Jan 1 00:00:00 1970 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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 82118C433F5 for ; Wed, 22 Sep 2021 06:45:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6005A611B0 for ; Wed, 22 Sep 2021 06:45:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232908AbhIVGq7 (ORCPT ); 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: devicetree@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!