Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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 5D79941B8C4 for ; Wed, 2 Sep 2026 21:43:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788385447; cv=none; b=k+ZYoD18mdjdyKeAwv3EBkwWp/AM4Cpq7abnT9GNVpmuZWtoL2ZnRGX1NL3Q2ZUPsgt8l/nk40zzICSO2IRkOcHNLi3jh01sUgI4kLg8JCyDYgGV1RjsBWzuDrtTlatOhS3BSJkeWW7wfevMku/E2e/ucN62MOnUafaiY7nTMsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788385447; c=relaxed/simple; bh=WYWD6k3/YTt03ju4RohZzAu0j+nseurIlRHs8IH6mZA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iYr/4lvM+wzBWxVDB5WwW8wEYDjsPSIcora7RrNoawCy9QznCowErqC9bbHgOIM7/VwIJsqP8YaYtx3q2w1gpT9B9dEyq4yoIwQPanOBynU/q1xKnd/e9WkQXTlNATfB7JQrBHBOsxz34eBk+bC/fly8gzIj7893vz4YHbXQ264= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b=nXp3WuOV; arc=none smtp.client-ip=209.85.160.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20251104.gappssmtp.com header.i=@riscstar-com.20251104.gappssmtp.com header.b="nXp3WuOV" Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-52ff7e275e0so14911241cf.1 for ; Wed, 02 Sep 2026 14:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20251104.gappssmtp.com; s=20251104; t=1788385414; x=1788990214; 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:content-type; bh=aBR0UsO8ZWY8yOqrzQKul+zJVePMezCNhp4pXn9LfXI=; b=nXp3WuOVDRro2KCDaDkRxvEmmNIx+er9G+rp6KyGAZk7PJdArGEB8FflL17rVtof6q 4/fENoUe1/xsW1hRVFTW9mBsqHATTOAuiWOCSUmumaDSUs6mHtIFrf9wxxxjcbOI7/j3 2PET8ZLXBw7SzEeaCHpd8zVXSpVXTLKz8FCSzWb1giAzKrfh2EluafmVl+NwABAZHTIK odk9F5ddsCbsKNZ9VsXw9NBrFRJQBM09JO66DFe+coqbGtL5PisudkVjhITDkc9AO+P0 o0aJyHoD9U7ZyPF7+Out0AQtTUTsC+qCkveOCzazPhOm2FoKPd7TS9ewyo/z93/VQVxn y1Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788385414; x=1788990214; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=aBR0UsO8ZWY8yOqrzQKul+zJVePMezCNhp4pXn9LfXI=; b=SmYrN7Y5ZZqX1PKmrMaJC6Q+h4cxY6aNtBjBGkb/SBnEs2KHev9PiQzWQvTGRVgxRc CLxKD0GqyTo/gWNWr9d9NBuJLL0dXjC7Fj41l3ocH9N69eCNFJDQY5E3QCQb44QpY8XM KHIWe3dE+RVHCqtyXa1Vn/mqIQggy2pFsYsyPaVQrVOFgFtd1ARWixMGGN6nOx3ZuRDw G3E+Bk71AmLZtq3r1p8ehvlLw8G1OAtUWnkyO2Qblr8huM7MBJOrjY1UakQw3VItBj7a xLcOmE17LO2G18Xa7/7qb32JOB7pyXOErOG3CKMzeVm44TPNSbKLJMyCyUI9N5Kkhqfa w7fg== X-Forwarded-Encrypted: i=1; AKwUvBwfMfJfvF2xhFMscmdsNrjLtA+NGbHA6l55kfcgc7Hi4aJ5nc6IQoNqLrjTfjfacs/aJQEtgPfXP3oSLFtq@vger.kernel.org X-Gm-Message-State: AFuF++km//mQDZJtJqN9E9CDiqbTv8AN7ZcaQmYTsMEJtvdF+jmqHpgw eQpkYq/Wd+xYdoHIbtzzt8v+QtCZg3JbR7TohquVLG/n5BK5ymiVNyO/KI9dJJcBBzk= X-Gm-Gg: AYBFou04dqZ0bSuNHAynk3AQIotDe7Uf3nfghma8P4cHRR8ZCa+fpiGCRwFJ4iaSm8S 0RHWdDC0ZEN3TTNlpRQ1YtWD0L7BBocKV95O38nZMuI9BLkVnH8ReEJfrfkzfBNfIfuLZRaBa8n caKzCY5BUoriTM7McgSpnslafctIOx9Mp9aMG5gSxYZ/8OV8I0cAY3ynkA2wSTOikSm/l+FYhpA F/r0JpckRefYHCeFHdb8dF67rE2Z3vp6jSguXYoOKwaEh63p3Em5ZxymmUAeusCOQq+f5nZLDU/ UkI9wjHcquSZUF8CURPAw9jgTeh0Na6JqcG5iOLANoP87dVZ/0MOS73635PaA0Kkz1T5F9kyzOW CJObFbNYIpGtAO0wyPe2zOIz8Up68NrFIxc0SHsLEhb8agiSuxmfMsBWEaCbi8UpkXv3VPldYMT K0DKFlQqhu9yWUQBXrvkKVoQaIYQj7hYtddVcJ8J0w0OSTSoxl85cSDF0IEACG/qZqKQ15yedML Nc= X-Received: by 2002:a05:622a:c0c:b0:50d:e471:2d1e with SMTP id d75a77b69052e-53036d4d21emr94060931cf.35.1788385414076; Wed, 02 Sep 2026 14:43:34 -0700 (PDT) Received: from zippy.localdomain ([73.62.185.64]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-90e9ee06d30sm28372546d6.6.2026.09.02.14.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Sep 2026 14:43:33 -0700 (PDT) From: Alex Elder To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: mani@kernel.org, krishna.chundru@oss.qualcomm.com, dmitry.baryshkov@oss.qualcomm.com, sushrut.trivedi@oss.qualcomm.com, umang.chheda@oss.qualcomm.com, rosh@debian.org, jsandom@axon.com, daniel@riscstar.com, mohd.anwar@oss.qualcomm.com, lorenzo.bianconi@oss.qualcomm.com, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa , Manivannan Sadhasivam Subject: [PATCH v3 6/6] arm64: dts: qcom: qcs8550-rb5gen2: clean up PCI function nodes Date: Wed, 2 Sep 2026 16:43:20 -0500 Message-ID: <20260902214321.1721477-7-elder@riscstar.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260902214321.1721477-1-elder@riscstar.com> References: <20260902214321.1721477-1-elder@riscstar.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Qualcomm RB5gen2 devicetree source file defines a node representing a TC956x chip which contains a PCIe switch and an embedded endpoint that implements two PCIe functions. The devicetree nodes erroneously include a "pci" device_type property for the two PCIe functions. That property should only be used for a PCI device "that implements a PCI bus". Remove this property for the two function nodes. In addition, only PCI bridge nodes should be named "pci@" (or "pcie@"). PCI endpoint nodes are typically named based on the functionality they implement (e.g., "ethernet@"). In this case, the role of these PCI functions is not (yet) specified, and furthermore they will be used with PCI endpoint buses. Rename these to use "dev@", following the convention used in of_pci_make_dev_node() for dynamically-created devicetree nodes. Finally, these nodes define #address-cells, #size-cells, and ranges properties, which are not normally defined for PCIe endpoints. Remove these properties as well; they can be added back once they are actually needed/used. Fixes: 33cae252054a6 ("arm64: dts: qcom: qcs8550: add QCS8550 RB5Gen2 board support") Reviewed-by: Abel Vesa Reviewed-by: Manivannan Sadhasivam Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts index 9df8dcd6c62b6..e6340f7d30dd8 100644 --- a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts @@ -1126,20 +1126,12 @@ pcie@3,0 { ranges; bus-range = <0x5 0xff>; - pci@0,0 { + dev@0,0 { reg = <0x50000 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; - pci@0,1 { + dev@0,1 { reg = <0x50100 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; }; }; -- 2.53.0