From patchwork Sat Apr 13 15:16:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13628713 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 48327C4345F for ; Sat, 13 Apr 2024 15:17:06 +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=GaEe548hokDuQGZTyIfYIBlBVjpmV9OS0A4gSFq2HBA=; b=wmZAlI2GTXOmbq fwrAd0G1uEEXntu2OngtrBgCRi0g26NzmVNQzPNiBElGl/YU5PnOyv+HZ6lHKGRADL/r9wyvioXRF xsjLtLzvG7spF1TYntbLOkSAM/s5AxpU/labDUEbTknjX4LZY0IBfcn5HMMuiNuCv3Far2iDw+n7k IEiiFGFBmmjDRh5PfFPD5FuElOExXV0JP1muTn/kKVD5SSZzd2Q2phQOQVL57Xl96nxhLVmeGt6XJ fu5s1/sjm76RBa6C1abEumQ2s1koXWikbsR4UJEGSplagCX0MHm33EpGRa7RfH9q3BWwAp6B+eshL azDX8pPI67K4MJOl+fpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvf7m-00000003Pu7-0IVg; Sat, 13 Apr 2024 15:17:02 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvf7V-00000003Pic-2K7c for linux-rockchip@lists.infradead.org; Sat, 13 Apr 2024 15:16:50 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a521fd786beso232196366b.3 for ; Sat, 13 Apr 2024 08:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713021403; x=1713626203; 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=5A7g7qS50UKBu2Vs5SDgCbvvncurtSr/U44kFCGPI8Y=; b=WRsNS7x9GEUWtulglHZBX+RA5LSgS9rEP178eVpTnYCbNfjVWEJJkeE4rS4VjYLTDR dmrTzjd0bUGyuTgLnWDqyIFzELRpesfj+7jFARDBB2GwR3iXJOIs7Yi0IgBkUkgDBH14 qMlwdr0yIm21k3jUWJxBPINvMMwbHuvRPWWsaoKXoFaK/x991+tfy5ZTk1SUC4crDTLC nPqyK/+V9ap9AiCkhE+1WapU8nxzcwV36CHMECKk2LbunBSd7RFmxww1xP6S4Jl6+Aoo P4H4isu3szN/zUCcd7Tii3/ewJ4nA2kFsa1Sd+IRYZ6o5EcCx1M/e7Sthiu+46rtu7NH eIkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713021403; x=1713626203; 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=5A7g7qS50UKBu2Vs5SDgCbvvncurtSr/U44kFCGPI8Y=; b=IfuVHnlvE/smF0yZ4THN3nyKN1J5OaDJLVMCB7AZfL4W7ZuLw7mbh2/h6rcvdNferf hp6k0GZqfvSEIoRctLElZhDZtCm6FKftIgHiL8t4cQf1pCg+OngpdxDOKL00EmCJ6SdQ KR6KZQMWr4wAoBpGyZBL5HeZuU5xUISbVIQSq3WM0Lrq57K2qbhXshGHPcAhVoMRJ0nA XEx7/NGE50pNUzehhLqnrKrtZDPABnrkpkktNzGcp2COPcrz9EP0wFn1xM35klVdtDCm GrjQZ7VggmdTvFqrWiIyXtlT83bEAe03xtCsqXW45qhfue63FHwSlOSQ05De85aKxxRP pP/g== X-Forwarded-Encrypted: i=1; AJvYcCXJpZRRcjNFEnUGA8ViWfO8c8pxY018hc4XkSKfJHI4N8Pu3AX83bqsHPqQvAXr93le1tUZeKu+YKngF5oRVb9W3ONrNiIHD+lzERI5j7O/cy6P X-Gm-Message-State: AOJu0YwcF0a8L2OmV/p6ONHUlXHZjOWWkEHC12kJURI+u2UYFPmYM9/s DIxYk1eOWNT6e5TA5hKzKmjz6lvlNotIzL4FGqNsGuP8jaCooPnW2YGydJpVqUQ= X-Google-Smtp-Source: AGHT+IEmo2EuLsiQvKf6UbS7ue4IQL/YRmJZHSgoqwKXTxi3PpsLAoyXQzBVJzA9zQct8EPeoVHm3g== X-Received: by 2002:a17:906:36d6:b0:a51:d7f3:324b with SMTP id b22-20020a17090636d600b00a51d7f3324bmr3318859ejc.66.1713021403232; Sat, 13 Apr 2024 08:16:43 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 08:16:42 -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 2/4] dt-bindings: PCI: mediatek,mt7621: add missing child node reg Date: Sat, 13 Apr 2024 17:16:15 +0200 Message-Id: <20240413151617.35630-2-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_081645_954140_570E9A8B X-CRM114-Status: GOOD ( 10.46 ) 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 MT7621 PCI host bridge has children which are PCI root ports. The children have "reg" property, but do not explicitly define it. Instead they rely on pci-bus.yaml schema, but that one has "reg" without any constraints. Define the "reg" for the children, so the binding will be more specific and later will allow dropping reference to deprecated pci-bus.yaml schema. Acked-by: Sergio Paracuellos Acked-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Changes in v3: 1. Correct commit msg (root port). Changes in v2: 1. Add tags. --- .../devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml index e63e6458cea8..61d027239910 100644 --- a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml @@ -36,6 +36,9 @@ patternProperties: $ref: /schemas/pci/pci-bus.yaml# properties: + reg: + maxItems: 1 + resets: maxItems: 1