From patchwork Wed Apr 10 18:15:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 788379 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 EEC891802C6 for ; Wed, 10 Apr 2024 18:15:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712772936; cv=none; b=bY7z4Imv8Fho7F67gax/QUfEG4gI34rZIS3NqTbrKusxNiCboRiWOBKxU9VyAmaGAV0M3mKBJbMmigYItA44uwqp0ni8WTaaNG5Fw27enPqeH65VSe12Vx7nQp+hHt7Vpvck5G8hlwHOLm1XfD2obukYBI3uaOh2y9doMGC6ELo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712772936; c=relaxed/simple; bh=GUA2gQVyzUq4mqgqFOz7Ggun/F/2pZtr6iY/78kj6eE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RejqIuYBU6ONnLrG/lcLiAu9BGQ5Kv+RXvctHW2ji1nozUD8uAeTH2D4sF7bfNTTX1zum/jIS3K118dWiCmGD64FMn+Qu6OaE6jMqsbc4Xy/YeNa+/WEoxFCBUXwP/EWbVyyzwNb6OC28erWTrPrfq22Ff4t4ermGVOKVFDx64Q= 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=vY3A+gbP; arc=none smtp.client-ip=209.85.128.43 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="vY3A+gbP" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-417d092f2ffso241075e9.2 for ; Wed, 10 Apr 2024 11:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712772933; x=1713377733; 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=tXX8VKX+rv9zqtz4L9Nra2C1jH70KvWHrUbepIAmkrw=; b=vY3A+gbPWJ3Q+qcXK7tv4rL4zkXRfzjxoLjPchy+nDwIYYWbmFiLYyyv85jeUJWbCP 9ar9eZ3is3FXO0lal+8Gf7mdFB4ZsSXamzzFgIaN1YMKQfqU72LIJi/PX/l8pC0G5stN yuFvRQXjstbG91mYpMV0m72dMZu26xNY+faimRfBN2TXyfcRjiIsKk9/mKzwGnYA2XF4 EsasEivyAjvK6/BCuLwFoWyTnQgC2r3zZeXUQj+U9yfsZ3HfqmmFCvzymgmCADWbXOcT lAjSJzEu4IAVgFNuJNLPp4RdCFpVMwt/fp613qVnyGW4e9IfeWQFRRTK80Wjlxoa1+NX Hy3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712772933; x=1713377733; 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=tXX8VKX+rv9zqtz4L9Nra2C1jH70KvWHrUbepIAmkrw=; b=EL6Q+vcSej4rGsFXn5U4mxu8bmis4G2u/Ca/ZJB/Maea1LzfiXgssE37gUuhl9plpa 3uVkzyTsAjRhZxsCB2uVO//35/c8FMmz1Y08hsriAWZB0MpM5f0eyVV4CpM3ulj70hyk CwLjETiE7VWT8eJih90qzFX2JNDz45BNnHwEgSLY+1IcSKsU1GrsqxW3KLrDCFPs9G38 xdzWLunpEmCF+Z4x5fams0M+OljUw8ge5K3bRXVMtQxbmstrVBhQ6nx2kHI2k33c2dah nf5YbbIEIJ3v+AvsDAyy1QOOo6GxBR9nza0W2IraWH+ig6V1S4gLMOZ5VBEIybwFAVwg HFxA== X-Forwarded-Encrypted: i=1; AJvYcCXGEwvrXK/pl86m68143ATymivHqI4xSVC3ogkVhzAkA0D7hyHGTm1j6FIQeAm1AROczfDM1wp56mOhyOF3pkRPIk1pyMqvYHR8TiKxog== X-Gm-Message-State: AOJu0Yw9oD7eITT9ZDJuIcMmxPgvIJYdarIf++I9wnsPOwN2hWYqngEU morD80qxXsfyyxYwstmOVM3uA0qXRSERgHu73RM5ij2hn0zR4GdbMIDX/8sF3bI= X-Google-Smtp-Source: AGHT+IGazA6MZys4bTNDrbcrinuoI8bDaxyaA6yDxg8sZ5OMVeOpTl1JLqQsJ93ZXnFnHSgh7rOPfw== X-Received: by 2002:a05:600c:4f0c:b0:416:a71e:f2c6 with SMTP id l12-20020a05600c4f0c00b00416a71ef2c6mr2275871wmq.4.1712772933184; Wed, 10 Apr 2024 11:15:33 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 11:15:32 -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 2/4] dt-bindings: PCI: mediatek,mt7621: add missing child node reg Date: Wed, 10 Apr 2024 20:15:19 +0200 Message-Id: <20240410181521.269431-2-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 MT7621 PCI host bridge has children which apparently are also PCI host bridges, at least that's what the binding suggest. 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 --- 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