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: 788378 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5BA4181325 for ; Wed, 10 Apr 2024 18:15:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712772943; cv=none; b=J1Y/gPZgxQe0Ct5ylOtyz0dJZzNLJnjwksrzmxw4egEEswWUOVsh8E/DYBm5EN+1QpqTU13qXCud5W8gW2mkHvYkCP0/t3Avx1F4nzo0tYlQ6UwOb2I5cKpGn2EUTwgmvGSlKsoejpV5jTsXz5zLGGyFhjndbe4NCTq6NEuTmkw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712772943; c=relaxed/simple; bh=Q2qHTZspSdWtX9XB3A8ImC1CW2zPPcnl5BCkVvkisr4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dCnT7sTn675/gIBpUavQlBkrlyfG03EYd76rMpDRKuaQUx1NO69CdMHX4f32vh7OVElPT5kkRLKXuB1GOz1lbjTYoBpl0tVDscjkxrdAGjqT0VLJwzROag+O7JgqqnL3Pdtov5KqAZm/qoftksKFIovg+IS4PzhfcCnL3nnN7Vc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lrRW0a0F; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lrRW0a0F" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4173f9e5d73so5306375e9.1 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=vger.kernel.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=lrRW0a0F5OIK6cx/Uktin3Vb43i9YY53hzg4Hj3AC2A4mWCg1dFqX+/DhBBJUmx8al G4zrfREF/oyikrlsCoS5jrfToMDL1T2yMkMIEenzflJ1mGdOQrotzE0elG3g/7vI6Q2h BvuBu7Bx5VVePyFyGWOgOoGsjmtUrIudLOdLBrpX1XlQjr/LyrSxa7NE3PPzNflcfkV9 30RARpS4maYm7FDUiCxoQrDLSgG0r0yYJGetYn39uLU+u+qR2DUXenVcFzvWtLeGHMW/ 4OeYgNubQlhNU/M4aIfMoY0SJo7C3CaUAlFpZ1rQU+6F6Aa4LW/SGkk5B8ngYZdIxVu5 mKJQ== 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=e8wGLy3wzptWjY34yHLClGfcaQzWUrBYpnn6P3+YV2R/02qIWAMb4XjAXzotH3CLHx uGmoxPQdiv+mbLuSiyjvF8WBLkxivbUKts5cPz2hoSe6PBSNdNCvvGTmPdhUmkK6IvXc fVd+a3aVMe2/2xS9hUg9rSXFqjHHYVNQ4W0T0kV3Bk2+0eSILcNjpkPUH+1zeIM/ulVA mDLIPADrLAw5bmBxjeCYAhyr7oNjydyViMZ+JDABTnwx570yvSaEs9Hse8AU2Wdjq86X pXXpsjNFz1h/s2a2FKfz4I6VBxQlTI7OG/hvYCwuBSOanOc0sEDY9Nvve+6UPj9u9Hzh mtxQ== X-Forwarded-Encrypted: i=1; AJvYcCXjdWLISJfeEKOmBg/LO8SJt+1o0C6DL4v0xQon1KLsCrK8NlgLzKn5GliRkOqvzY1P4Cs966YZSri/dSAEUF0MNN3bD3maTPy/l6ewWw== X-Gm-Message-State: AOJu0YzFKS2F35UK6JRQ7AJEYjVbJfGXl+yI80l7lcTa3+lcHIKGTW5E d7fDwFs7uxJ3wzIuLY+XCqqKjeq1PP+Uh6qS7949YSe8bfTfNL/NPTJlQM82E1M= 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> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: