From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796079196; b=rzYIoUueQR29aF31S6O2GrAvv6n8IM3+HT9ZvBWXrqyQUiKY7X7ELHHdlojJtcMYdbiV 6MWtN9wltY3L/q8LCPfVoM7s+9MjvLGED6viHis2cu0UkWr0kRNcx1gz7XP/H4ZHENTAv gjDt+7986YsOJ5ganBtUaN6A95eSkk/RxZidbqZ7CevRgkK2YQXt0wa2inwGdICQdGQai 3oc2/NCnciulN2yDGNG4dwyJ4JZgxSkVKVVcmMwq8rD4OoI3EXDWDS5ZBdIdZqNijEyB5 5lird2eprHTJaPyPYx5EiyBySiEEiTl+iuKPLQRiAx51zH3RGA85GcHH7wxSdZ9FRAw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796079196; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:X-Developer-Signature: X-Developer-Key:Content-Transfer-Encoding; bh=WDYwsYrj1qLk2g2rSA1i4QZv038+S6G6amU38e1xO/0=; b=EfVCLTBmMITbLYxOJ/pzZ0wDuKJlavaVphofhnBuY71Yu5igU8A1KOn241Ts/3lrFlav XG8NfQ5qlqJrDB20R0zmU5fhpi0fc2V7HN9HNbD14lmQvNpX7d0aVK7ePBMhiE7dfeZZO LSvaUm+ihDEF1sReKVsGnLe0NzA4v3uBv+lYNXZD6PQmAv9ZBqYANhslRoNRLj/Er88Iu shfd35Ih5dFEZ5m23Gvg0rZLHiDhf7kTakhEQN5D/+OkIsrAm5xekPY7dapRJKdtXY6Xa xBHTg5hf3tq1vja125yAe2GAIBdi71a5OYA3tsSVlFNCMizWmb6LNO/+npQc4IW4npA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TqYValI5; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14306606A31A; Mon, 30 Nov 2026 22:53:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TqYValI5 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D7FB1F000C1; Mon, 30 Nov 2026 22:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796079195; bh=WDYwsYrj1qLk2g2rSA1i4QZv038+S6G6amU38e1xO/0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TqYValI5jqNxMGCzVzFm8v7yqzKsuXTnuWDnbdd9QZhd29qHrNrJnHF5qrelaKoMX ZXjfOk4Bi5rkN9W6cQxu7rVOoMzFHCL/ubVauKXoC3TL7LpuEBNNY+RBgkyitXu72w BCngnTRJNezQyBuz+wezmuZrLKj3bp6LVSwQDi6Poccg0Nrvov1bSDyGd2csH/7uIe G6mf7gY3srqGU5MlAh2//dtvDgJ0tIfTGeUETFy+SNpDF8EmPDo3Wt+Ibn7NugQPP7 VVf5d+jOJmRu0afDsQalKg9LQZaoVCowHp5SVe/317CTGaZd/v7IZy/rDtbfUG7Gkm Z5eJPG+KHQpow== From: Niklas Cassel To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivam , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Damien Le Moal , Vincent Guittot , Marek Vasut , Koichiro Den , Niklas Cassel Subject: [RFC PATCH v2 1/3] schemas: pci: bridge: Document the REFCLK supplied to the Link Date: Mon, 30 Nov 2026 23:52:56 +0100 Message-ID: <20261130225254.204664-6-cassel@kernel.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261130225254.204664-5-cassel@kernel.org> References: <20261130225254.204664-5-cassel@kernel.org> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1576; i=cassel@kernel.org; h=from:subject; bh=Es0Jd7d7FxF0J9o5DXpuqIoYvBcONVn70QCG0fe3Vqs=; b=owGbwMvMwCV2MsVw8cxjvkWMp9WSGLJ5/7lNNtrHsjdD6qx23mKB7FPVR5775p74/pRdW/3Xw mT7+bPzO0pZGMS4GGTFFFl8f7jsL+52n3Jc8Y4NzBxWJpAhDFycAjCRRz8Z/hdvqZhbmjNjyazD etfPvZOKcf+zwfdYnMPL2TNf37HaU3Ka4b9bTNwr/bu8EQ67zx07Uf3S7ZzGa2fRbxecPv4/bnb p13FGAA== X-Developer-Key: i=cassel@kernel.org; a=openpgp; fpr=5ADE635C0E631CBBD5BE065A352FE6582ED9B5DA Content-Transfer-Encoding: 8bit Several boards describe the reference clock (REFCLK) that the platform supplies to a slot, or to a device soldered down on the board, using a clocks property in the Root Port node, e.g. the R-Car Sparrow Hawk, Salvator-X(S), ULCB-KF and Geist boards. The Linux PCI slot power control driver enables this clock when powering on the slot. Document the property in the PCI-PCI bridge schema, since the REFCLK is supplied to the Link of a Downstream Port, not to the host bridge. The spread spectrum clocking (SSC) configuration of the REFCLK can then be described using the standard assigned-clock-sscs property. Signed-off-by: Niklas Cassel --- dtschema/schemas/pci/pci-pci-bridge.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dtschema/schemas/pci/pci-pci-bridge.yaml b/dtschema/schemas/pci/pci-pci-bridge.yaml index 39a53eb..38552a6 100644 --- a/dtschema/schemas/pci/pci-pci-bridge.yaml +++ b/dtschema/schemas/pci/pci-pci-bridge.yaml @@ -28,6 +28,15 @@ properties: contains: const: pciclass,0604 + clocks: + description: + The reference clock (REFCLK) that the platform supplies to the Link of + this Downstream Port, e.g. the REFCLK of a slot or of a connector, or the + REFCLK input of a device soldered down on the board. The spread spectrum + clocking (SSC) configuration of this clock is described by the + assigned-clocks and assigned-clock-sscs properties. + maxItems: 1 + port: $ref: /schemas/graph.yaml#/properties/port -- 2.56.1