From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F61E606A685 for ; Sun, 29 Nov 2026 12:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YPRn4e9C; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dOVOz8Ou DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=Oy9RKL/WGUkxAoFDSjiERZAmykK8r2zpnxTYk6qbXdo=; b=YPRn4e9CMXRKDwRhRPzsY4CQ3G n8nPZkd1ZuAaiH13Gt7AQKuRCZCugox1pSKQSCiTXo7oAl2GE+33sDHwA6UvoV6NqQFTXw3B8QtNh 0jKiFrvKb/T3Em9ZzTlVaxHZYKZx2ieYl+w7CMgKpiv5bx54KA8VcKDB5+WjC+5bcy/scJ5uPmN7B +Tl9deg+a6BG5RWfiEAQ+WuY/sLDUbK2ZzdIiXbtIZJkIoH1dBP/ruMh5kph/LlmYQJqL5+XSWxi0 CysnsdfcHIiFp/w3DuwTyH+em77X4ebMQukx0QyyrpwlAviAAtUxZEfxSMAgfAy3CReM1DbBbVisn ab9/Xz8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXe5I-00000001xTw-3W1s; Sun, 29 Nov 2026 12:32:48 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXe5F-00000001xQZ-1Cbz; Sun, 29 Nov 2026 12:32:47 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id B61B3612C0; Sun, 29 Nov 2026 12:32:44 +0000 (UTC) Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1795955564; b=tfD9sjoUJk8AeixCAnOFH7OBxNWbItCfqHV7knW3jUIgJXDpnNAAoM+w2gNJL3+GYVML nKXXifgsc2yBgtDH2xVDyHqyl9qkpJO+zxjFbsYmbzrUAcrQuB4A0vkUAMikZ5206JIXI iiST3AVp77EtPLE6yywlopb4KIzZaC+6NrFbXrq47eIoQV7fyRYTibK3HpKoe9tSmuCll VUj7HFezJXIflcuJ6EXyweenQbfZlwHAVPBJThScwovUmozN6b8LsM+JdgV50Tyx2fDK/ k15XLJleDQiJ2bE7Fi2tFSLLQ/Ta/0IqET0Rk1v6+9LgS1+wavN8YWqK76+ncNEPNAQ== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1795955564; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=Fq7tujyuWE094N7JP8igT3LM+X8xVhYlxMTfkoMW/9w=; b=SW+dFSy5to4upSje/RJYgs62dIwAAch/FBNccpqmCA6y0xoUB9xzLK/VUcpqUvekTpDT FZoChL2QVd7JjGu7phwdGj09YAwd1uIuOS2GuZSjzJVsrk0lsBIBp0xS2BXeZSLuzP3uo lZTw+L/91QSxTiVn/MQnLLaAmkWRQn8esjFNzIzuuZFSkZrz+J7tx8C1HZeqzkkhInEaG T+nJXlIsTtTrNwJCp/vzgfyMvPsc+xosSKcyhqdu3hKxnZBKiqjMvHNYUHrWGh7pu6r6O ku0crotDL+GGv6g0HqsTMlTJt5KQ1YVF3s9yoN2yC8yv4xEs7tTa9zDgm9dbE78qk/w== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 1C3891F00897; Sun, 29 Nov 2026 12:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795955564; bh=Fq7tujyuWE094N7JP8igT3LM+X8xVhYlxMTfkoMW/9w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=dOVOz8OuHgVrGKYZgQQSU8RIWEURSyU8iRPAt29xw5/aViDK3iqxV/sP6LcBQGJpx GibKfHstIfdBplUKzgzOYFyFiXkWtlWGH8FWgfxWCJgiOZyYb0MHsOJw6MyJy8xGnE X0rs2YgHMLoAywRVkjA9wfb8O3T1/KvDCzDxo6pMqWotUa6Lf/V/QjrBP1c+3GNPzg eclJn8e91GQzDQWlD+MzhjPF7+Z1eZOx/Cj6/JUPdwM99qA2hTvbdDC2z6PMs8Sczm xC4cc5PbWRvx72pFT/i5Gvnvr6bfGjpKPs6OvNC15rEta+5bSalnTgizm6M9nKkZOs /V1uCrNg1I5dg== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 979264E489; Sun, 29 Nov 2026 12:32:29 +0000 (UTC) From: Cody Kang via B4 Relay Date: Sun, 29 Nov 2026 20:32:14 +0800 Subject: [PATCH v4 02/16] dt-bindings: phy: add SpacemiT K3 Innosilicon DP PHY X-Archived-By: MIME-Version: 1.0 Message-Id: <20261129-k3-display-v4-2-ce6cf7988202@gmail.com> References: <20261129-k3-display-v4-0-ce6cf7988202@gmail.com> In-Reply-To: <20261129-k3-display-v4-0-ce6cf7988202@gmail.com> To: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Troy Mitchell , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Haylen Chu , Michael Turquette , Stephen Boyd , Brian Masney , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yao Zi , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Guodong Xu , Icenowy Zheng , Jerome Brunet , Sarah Emery , Ze Huang , Dmitry Baryshkov Cc: Cody Kang , James Morris , dri-devel@lists.freedesktop.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795955545; l=2696; i=codykang.hk@gmail.com; s=codykang; h=from:subject:message-id; bh=OneVBb1jXRQQD1t08xbP9vC9oUD68lFb6+QJIOIh2cI=; b=z1SdtsikwDZ3Ty7/nQqIC/AcwVMMLFffOdpp2wGq+8gcQHHV/w2/S4u142FkenmA4c1YA4fHg CPOMUgsrp26AzeDtd7af//40fdycc1lSLy4/wwgRaWJrl//mSgNeY7s X-Developer-Key: i=codykang.hk@gmail.com; a=ed25519; pk=Osn6/cs9Su/mHHw4P19cmVc3v2FMQfiWahjsN0vEkuk= X-Endpoint-Received: by B4 Relay for codykang.hk@gmail.com/codykang with auth_id=895 X-Original-From: Cody Kang X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: codykang.hk@gmail.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Cody Kang The SpacemiT K3 DisplayPort controller drives its four transmit lanes through an integrated Innosilicon DP PHY, one PHY per controller. Add a binding so the controller can reference its transmit PHY and the pixel clock the PHY's PLL sources. The PHY's registers are interleaved with its parent controller's inside one MMIO window, so it owns neither a reg nor a reset and is modelled as a child of the controller. It exposes its PLL-generated pixel clock through #clock-cells, so the APMU pixel-clock mux can select it as a parent through the clock framework. The reference of its two PLLs is a clock input. Reviewed-by: Rob Herring (Arm) Signed-off-by: Cody Kang --- v4: - add the reference clock input and require it v3: - no change v2: - add Reviewed-by: Rob Herring (Arm) --- .../bindings/phy/spacemit,k3-inno-dp-phy.yaml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/spacemit,k3-inno-dp-phy.yaml b/Documentation/devicetree/bindings/phy/spacemit,k3-inno-dp-phy.yaml new file mode 100644 index 0000000000000..ec3b6378b31bd --- /dev/null +++ b/Documentation/devicetree/bindings/phy/spacemit,k3-inno-dp-phy.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/spacemit,k3-inno-dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SpacemiT K3 Innosilicon DisplayPort PHY + +maintainers: + - Cody Kang + +description: + Innosilicon four-lane DisplayPort transmit PHY integrated in the SpacemiT + K3 SoC, one per DisplayPort controller. Its registers are interleaved with + the controller's own inside a single register window, so it is described as + a child of the controller and owns neither a reg nor a reset. + + The PHY provides the pixel clock its PLL generates, which the APMU + pixel-clock mux takes as one of its inputs. + +properties: + compatible: + const: spacemit,k3-inno-dp-phy + + clocks: + items: + - description: 24 MHz reference clock of the link and pixel PLLs. + + "#phy-cells": + const: 0 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + +required: + - compatible + - clocks + - "#phy-cells" + - "#clock-cells" + +additionalProperties: false + +examples: + - | + phy { + compatible = "spacemit,k3-inno-dp-phy"; + clocks = <&vctcxo_24m>; + #phy-cells = <0>; + #clock-cells = <0>; + clock-output-names = "edp0_pll_pxclk"; + }; -- 2.43.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy