From patchwork Wed Apr 10 18:15:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13624964 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 65818CD11C2 for ; Wed, 10 Apr 2024 18:16:00 +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=QlE4gnonUewyQJMv/wlIGxQsyvCeTuC5Od8MSLprnU8=; b=0ApwHO5MdCQttz H6BWv9RNKVkb9yhTcOjY5S49rNVb5y0bh7cyOnC+2QiZiDIU2K6olosYO/tim9DBwb2SwM1D+LsV7 FnhkZpwLGUreeqNoboYYWyUfnSjONAjrfs/YSAQr6O0KHoULtDUBXrKKzoq1eZ91HOp9wOWX6O9Yd 25qoBognUTQKC48jKDLmsQKXVmknZP1vsg43d2SwPrWHetw04mtjYJtN3TDdXQnEYVmtLMYO+6xMB mr9X1fnM7VT8udALKPYM8Y7v/M/roYhSYe7ci8KVznEuYp+UwsZKI96gpH+cUiWb4TCNhMSBrh/x0 AuSCNKhSVxgsk0t0Hc5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rucUE-00000008RbI-2k0r; Wed, 10 Apr 2024 18:15:54 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rucU1-00000008RQH-2XiS for linux-rockchip@lists.infradead.org; Wed, 10 Apr 2024 18:15:46 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-417c3296643so3555175e9.0 for ; Wed, 10 Apr 2024 11:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712772940; x=1713377740; 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=ZTWafwAOSteWZK+IF8K+ySu+NLy3Zj+VooWrs6puuRE=; b=tnQGWJjfhSxuAr9QoV0lpWlGbATRmF+QXLHFoJ1iWYvsDvBgLMKBTgFLtZx/uu+t8a oOKABW/rTyPL9GgiDw4FiFnFh2NYOrB3aX4EP1WrJi3NvchNFOWlCvJC2H7n2S4brmdM QhAsbCQYUZV8x0RRiMaKNjvN91PLPa670cSkgj3ZsnwCjyizm0Yh7yGixqIL2vZ2jiEP z7IWqIaz2+UvCwj/0omvjuny7bGeSha3P5UKTc/UiOlJPEu9c9xIMBhkaxLk567sk3Br sz3HiNeQGm4rhzDmp1MprRY0nhB9CAfgTYzd4DF8Y5ADhJCFhNu0r0SQhpN9jjfJqzP0 XTCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712772940; x=1713377740; 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=ZTWafwAOSteWZK+IF8K+ySu+NLy3Zj+VooWrs6puuRE=; b=DBl2w+M79YBVsh3eLwcu2yKwtGj/adppm+6hyoDe0KzxzaDVoUgV3XEvku+eiD00nB xDsfwkS5xhwN3ns/i6iURpHJw6yg8PijMYFbvaBV9awUXHKv3wIBrJS7r7eFHEVA89uI sn+4GWyxo78KFoJfgyQQ3CjEQSEMBx2d6FlZy9g3hjnLf0zxZsWuMLiZUOASxUHvhC+Z I4EaotAvEGcOFsKsOq1Zjf9RFhnvtWReizJnLlaBjPoLJlp6NlcMN3lJEAxzSQlRsq6S W4T05ZM4GrETNlFNgSapGqvMcbOPYInC2LEQ6jLrZC5IhVitwxeNy8tV9ev0fYHHgi6k X1aw== X-Forwarded-Encrypted: i=1; AJvYcCUu/WcIV5q4Ev6qWAcyHsmYcwxv+AWVTcxFrHW/Ya6aCZP8RKFI9lw2C6c9TQgLG2YV1DAFGQI9nzjGk1c2LjreNFfr9whMDT8nG0H3CYJ+v65A X-Gm-Message-State: AOJu0Yxp5PON9b2Bl7nytarbmjXcSRv1eWqUczM2G2RR7xr7mZoaSkux bIo0flWWqTmA7k5O2NHSdgiKf5REhqg2evN9RA0gL2lKbkq76zmBm80hQrEMFaE= X-Google-Smtp-Source: AGHT+IF48RGmHk8pl2ow/KjC14k8yrkxBwd5xymh3LOhP56MyaRgm1/Xm1jdP8c96wTN/A1i8OYwaw== X-Received: by 2002:a05:600c:3b98:b0:416:2629:bbaf with SMTP id n24-20020a05600c3b9800b004162629bbafmr2751097wms.29.1712772940126; Wed, 10 Apr 2024 11:15:40 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id d13-20020a05600c3acd00b004161bffa48csm3026487wms.40.2024.04.10.11.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 11:15:39 -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 v2 4/4] dt-bindings: PCI: mediatek,mt7621-pcie: switch from deprecated pci-bus.yaml Date: Wed, 10 Apr 2024 20:15:21 +0200 Message-Id: <20240410181521.269431-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240410181521.269431-1-krzysztof.kozlowski@linaro.org> References: <20240410181521.269431-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-20240410_111541_962444_94AA5686 X-CRM114-Status: GOOD ( 13.16 ) 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 --- 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(-) 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: