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 3BCC0606A6B6 for ; Sun, 29 Nov 2026 12:33:02 +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=Jo9iMrG2; 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=JWp4qIk1 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=Vbiqcplp/5jSO1BR4jhzwMFTg170UCKbS37pP0ImZNc=; b=Jo9iMrG2ZT5euinNeohW6vSXrU v8eWr8e5yHtY7V/SuoaEhYy9H7QLpsODYIfEWvqB3p9DDrxNIPO4qzNSA8yKFglFEIXbuP/ygLRcS BK2c4v7Uojsu6oTrwIfonAtmtaoxQPbDAqZk9Ee2nfXD93e/mx9f0yzlkcZ9hXWs8a1kuxXPx5Knq jfLoxpANfwPfgQ7gDQvlc71DW5iCoKBVV1UyG7Za649YShWYOvEAQ7oIu40wE3gN9L4wTs6N+nTXl KA/0xXpHej0EQ8At0j3JERdRs8PX4iJ2n2cd1lB0efwXPYqTCzsSxoLY2qwlhK27sppqvCzo+tB7R Jvt0moYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXe5V-00000001xjv-3xzw; Sun, 29 Nov 2026 12:33:01 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXe5P-00000001xaw-084y; Sun, 29 Nov 2026 12:32:57 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id C3AF740C02; Sun, 29 Nov 2026 12:32:54 +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=1795955574; b=T9+QSfCHST+kNXfOu4V5U8nndYcWmnICUinJNROdC36F8qQICiyKYEsXnvo2lgEl1iVR +TgHO4xiAzVqHoRv1MoAbO0S4OsR/HoMEiCWt2DZWP74Jdq8BJaBhT+2bGXRvuz5wGy3p md5kAfq+a1oHsl636wRXQhReVSMn/2KFalR178DAAaNs90jOU1oPG5cx47BecP/prZqvv cUGXkPNSWo3l0TlgHTERN2gt9TcXQNJSzYBQkk2MqmUWiOorSGhuczPDIiuqIX7a2Cqx/ hbcJIZdBBoDR9gnxdNi/K+tiN0xXpmH4NP/zw/Qg+sQz/lLp1PSPpeL3DZp+GwmAq3A== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1795955574; 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=107069gqMKSgbM6B9Fsqe/jWgsBDx0b5IFQyEGcWY88=; b=fxdyRqhspq4pf/SC0j5/nQ01Hj/5xpHMsJzYgJMnLQ1Hk+k/vzB6qlt0ajjI8ePnMXQf a3iWgFes/AFxOpRy1dX4/W8reMdNDvKcxIwbLqKWr9HUYSbH5sojnA5KPT4pwlHr1O1D4 KkyUZy8g8DMWuV5hxRjTI9wlydL/eyhARX1WEhaFuSCtLcapuEZIcwbYzhdqMJu/xrueA frQo1xdIfwJHZaZdGoudQ/Z+G5SC7c4Pm//Q+pmUlomZNu32m3Yur32ED4T5RB8hUNmTa a3yShpOUcf6VrhseKQLeA9/tNfxRKaLDPYlwQHcyLYK1vZXafFyfD1BtFbsSB8b/QEw== 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 0F21E1F00897; Sun, 29 Nov 2026 12:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795955574; bh=107069gqMKSgbM6B9Fsqe/jWgsBDx0b5IFQyEGcWY88=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=JWp4qIk1KqbLIKOzUxbJVz1nztmtQ+OEW0pD0WKS2AAwEJOVwGqar0J3pNFM6eNMt edf2L9UgAFQ0Cx4BHwqofsr2fywVgoh0nYrnYdCiAu5taP7q85Zp1JMph8byTwhk6w Lp7W7XVkNPz0wUGNSABfpGQ4KEmmpY4WRQmPW9ueeAP+xTRghwVTELci8hVZn0/yVK TWfmgrIhgIpy+QuKyxe3pOsBl6W+z/WtqSMXgH4cScX3Ff0pnpI5td1S9gH25PynAs JqcNOWWnv32/E74b9F5+adVSmeBLKSo32C7HjW8n2H9tCEsJIIpW5aErcsLmdw91Xr lY1QlWwP6iA0g== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 5CC494E4B9; Sun, 29 Nov 2026 12:32:31 +0000 (UTC) From: Cody Kang via B4 Relay Date: Sun, 29 Nov 2026 20:32:26 +0800 Subject: [PATCH v4 14/16] riscv: dts: spacemit: k3-pico-itx: enable the DisplayPort output X-Archived-By: MIME-Version: 1.0 Message-Id: <20261129-k3-display-v4-14-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=2172; i=codykang.hk@gmail.com; s=codykang; h=from:subject:message-id; bh=pgsMxWqCbTWfHSTUaQy95LeYWORQU+tAnM5iy8Ksy20=; b=ZNna+HoS4/1zlJG595PmNWNeRU8wD9VQvVyjFxnS0WSSjNvZXc0PwS54uY87V8yUL42zKqveo RuWWbUwnSR9Cdx+JnfLuFz6OMKOk8rUYJUn/siyLi3h8Sq2EwPXh4S2 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 Pico-ITX brings the second DPU's output to a USB Type-C receptacle, as DisplayPort alternate mode. The mux and the PD controller in front of the receptacle are run by the on-board EC and the SoC only gets the HPD line back, so there is no connector node to link the output to. Enable that DPU and the DisplayPort controller it feeds. Signed-off-by: Cody Kang --- v4: - sort the DisplayPort overrides into the file; name the pin group child after its group v3: - commit message: the output is the Type-C receptacle's DP alternate mode, not a DisplayPort connector (Icenowy Zheng) v2: - no change --- arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 11 +++++++++++ arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts index dda420900aa2c..b32bd23c86ddb 100644 --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts @@ -6,6 +6,7 @@ #include #include "k3.dtsi" +#include "k3-display.dtsi" #include "k3-pinctrl.dtsi" / { @@ -239,6 +240,16 @@ &combophy { status = "okay"; }; +&dp1 { + pinctrl-names = "default"; + pinctrl-0 = <&dp1_1_cfg>; + status = "okay"; +}; + +&dpu1_crtc0 { + status = "okay"; +}; + ð0 { pinctrl-names = "default"; pinctrl-0 = <&gmac0_rgmii_0_cfg>, <&gmac0_phy_0_cfg>; diff --git a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi index cb4f4f4e33aff..7a3b357dd9537 100644 --- a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi @@ -11,6 +11,17 @@ #define K3_GPIO(x) (x / 32) (x % 32) &pinctrl { + /omit-if-no-ref/ + dp1_1_cfg: dp1-1-cfg { + dp1-1-pins { + pinmux = ; /* dp1 hpd */ + + bias-disable; + drive-strength = <25>; + power-source = <3300>; + }; + }; + gmac0_rgmii_0_cfg: gmac0-rgmii-0-cfg { gmac0-rgmii-0-pins { pinmux = , /* gmac0_rxdv */ -- 2.43.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy