Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (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 2D6EE4AA1E9 for ; Wed, 2 Sep 2026 21:43:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788385424; cv=none; b=MrT/ta/PCdnkE7AmzxPOg55s9PMDY8X3YR1QGIuU8Q7+hsO9s46sBpZoAwe67N8sQ8cWHYTr7iRCQT9CKwX9exyJzLbAOuE2C6/glcTvJsapt+ft6y/Nbi9ZeB0CA8k/m2gAc7c+e58AypV+3PJhpL+RQP/21ppoAcDe2LuYut0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788385424; c=relaxed/simple; bh=eTWwfVHCz35mEZtL09c2ZHDDc37fkZg4MEAHwT7r+1w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g7xVrHKT822C1ICUgpAwTB10TdfJ93fstwWvfVoOig1prpnwpNmmLYohxvvO3GrYTp1QcbwblxRraj4BSLZK5JbTSMtxPH4bTkeiuvVA+/Dr80Q/9TNxa5Lj14VLWEBSo4QJ2vQSrFRytBYQ/QNF8KcMxBsCyROE+iU828jyl0A= 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=W7EJGhC5; arc=none smtp.client-ip=209.85.160.171 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="W7EJGhC5" Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-52de50e77ffso18449061cf.2 for ; Wed, 02 Sep 2026 14:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20251104.gappssmtp.com; s=20251104; t=1788385408; x=1788990208; 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=IlcQCyWFtoBvuAEwrMQkxRbMNlzUSBJWEQdcfS+nHxY=; b=W7EJGhC5hkOlzRG5xbiu026SpL2+rGmw6Hja9QO17vafzcvP/HJSN/LOD6DnGZcfyM q6yecN2L4VwQg6k59FZYq6wQkfLS06lLj4/jbnwAtgHjnsvP9TmcdCFo4lC4KxisKNPu s5JWOss7r6lwqP10qkkOAg6qdm8uEFpWCEwTbdY+PvO50eqwgMv7521ez6kivO1F0mPq QsDaS6uMlOsrQPNPg0tnSFi0+GdHY/3lkBpWCu1Kw0GwK8eZ3rq4Z0II4a2muCNQ8GJp LSBdlOmO7S+P3yDpTgwRfMwv9NGm3faphUvUzY4Teb+m8B6HYrjDS8KFfx7uVBk9VaGX h1kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788385408; x=1788990208; 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=IlcQCyWFtoBvuAEwrMQkxRbMNlzUSBJWEQdcfS+nHxY=; b=GXz6xU0Dxy+ee3wuQpQYTuhoTNyP0e2aea49zT3tMpFseNTfZcGRaSNYX5QLF50Jmn NwWGBkOEfsZJ4dEu7tWNa+ebsjDW7YibLpO91/27G1UztGfU4YgZ4TXZSjqALSOy/5GX d8HSAKilEgnLHENGihinRKqmAouv4SpVaMnvGTJHtmZoplWzhSt5HyjkL2Vip+9GnPan RpGqISA2Kj0Cl03ttpWmU3i/9EKb+ozH3+rQ7C7X6o2SPCbUl72u0x4ZuD7QvPEP0pkv a0LE2MdEKk9gJnRjTLml+H6wSwV6Ft4hcn7RTdUOAFM1xYNnYXfEGplI9qW/IKFFVCGe hOYQ== X-Forwarded-Encrypted: i=1; AKwUvBwdhz6VWRwm9SjO1hGJuIevhjQN0v8mOxAICi6VQ/+aaP7PebH5nSkiOD9L7o/+G4Py2OPI+pBpqO1PeCOZ@vger.kernel.org X-Gm-Message-State: AFuF++lVn7JTgo7ig5gC0XCdEnvPg+/IJyjWIsQr4qhiq/xeM+L8p21T QFvrYMkU16OdZhVreVeuAdRwZV9y9gSH1aHRsNwPyeBJynP0NWvLHH6FqMPGnML8gk0= X-Gm-Gg: AYBFou15ZL52EgXCbjCnxBP2CHj9cCwaddBFhNGDWPEk7a3vZTegKMfYDwTFPn3Y961 5Fcr/L/IZMDEfK9JhYLvzWV4dKI/DqLAWharOy2AduBc8ofZort+5y9ATdntY/p2V5tbUN4bayH fFBCIKrEhetnYQgvO5u8PxC8NqrvsMwIVGgkwY4SSON53xXh/2C/6q+olxf/KIwfLaLkZb5G+BX oO91fzlPWmfuh5gqIYm0kmoSWJaxSee2sx7hwNLVKYngibr4e381yH+ErzTvDLUEHZFNyT6QYyz GFx2DvMAxXqkkcW5z+NYcZtqtNFkFeJtq/LO04bYmL9/F0u+QVWPFwpPIxmpC6f2jDgtrhFfYmE xzwHkrBaotWpSRuOps+48HpX2GLMJKP6/bd+waPyFSTZ2ydiN6YKzXISfhhp9J7Hjt9SO/oecRf 8cOo4aSyqpzMaGGYyizaqi+lKY/no0an/kxen42Tftd2LvnC9DIKrX+QQ9I3ESstam X-Received: by 2002:ac8:5a96:0:b0:52d:6c92:b5e1 with SMTP id d75a77b69052e-53036cf3749mr89495631cf.27.1788385408032; Wed, 02 Sep 2026 14:43:28 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Sep 2026 14:43:27 -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, Manivannan Sadhasivam , Konrad Dybcio , Abel Vesa Subject: [PATCH v3 2/6] arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: clean up PCI function nodes Date: Wed, 2 Sep 2026 16:43:16 -0500 Message-ID: <20260902214321.1721477-3-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 qcs6490-rb3gen2-industrial-mezzanine overlay defines two nodes representing TC956x chips, each of 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 "pcie@" (or "pci@"). 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. Reviewed-by: Manivannan Sadhasivam Reviewed-by: Konrad Dybcio Reviewed-by: Abel Vesa Fixes: 4559b435f741b ("arm64: dts: qcom: qcs6490-rb3gen2-industrial-mezzanine: Add TC9563 PCIe switch node for PCIe0") Signed-off-by: Alex Elder --- .../qcs6490-rb3gen2-industrial-mezzanine.dtso | 24 ++++--------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso index 46bb52c667a4d..5259f4f4f8574 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine.dtso @@ -130,20 +130,12 @@ pcie@3,0 { ranges; bus-range = <0x5 0xff>; - pcie@0,0 { + dev@0,0 { reg = <0x50000 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; - pcie@0,1 { + dev@0,1 { reg = <0x50100 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; }; @@ -225,20 +217,12 @@ pcie@3,0 { ranges; bus-range = <0x5 0xff>; - pcie@0,0 { + dev@0,0 { reg = <0x50000 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; - pcie@0,1 { + dev@0,1 { reg = <0x50100 0x0 0x0 0x0 0x0>; - #address-cells = <3>; - #size-cells = <2>; - device_type = "pci"; - ranges; }; }; }; -- 2.53.0