From nobody Sun Feb 8 12:20:36 2026 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 451DD2F49F1 for ; Thu, 18 Dec 2025 19:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766084804; cv=none; b=jNhSoLsEovBbWBdWn7TiJ3sfnQaokXRV3iHgnp3EjCWpFXGWgMOledWX912vkbEpwufQcax/VtGtw2QwUmrWXpEiP2i+uduEXrqMLVwDDZmgQ/6eGtPzlDfqJ5If+5stnj4KR+m8Ip6yaeG0ugOpCvRJRtDHtkZGgJqd9Fj2KMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766084804; c=relaxed/simple; bh=6hWxr3YWtKXnIObjWNRmQ/1q6+pnF+M8PoYECdphDaw=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=duDOoSmfKsOhxL/xcc7w9Nm8rqAxcKHiNrJS1uWIWcsWhIK7o7cfm8UFQot3NUnGmbtBmkwbUrd4+cPiCcvvq+qZSftZrFpiG0lCIs2bkMkVKWMygfYYB/pWCejktPfKZXaxf+3m4ebBe+uShZcLMt67DDKuq7U702FC2JQYDEU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=aeHzHM0X; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="aeHzHM0X" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-649e28dccadso1364209a12.3 for ; Thu, 18 Dec 2025 11:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1766084801; x=1766689601; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=chaucy1e8lWQfwVdexQ24C/rG8+K3TB71NB1amH2+HE=; b=aeHzHM0XRImPe8X324y5qMGjSP2yYIlmfm1Vu0MHer3vUXQ8U3rTIjI9vi/0DqueOv e4l6XHy9lqevEIM8ZmCzaJTvZdGbQiBs35uK973qboJdCm4gzBRIv+nOJBxgLst6FxxB yTdRm1ceETlaa2bUWGeWIVAMVWTVMUYcW0ScIhmc2lBvyg7j3Rv1emoZdSwMXv/pVp+I S3DhoUSjPK/9zFy4qwz76kVwQZJPSZPE8JVI8MR5sC2LG4hfntAbbAG8QdglEMrti+M6 RQ9gMu2e+fu/IweNoxmrv9hpGKyVSepabkHJFa6fotq4dhtN+7N+SwbRB4NBotog2BKH A1wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766084801; x=1766689601; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=chaucy1e8lWQfwVdexQ24C/rG8+K3TB71NB1amH2+HE=; b=RsgzGHb5d4M+VqU85ScoBLVa/ieU4WhbFY2l5m6A+tqLEiqDFDm5yMUg9HHqu/3Ir4 oSwFAdCS5zCD1S2Xig4FPyxgqpqQPAF/gWVIkX47KNyqp/ISdYfADZ0e3wAWca9BcI6v Q6MQPCdXd6SoFlIOAiL3G0Jmze2CcfZCJMNKXhlKfHJ4+qBRCsWGtCzO1Ob7PzzG5Rnn 5H12DUP8TZzeAjpchi9Rr7QzvuW9ohEeXuCAYsmCtY+ci8egJ/zsT7qbVj+Go2ZGFzse a7+HaspCv7sT9qJia9bWWvBt1Wq/p7fh5P4vlABsYEwW+pGcNC9L15hy9U5bq4GeJqC5 x+iw== X-Forwarded-Encrypted: i=1; AJvYcCUCFizbyq4PvvpZbXApZLCbfYgomcS0Zl/kvJEsSVriYP78kZFl/ckx3zY98OMzVmSzvvTjO3bdBGfRz9g=@vger.kernel.org X-Gm-Message-State: AOJu0YwcZ2HE71nZVnMkzNAUeiRINA6Nm+iXmiVZ/jziMVgV/HKRp7o4 uXpofs0VQ4N1AJmAC5/NPCv2P1YUlFpHEC9Zj3cbx2oPcHxBzfKh+38u+ouTXtsgqng= X-Gm-Gg: AY/fxX5zADST25wQSgBct6y4F+dIIq2kol5oXF7gzm0w8+KzuQ/6iZhtpjJoiYKc90V z5ulQEXCOttJe/Zl1ndmCVWRsTstIgCw5zmR2ttz5RKeDvDZikJ42jatMuyUaX3AT8g4F/dK/36 HHHBhHqiCLN0QK6KoapMY9zSSVvv52ur9S9uU+7fO3jV2LR/WnlhmGkQfNb6xnpy1ir9YFK4lb8 cugEFvICio2koFGNAQ3WKs5qvPw6U73NH1hiQOx6mD2P8OGsJwyn29Oj+WanCVIHNL1AFc/CuWG lApQhDQM9HzrCAQ+rdKgZWr8Plyao2Vs1xLt0RACl6LMXRvcL97ZlA5YyVnpxhKjA6srSLysasq XkCDOjrQ4k/3DEpOERO4v7SJ/vsGvtaZO8rPZI2dxsml+eBAUJrw6VJ/xC49CPP/2Z00EUQcqBM MVU4vxHThmc5kFLRDQUsSunBDtbyTtLwLfYvSfbP0Ha7D/clpTiAIySpvv9qtTXpwp X-Google-Smtp-Source: AGHT+IGJ7OubBdUcx7Liyf+zesKkie0GYHAOmU4YtaOMc800CNMruH3bkATR+xrHJMNRK5MvnKCc8Q== X-Received: by 2002:a17:907:72c8:b0:b73:6d56:7459 with SMTP id a640c23a62f3a-b803717a112mr37909566b.38.1766084800505; Thu, 18 Dec 2025 11:06:40 -0800 (PST) Received: from localhost (host-79-37-15-246.retail.telecomitalia.it. [79.37.15.246]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8037a5bdf3sm18392666b.12.2025.12.18.11.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Dec 2025 11:06:40 -0800 (PST) From: Andrea della Porta To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Andrea della Porta , Bjorn Helgaas , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, iivanov@suse.de, svarbanov@suse.de, mbrugger@suse.com, Phil Elwell Subject: [PATCH 1/4] dt-bindings: misc: pci1de4,1: add required reg property for endpoint Date: Thu, 18 Dec 2025 20:09:06 +0100 Message-ID: X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The PCI subsystem links an endpoint Device Tree node to its corresponding pci_dev structure only if the Bus/Device/Function (BDF) encoded in the 'reg' property matches the actual hardware topology. Add the 'reg' property and mark it as required to ensure proper binding between the device_node and the pci_dev. Update the example to reflect this requirement. Signed-off-by: Andrea della Porta --- Documentation/devicetree/bindings/misc/pci1de4,1.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/misc/pci1de4,1.yaml b/Docume= ntation/devicetree/bindings/misc/pci1de4,1.yaml index 2f9a7a554ed8a..17a8c19af8cc2 100644 --- a/Documentation/devicetree/bindings/misc/pci1de4,1.yaml +++ b/Documentation/devicetree/bindings/misc/pci1de4,1.yaml @@ -25,6 +25,10 @@ properties: items: - const: pci1de4,1 =20 + reg: + maxItems: 1 + description: The PCI Bus-Device-Function address. + '#interrupt-cells': const: 2 description: | @@ -101,6 +105,7 @@ unevaluatedProperties: false =20 required: - compatible + - reg - '#interrupt-cells' - interrupt-controller - pci-ep-bus@1 @@ -111,8 +116,9 @@ examples: #address-cells =3D <3>; #size-cells =3D <2>; =20 - rp1@0,0 { + dev@0,0 { compatible =3D "pci1de4,1"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; ranges =3D <0x01 0x00 0x00000000 0x82010000 0x00 0x00 0x00 0= x400000>; #address-cells =3D <3>; #size-cells =3D <2>; --=20 2.35.3