From: Cody Kang via B4 Relay <devnull+codykang.hk.gmail.com@kernel.org>
To: "David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Yixun Lan" <dlan@kernel.org>,
"Troy Mitchell" <troy.mitchell@linux.spacemit.com>,
"Vinod Koul" <vkoul@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
"Haylen Chu" <heylenay@4d2.org>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Brian Masney" <bmasney+clk@redhat.com>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>, "Yao Zi" <me@ziyao.cc>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Guodong Xu" <docular.xu@gmail.com>,
"Icenowy Zheng" <uwu@icenowy.me>,
"Jerome Brunet" <jbrunet+clk@baylibre.com>,
"Sarah Emery" <sarah.emery@canonical.com>,
"Ze Huang" <ze.huang@oss.qualcomm.com>,
"Dmitry Baryshkov" <lumag@kernel.org>
Cc: Cody Kang <codykang@vsit.ai>, James Morris <jmorris@namei.org>,
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
Subject: [PATCH v4 14/16] riscv: dts: spacemit: k3-pico-itx: enable the DisplayPort output
Date: Sun, 29 Nov 2026 20:32:26 +0800 [thread overview]
Message-ID: <20261129-k3-display-v4-14-ce6cf7988202@gmail.com> (raw)
In-Reply-To: <20261129-k3-display-v4-0-ce6cf7988202@gmail.com>
From: Cody Kang <codykang@vsit.ai>
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 <codykang@vsit.ai>
---
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 <dt-bindings/gpio/gpio.h>
#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 = <K3_PADCONF(24, 6)>; /* dp1 hpd */
+
+ bias-disable;
+ drive-strength = <25>;
+ power-source = <3300>;
+ };
+ };
+
gmac0_rgmii_0_cfg: gmac0-rgmii-0-cfg {
gmac0-rgmii-0-pins {
pinmux = <K3_PADCONF(0, 1)>, /* gmac0_rxdv */
--
2.43.0
next prev parent reply other threads:[~2026-11-29 12:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 12:32 [PATCH v4 00/16] drm/spacemit: add SpacemiT K3 display support Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 01/16] dt-bindings: display: spacemit: add K3 Saturn DPU controller Cody Kang via B4 Relay
2026-11-29 12:36 ` sashiko-bot
2026-11-29 12:32 ` [PATCH v4 02/16] dt-bindings: phy: add SpacemiT K3 Innosilicon DP PHY Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 03/16] dt-bindings: display: spacemit: add K3 Innosilicon DP/eDP controller Cody Kang via B4 Relay
2026-11-29 12:38 ` sashiko-bot
2026-11-29 12:32 ` [PATCH v4 04/16] dt-bindings: soc: spacemit: allow eDP/DP PHY PLL pixel clocks on K3 APMU Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 05/16] phy: spacemit: add Innosilicon DP TX PHY driver Cody Kang via B4 Relay
2026-11-29 12:48 ` sashiko-bot
2026-11-29 12:32 ` [PATCH v4 06/16] drm/spacemit: add Saturn DPU register model Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 07/16] drm/spacemit: add Saturn DPU core types, cmdlist and display MMU Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 08/16] drm/spacemit: add Saturn DPU hardware backend Cody Kang via B4 Relay
2026-11-29 12:49 ` sashiko-bot
2026-11-29 12:32 ` [PATCH v4 09/16] drm/spacemit: add Saturn DPU KMS pipeline Cody Kang via B4 Relay
2026-11-29 12:54 ` sashiko-bot
2026-11-29 12:32 ` [PATCH v4 10/16] drm/spacemit: add Saturn DPU DRM device driver Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 11/16] drm/spacemit: add Innosilicon DP/eDP controller bridge driver Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 12/16] MAINTAINERS: add SpacemiT K3 display driver entry Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 13/16] riscv: dts: spacemit: k3: add display nodes Cody Kang via B4 Relay
2026-11-29 12:48 ` sashiko-bot
2026-11-29 12:32 ` Cody Kang via B4 Relay [this message]
2026-11-29 12:32 ` [PATCH v4 15/16] riscv: dts: spacemit: k3-com260-ifx: enable the DisplayPort output Cody Kang via B4 Relay
2026-11-29 12:32 ` [PATCH v4 16/16] riscv: defconfig: spacemit: k3: enable display driver Cody Kang via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129-k3-display-v4-14-ce6cf7988202@gmail.com \
--to=devnull+codykang.hk.gmail.com@kernel.org \
--cc=airlied@gmail.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=bmasney+clk@redhat.com \
--cc=codykang.hk@gmail.com \
--cc=codykang@vsit.ai \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=docular.xu@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=heylenay@4d2.org \
--cc=jbrunet+clk@baylibre.com \
--cc=jmorris@namei.org \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-riscv@lists.infradead.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mani@kernel.org \
--cc=me@ziyao.cc \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=sarah.emery@canonical.com \
--cc=sboyd@kernel.org \
--cc=simona@ffwll.ch \
--cc=spacemit@lists.linux.dev \
--cc=troy.mitchell@linux.spacemit.com \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=uwu@icenowy.me \
--cc=vkoul@kernel.org \
--cc=ze.huang@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox