Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp315748lqj; Wed, 10 Apr 2024 11:12:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrDxkVRQOlzzpdMHI4ypzvURKbDejEmXVnLNyd3BOojVtccD+C1RbzT2lYC8U3E5AfE9K4moy3KgeMGj4TjfuudYCQnvA1aI0ELGHVsA== X-Google-Smtp-Source: AGHT+IGpmccvshL89NdTaenqjU0v1qT6/r0vfSRQtY36j7rp3G9856FsbMhglimxiyTtWC997Gi7 X-Received: by 2002:a05:6808:6284:b0:3c5:ee58:2af2 with SMTP id du4-20020a056808628400b003c5ee582af2mr3117510oib.59.1712772725736; Wed, 10 Apr 2024 11:12:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712772725; cv=pass; d=google.com; s=arc-20160816; b=T40QPo8HmoNn04E3+yedAw/TO2YzKHFL1Xmw9r8niWUzD2LtLZ0nFdAjgqqAzGiI8E Ukw3fQFcgOLdLJsphoFmdEw76UUxPFOrla/TOa6wQwC0eIvz854ntMlniKWlzwuoQVbl rJck1ktkWkt4chuGGVrD+nc6wYRjSq9kBFsyWIpnqdC24JK0SiShsZpQ+FQl5KBSp4ca hWC2AtDg5wRPWs1RoGHgfbHox7U5vWVWidZ4gBjQXJLt6MsHfq8HXCxyx+rsa5JwdAmO EVx9619YUH5p9Vf1lLNKDB9x0vYqcG1AZlEQbkqkFWGAGy73YFz9TZO5oRVgEqkXILHH UFyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=YacaumogoWPfSYwVE9F4fCQDEzEforeFJlz030A/G7A=; fh=iX6aE9QVS0HCaIe6zeFvv088hFDGMUFRVDrpUKQESwE=; b=WJtay2WIHcbbxzB0uel6hsCAHZgpflhcT9vJSjB4h2HsUtWMeC7+9FOiaF5Xnd+anM 3CW6/aS+DVgbsk4b0sZuaGhij18qma8idEZxpEAbAIj9qDolMI+hmP3IxebXpgzsbxEK MQ0cNHJKCvV7n86PqgnFUF60x4S8O0csGu/6wLt/v0ldrDvDoNxGF52bOjjm9fzv6liu dYahlGC2YjeFtYMyhPBYCCyzieH6yTKdZQQgN3a3Tc1jG3jF46vmXhpgAsTzm+tqZOBi 2T5rVyOKH5D5q1FF8OFG0NAoHFCzYpCCwO7TJ4C6bYxhNgIwpZD2mMVxGJRLBcYR1JwR bkBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6D8RfLI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h4-20020ac85844000000b00435f8c936basi1561260qth.451.2024.04.10.11.12.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 11:12:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6D8RfLI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139173-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139173-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 64E701C22DAF for ; Wed, 10 Apr 2024 18:12:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AB8E1802D7; Wed, 10 Apr 2024 18:11:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E6D8RfLI" 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 55BF01802AD; Wed, 10 Apr 2024 18:11:45 +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=1712772705; cv=none; b=Tk4WFNCp8dQcHvomeJ4rA3xeUHIzfCzuiv2NHgFBnwhwBE7f1uFF/lbjBuBxNsOKdc0VmZOCOrcGuOSghDNCLRavPLCJABDRBdQlpo3nm1GvcqB3h0mLpuHbFrmUW0eAmpcME3LK1HDsKVvOtCZ5tDtKo8IJF+IC5UtPVd10y0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712772705; c=relaxed/simple; bh=SIfBrassqv54JCwf0gOao1lkha0r6aQpuZyT4i7ALWs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=pVJnjCqlcpPFGprUh9C/9VG+ZQ8pwzCgVJ88aD6G6N4G7XZab0Utj10EyP5lPb72itFwsNFzSm0gNJBBNWGCA4hTl5Xdr+mMtcba6DEVzXzmhs2zCPVxZ8EhTPF+EFeT9N2smQwdD7V+RmTIdC0LFTc+BbJ8Ot3WAxW/8QLteME= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E6D8RfLI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB3FAC433F1; Wed, 10 Apr 2024 18:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712772704; bh=SIfBrassqv54JCwf0gOao1lkha0r6aQpuZyT4i7ALWs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=E6D8RfLIvohoDBOVtvP9WjCvBqpxPjWQi3HZG5sqrgWP/cThTY4SbcDt3N8yTcsn0 K5KzF1xFMZbMhzeMdc+F1UZch6i88XrLP5skhf9dN672OoqoYv5SZHFmh9Owu5UmgL nfgB85Hhsd+GeUvOUbzzkl+KUJLjxRGoNadqtKzIbkUdT8veuVPY1EIF0BwXAb7use Lz5+gIT4PUZ9O+xRbWbjGGwonUaW//MChfhpIT8bvKYsCEO+S/Q8SEWI6Os9aw82Zp iohh7xl1xXXp7QeVRtSNDMeYQ0OWla//I4kDbqDpNyJd3dL0QIqxYmxCys9Df5UWk8 wloVmtobGjJfQ== Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-5176f217b7bso1570283e87.0; Wed, 10 Apr 2024 11:11:44 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWqknIo9RczD3WV3D366atbjbz0NiUSSojXTX0zgVtyBwoIetjP84HPzpweQ/caEPYFpjoaTWGJG8BPYSV5pf2rxJNZIRRkaM634FQwDBAwYu4rMnscd52SprAYMzFSVVO6Q4i1A1FBvXt7s6uiMhktGcxWLNeeD5765cB0Hbea6iFqY4MTAFDZbdNWH3rAQta67fQFapMPatO1ikQ810TX2cZTwRUGCJhqo4ec6OnCYLnW23pirM1s4d/SPwVwt8ke6HGAsQ== X-Gm-Message-State: AOJu0YzsEXNo/Nwmuja5bpN23ONd1fJ4rhW7qMw5U9r6QmVSvB2bu6qz t2TmVVFHgSVsPKgsWIRdhaFoWpqhhWk30W4Bz/EEu+e8GgtirPtJriHw6mPqbnWOZiwabeXT2VK wKqd6lVjz7nlUiVNDjs0Z4Ycl5A== X-Received: by 2002:a2e:b617:0:b0:2d6:a609:9a33 with SMTP id r23-20020a2eb617000000b002d6a6099a33mr3024179ljn.0.1712772682322; Wed, 10 Apr 2024 11:11:22 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240407102000.37213-1-krzysztof.kozlowski@linaro.org> <20240407102000.37213-3-krzysztof.kozlowski@linaro.org> <20240410174806.GA788199-robh@kernel.org> <57827422-1042-4ef6-a11e-cb53fd930a41@linaro.org> In-Reply-To: <57827422-1042-4ef6-a11e-cb53fd930a41@linaro.org> From: Rob Herring Date: Wed, 10 Apr 2024 13:11:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] dt-bindings: PCI: host-bridges: switch from deprecated pci-bus.yaml To: Krzysztof Kozlowski Cc: Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Krzysztof Kozlowski , Conor Dooley , Hector Martin , Sven Peter , Alyssa Rosenzweig , Ray Jui , Scott Branden , Broadcom internal kernel review list , Jim Quinlan , Nicolas Saenz Julienne , Florian Fainelli , Will Deacon , Linus Walleij , Srikanth Thokala , Ryder Lee , Jianjun Wang , Sergio Paracuellos , Matthias Brugger , AngeloGioacchino Del Regno , Daire McNamara , Bjorn Andersson , Konrad Dybcio , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Jingoo Han , Gustavo Pimentel , Manivannan Sadhasivam , Bharat Kumar Gogada , Michal Simek , Geert Uytterhoeven , Magnus Damm , Neil Armstrong , Mark Kettenis , Tom Joseph , Ahmad Zainie , Jiaxun Yang , Kishon Vijay Abraham I , Thippeswamy Havalige , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 1:00=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 10/04/2024 19:48, Rob Herring wrote: > > On Sun, Apr 07, 2024 at 12:20:00PM +0200, Krzysztof Kozlowski wrote: > >> dtschema package with core schemas deprecated pci-bus.yaml schema in > >> favor of pci-host-bridge.yaml. Update all bindings to use the latter > >> one. > >> > >> The difference between pci-bus.yaml and pci-host-bridge.yaml is only i= n > >> lack of "reg" property defined by the latter, which should not have an= y > >> effect here, because all these bindings define the "reg". > >> > >> The change is therefore quite trivial, except mediatek,mt7621-pcie.yam= l > >> binding which have children nodes being also host bridges, apparently. > >> > >> Signed-off-by: Krzysztof Kozlowski > >> --- > >> Documentation/devicetree/bindings/pci/amlogic,axg-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/apple,pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/brcm,iproc-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/faraday,ftpci100.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/host-generic-pci.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/intel,ixp4xx-pci.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/intel,keembay-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/loongson.yaml | 2 +- > >> .../devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | 4 ++-= - > >> Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml | 2 +- > >> .../devicetree/bindings/pci/microchip,pcie-host.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/rcar-pci-host.yaml | 2 +- > >> .../devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml | 2 +- > >> .../devicetree/bindings/pci/rockchip,rk3399-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/versatile.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/xlnx,axi-pcie-host.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml | 2 +- > >> Documentation/devicetree/bindings/pci/xlnx,xdma-host.yaml | 2 +- > >> 25 files changed, 26 insertions(+), 26 deletions(-) > > > > > >> diff --git a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pci= e.yaml b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml > >> index 61d027239910..5bbb4a3f3dbd 100644 > >> --- a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml > >> +++ b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml > >> @@ -14,7 +14,7 @@ description: |+ > >> with 3 Root Ports. Each Root Port supports a Gen1 1-lane Link > >> > >> allOf: > >> - - $ref: /schemas/pci/pci-bus.yaml# > >> + - $ref: /schemas/pci/pci-host-bridge.yaml# > >> > >> properties: > >> compatible: > >> @@ -33,7 +33,7 @@ properties: > >> patternProperties: > >> '^pcie@[0-2],0$': > >> type: object > >> - $ref: /schemas/pci/pci-bus.yaml# > >> + $ref: /schemas/pci/pci-host-bridge.yaml# > > > > I think this one should be pci-pci-bridge.yaml instead since it says > > these are root ports and based on the unit-address here. > > I was thinking about this as well, but pci-pci-bridge.yaml defines > compatible which is not present here at all. Since you suggest pci-pci, > I'll go with this and make it a separate patch for easier review. This was my concern at first. It does define compatible, but it doesn't require it. So I think we are fine. Rob