Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp357521lqj; Wed, 10 Apr 2024 12:32:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeBEiI78Fh701LLb+U5J/1o1vkZR+E07SHhSco9sHBhuExssuR9E8Kode6+jCoB3WIdr1XW7b/OxMKtg0NQyk6tkvQCd3OuvjY6Ol9NA== X-Google-Smtp-Source: AGHT+IHZISnipsqnsKyBta0JtAT/gSSByJyuB2uNwaPcTrYG7p3U05C+NhB/DxfxCJcDE6/IUIMN X-Received: by 2002:a17:902:edcd:b0:1e2:3d05:5f4c with SMTP id q13-20020a170902edcd00b001e23d055f4cmr2962896plk.39.1712777567841; Wed, 10 Apr 2024 12:32:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712777567; cv=pass; d=google.com; s=arc-20160816; b=IbwkS/SzkliLYGFv9PHgvO/WuCh7jlXn7kyhkcY7voCntnh8N8JXnjyF40RzDcWtXi vf3yqABRWHvhvbODIscjpbTlRt5KLf4g8iWQgOkDna/aUldC/zDjxpdGOoP3+x2AuPT5 G5SL1KCV5tO7KTDCrMVH0sx0k0I4jp6jQZds/Dy9GrRFr7QIacvGBkvSLhmDbiybb/6w 78y6EwkmJqBWAokq1puoNVZnAWuUhBEriY0DF3n24A3Dlh7DTGxdMe4qR3MeqkbG6LGk R8kR0ygQEVNDtwLroN8O/zCO899/ZiHc4R4xIzr2PZ72sNWWcI163709fPgE3LLlC7H3 nSFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=Uxo89sMS0NY9ztiDKQAuRbfc1d5PUD6ZLRkkA6a+FNk=; fh=CXkJckjOsyw0vR4IzoCW2WpQ6zNgujEaudkEmaVWYZo=; b=B5JL9h89qEKrdWkg2qnvKKqARNGHs0iN2TQcQz6FEvEPqPpqILpSRQ47Pa5e0DlXFF c6NIYz622hKZUC+WtUBrWiltTc5HvrUzwArdmnaZTwayQn9JkNzWVizkItxtowrqUlWO SHzXFfjWIK6pNqbuTM/xlDofOujQkZpUpvAWKS4ycvzsXWTeiZh42odOgB/8oFtS0J6e E47a0UECzTopl7lK95yDoq959Mfe3MsS/lRpaakZo5H3ZPs6W3IqsMSnku9pbFJmR4Q4 7PXP3MeMtBrQ+y8vG9Aip3VfgKVVxZPejW0LbRaME7rv8gxKAXa1FkF31cWnJT0wOkTF M4tQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tq4rrWfX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139261-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i7-20020a17090332c700b001e208929fa5si6955450plr.538.2024.04.10.12.32.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 12:32:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139261-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tq4rrWfX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139261-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7030428A4FE for ; Wed, 10 Apr 2024 19:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66AE8181329; Wed, 10 Apr 2024 19:32:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tq4rrWfX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5348D181322; Wed, 10 Apr 2024 19:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712777553; cv=none; b=e/mQ06VkSWAXIrCuSc05MtA3uv8WGh4NhXwkGuhKDH07PPDrAPWBVAr7QAIn9+1sqg0AaJtt7z6nnRLzrVmxncFWrnv2pTXd4TG9ZC8BUyd/K771IZIwaUZMIQRtXpFyiK4GFwHxrvT54VvUouPCaMUUZE3W89ZpLZ71VgiXSJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712777553; c=relaxed/simple; bh=WW5sMpVOz0tGbMU1O5onTUR51y42uNFu9wn05WPtkWY=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=d8fzlFMknzzDdOw9Ya/qxCVLVE/zzVJnQWH/LWVdqvFUvHTsJS34wOlPY9tQ41W0abVnxkKFqExT8WoI4Xe2bnLLBoifJLZiOc0n4LUmaogtqnl1+Xp9KJIamL3yAwbnnBT2Q91q66+dwUzogrO5x8rWAwf3kg1WuzXfgmBs0rc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tq4rrWfX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88179C43390; Wed, 10 Apr 2024 19:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712777552; bh=WW5sMpVOz0tGbMU1O5onTUR51y42uNFu9wn05WPtkWY=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=tq4rrWfX9sfVjyG1eyRA5JQGhmGUZZ7uZmnP8xeGteU4tmjtBJwX1rIwj8QFaJQjX hazgBdZOKaDhWWOOpBX6HrGOSdUUKtAERdIR/r8t0ihV2Y0E50ZsNeIdGCuECZsGc4 MVhev7smKrOV3LTOgTQd6psiBKajiUbE3PItXRb805uwXE93PscA8sScGPOQ0bD2h3 yL4o4fFtnh+PyXMspoVkdeCYh+yHEbJJA7uBTYcP8lE1egXnKItFj4r5SyFia/wVYd et+x2ylnr2iBKZZMb3xWvQ/x8CxEmBdAQqRiw1NTwJlG9b10JfdjTo1V82rU5g43Wu 5YHbgdVHo6jUg== Date: Wed, 10 Apr 2024 14:32:31 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Krzysztof Kozlowski Cc: linux-rockchip@lists.infradead.org, Scott Branden , Thippeswamy Havalige , Sergio Paracuellos , Will Deacon , Sven Peter , Heiko Stuebner , Jiaxun Yang , Florian Fainelli , Linus Walleij , devicetree@vger.kernel.org, Jim Quinlan , Krzysztof Kozlowski , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org, Bharat Kumar Gogada , asahi@lists.linux.dev, linux-arm-msm@vger.kernel.org, Hector Martin , Alyssa Rosenzweig , Matthias Brugger , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Lorenzo Pieralisi , AngeloGioacchino Del Regno , Mark Kettenis , Geert Uytterhoeven , Tom Joseph , linux-renesas-soc@vger.kernel.org, Jianjun Wang , Gustavo Pimentel , Jingoo Han , linux-pci@vger.kernel.org, Conor Dooley , linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yoshihiro Shimoda , Michal Simek , Manivannan Sadhasivam , Nicolas Saenz Julienne , Ray Jui , Broadcom internal kernel review list , Daire McNamara , Marek Vasut , linux-mediatek@lists.infradead.org, Konrad Dybcio , Srikanth Thokala , Ryder Lee , Bjorn Andersson , Ahmad Zainie , Kishon Vijay Abraham I , Magnus Damm , Neil Armstrong , Shawn Lin In-Reply-To: <20240410181521.269431-4-krzysztof.kozlowski@linaro.org> References: <20240410181521.269431-1-krzysztof.kozlowski@linaro.org> <20240410181521.269431-4-krzysztof.kozlowski@linaro.org> Message-Id: <171277754988.1212749.4199877903133990039.robh@kernel.org> Subject: Re: [PATCH v2 4/4] dt-bindings: PCI: mediatek,mt7621-pcie: switch from deprecated pci-bus.yaml On Wed, 10 Apr 2024 20:15:21 +0200, Krzysztof Kozlowski wrote: > dtschema package with core schemas deprecated pci-bus.yaml schema in > favor of individual schemas per host, device and pci-pci. > > Switch Mediatek MT7621 PCIe host bridge binding to this new schema. > > This requires dtschema package newer than v2024.02 to work fully. > v2024.02 will partially work: with a warning. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Important: v2024.03 (said dtschema newer than v2024.02) was not yet > released, therefore this patch probably should wait a bit. Previous > patches do not depend anyhow on future release, so they can be taken as > is. > > Changes in v2: > 1. New patch > 2. Split mediatek,mt7621-pcie to separate patch as it uses > pci-pci-bridge schema. > --- > .../devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dtb: pcie@1e140000: pcie@0,0: Unevaluated properties are not allowed ('clocks', 'phy-names', 'phys', 'resets' were unexpected) from schema $id: http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dtb: pcie@1e140000: pcie@1,0: Unevaluated properties are not allowed ('clocks', 'phy-names', 'phys', 'resets' were unexpected) from schema $id: http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.example.dtb: pcie@1e140000: pcie@2,0: Unevaluated properties are not allowed ('clocks', 'phy-names', 'phys', 'resets' were unexpected) from schema $id: http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240410181521.269431-4-krzysztof.kozlowski@linaro.org The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.