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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 C128FC433EF for ; Wed, 22 Sep 2021 06:53:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9046061131 for ; Wed, 22 Sep 2021 06:53:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9046061131 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wv8hWEYEnW56GhBc80o4m5cfCU4YCu/RAafa7ddq8Rc=; b=bV0NRC07YvtQ+U u7SvkDeV3QUB6v+WaTC8e6oZ36E5kWScwrCvyL/fZ7CuHLvpZ6hLoxa4udRHfLLwt2bA5KpG6/gCH /SoRMitfGCpfiNdg9V6H4AuXlPS/kjW5cNb0xZZVWZ6tGrUgHsGpGtntUw9rSiDIhdn8HUsyyCxV8 C8P5SOOVjWRCz8rprAM8oy+WYJ54kkGS7mk0PHeu8lD77XHPVWaKp4GP2wfvWKnIDk8TFBQcgHGgV W/q2c6aHy4oRFIoC3k7S+W7dTBlk5mWK/qEYpWbfJl3FdAoyNiNhLK7Wmuy7epNBUns/G5Yj5ZnnW 6ftB84HsBf9jHYOmPEZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSw67-0079vu-94; Wed, 22 Sep 2021 06:51:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSw0X-0078Hf-2u for linux-arm-kernel@lists.infradead.org; Wed, 22 Sep 2021 06:45:30 +0000 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-Disposition: inline In-Reply-To: <1630046580-19282-3-git-send-email-hongxing.zhu@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210921_234529_224321_3F700830 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel