[PATCH v2 15/17] riscv: dts: spacemit: k3-pico-itx: enable the DisplayPort output
Icenowy Zheng
uwu at icenowy.me
Thu Sep 3 05:09:42 PDT 2026
在 2026-08-09日的 21:14 +0800,Cody Kang via B4 Relay写道:
> From: Cody Kang <codykang.hk at gmail.com>
>
> Pico-ITX brings the second DPU's output to an external DisplayPort
> connector. Enable that DPU and the DisplayPort controller it feeds.
The connector available on the Pico-ITX mainboard isn't a DisplayPort
port -- it's a USB Type-C port instead.
I think you need to model the Type-C port and alt functions of it.
Thanks,
Icenowy
>
> Signed-off-by: Cody Kang <codykang.hk at gmail.com>
>
> ---
> 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 b89c1521e6649..6c31460990a75 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"
>
> / {
> @@ -221,3 +222,13 @@ hub at 1 {
> &usb2_phy {
> status = "okay";
> };
> +
> +&dpu1_crtc0 {
> + status = "okay";
> +};
> +
> +&dp1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&dp1_1_cfg>;
> + status = "okay";
> +};
> diff --git a/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
> b/arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi
> index 3ee1471f37985..2f36eba20f1ee 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-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 */
More information about the linux-phy
mailing list