From patchwork Sat Apr 13 15:16:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13628715 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6260AC4345F for ; Sat, 13 Apr 2024 15:17:13 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iG1Dbv2Y5VPo7c9fEt8IHyFdXgrTxO/UTWA+kS46HBU=; b=rm2b+Kd5MVkJ9+ gR3hB1oMkSFNM4cfs1JLhC7oLGADANluZeU8zjVTwkZ3kit5IO6HGAXtTxSOsm05i4glY4hx/Crm0 /SVaQ6NgcGYfy++xjRzCgXddLtII70oKPIwCAnV+/IbRNFPIfo00NPbsFVKmru+mWrytZf/E+9tyt FcxQMKL68MiX4zsCOZcpoKRA0h8AakHlnT/lOSjiNh013MoLas+9HtyrlAKUhgauXfVKb1BI0AAJe Jv2QIiTgHscFoL+tIlkCSfsHJf3RrylYcX7Zh/Cec9b9NTa8blNtt3qT/YoLLXJ+AcJKfta78n2T8 NqQAcfc580oBHrR9fWKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvf7s-00000003Pws-109p; Sat, 13 Apr 2024 15:17:08 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvf7e-00000003PnU-24xS for linux-rockchip@lists.infradead.org; Sat, 13 Apr 2024 15:16:59 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-56e69888a36so2375873a12.3 for ; Sat, 13 Apr 2024 08:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713021410; x=1713626210; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=neBvhCn+WPQ4h/ZjCZEYGqL+71G8ilgcVWxHofmS/s8=; b=oYRvkKogNqxzEUI100eM8/G+kZivT9Gh6p9Mcz8jKmuT4rJtjc/AC1fFH84NBBbtOr nV6BgBZmv0dhI9UM+IUm6EkRXD50A/neJKkov3kUJHud37GNW6ZeF1+P5WWDEC5Ry8av ecFMPBjecLBSefTxi2QgHy+L6oW5+fPvWNvgA+fQdJPbFVRpAJ2Ni4KCcY3RSjztye3g McUSw1/QfUSM8yEVYX/cimImyWP6wG+hifQwD0wiJmKPferv58/AV494DYZ6s5MG6aud OKRmFP9TnljqVatT71e3x4hRcavCLxnmae8oEZ52nPv3dOdUKC9zPHsihoVQK73H3hyD gRhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713021410; x=1713626210; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=neBvhCn+WPQ4h/ZjCZEYGqL+71G8ilgcVWxHofmS/s8=; b=uReN8cVQ3tGv1NkMqoMEXi4bojHE8yfoXvOujQLa8sLyK+rNEwvawX2OF8/O+u119t DTw6/C6MYW+aSYXJpU0WEDTm0yr2+aXURN8emw/sGxXyFoqIRqmcmtfOLwxlseyTu0ej CZnqVuVfWSH4FehHA6QeeStZ27oFUSjcYZ6jKWQejp5tA7eqC1mT+J+t91vQ9N6w5oyy WoKvayP7U8e2+FDIERBqfWw9sX677otnSRb++BTxwZcOiex+TYL+p2RcFEnCHdOW6iAS 6MvBTDWWNTFoyM2vzoGL9fzN2sNdnaUAaaU8pF7y2hsfbOvJpEJdj+b06QrKC6IM0/xE R4CA== X-Forwarded-Encrypted: i=1; AJvYcCUnXVkRzXrCd3OvotJD1JspcA0WAZP5DP7+uBo/YvARfj95W8Ri72lIncyIUMX4iDkn8diVRdTQks+57/Vx7xmcnlTqzs0TCeP2D7mOvK3zw41A X-Gm-Message-State: AOJu0Yyw7bQeZ3P/19sxi5Z6Y2x9X1tP7yz5Tj11BChIInXEX2EsiMqj DfrlkSeMvCSFlr0VHQJIeZlKze5dizBThQZNQdNUe/KguHw8qbtv1892+AWs4Og= X-Google-Smtp-Source: AGHT+IGKb7AoZ69n1AqRbU82SfLvRprWHXeXmnEazQwF4CPLBoqjFQPXhLvrbO4PedaeR1TSm2No+g== X-Received: by 2002:a17:907:7f03:b0:a51:b1a2:80bb with SMTP id qf3-20020a1709077f0300b00a51b1a280bbmr3648935ejc.28.1713021409795; Sat, 13 Apr 2024 08:16:49 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id kj15-20020a170907764f00b00a51a60bf400sm3104956ejc.76.2024.04.13.08.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 08:16:49 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hector Martin , Sven Peter , Alyssa Rosenzweig , Ray Jui , Scott Branden , Broadcom internal kernel review list , Florian Fainelli , Jim Quinlan , Nicolas Saenz Julienne , 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 Cc: Krzysztof Kozlowski Subject: [PATCH v3 4/4] dt-bindings: PCI: mediatek,mt7621-pcie: switch from deprecated pci-bus.yaml Date: Sat, 13 Apr 2024 17:16:17 +0200 Message-Id: <20240413151617.35630-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413151617.35630-1-krzysztof.kozlowski@linaro.org> References: <20240413151617.35630-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240413_081654_848686_D46697FF X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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 Acked-by: Sergio Paracuellos Reviewed-by: AngeloGioacchino Del Regno --- Important: This depends on change recently merged to dtschema, however no release was yet made with mentioned change. 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 v3: 1. None 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(-) diff --git a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml index 61d027239910..6fba42156db6 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-pci-bridge.yaml# properties: reg: