mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Piotr Oniszczuk <piotr.oniszczuk@gmail.com>
To: Jianfeng Liu <liujianfeng1994@gmail.com>
Cc: linux-rockchip@lists.infradead.org,
	Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: rockchip: add hdmi1 support to ROCK 5 ITX
Date: Sun, 16 Feb 2025 13:37:05 +0100	[thread overview]
Message-ID: <566E6F11-765C-4415-8805-55DFD3C2BD4D@gmail.com> (raw)
In-Reply-To: <20250215152550.3975614-1-liujianfeng1994@gmail.com>



> Wiadomość napisana przez Jianfeng Liu <liujianfeng1994@gmail.com> w dniu 15 lut 2025, o godz. 16:25:
> 
> Enable the HDMI port next to ethernet port.
> 
> Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
> ---
> 
> .../boot/dts/rockchip/rk3588-rock-5-itx.dts   | 53 +++++++++++++++++++
> 1 file changed, 53 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
> index 6d68f70284e..a4fdced052c 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
> @@ -11,6 +11,7 @@
> #include <dt-bindings/leds/common.h>
> #include <dt-bindings/pinctrl/rockchip.h>
> #include <dt-bindings/pwm/pwm.h>
> +#include <dt-bindings/soc/rockchip,vop2.h>
> #include "dt-bindings/usb/pd.h"
> #include "rk3588.dtsi"
> 
> @@ -89,6 +90,17 @@ fan0: pwm-fan {
> pwms = <&pwm14 0 10000 0>;
> };
> 
> + hdmi1-con {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi1_con_in: endpoint {
> + remote-endpoint = <&hdmi1_out_con>;
> + };
> + };
> + };
> +
> /* M.2 E-KEY */
> sdio_pwrseq: sdio-pwrseq {
> compatible = "mmc-pwrseq-simple";
> @@ -261,6 +273,32 @@ &gpu {
> status = "okay";
> };
> 
> +&hdmi1 {
> + pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd
> +     &hdmim1_tx1_scl &hdmim1_tx1_sda>;
> + status = "okay";
> +};
> +
> +&hdmi1_in {
> + hdmi1_in_vp1: endpoint {
> + remote-endpoint = <&vp1_out_hdmi1>;
> + };
> +};
> +
> +&hdmi1_out {
> + hdmi1_out_con: endpoint {
> + remote-endpoint = <&hdmi1_con_in>;
> + };
> +};
> +
> +&hdptxphy_hdmi0 {
> + status = "okay";
> +};
> +
> +&hdptxphy1 {
> + status = "okay";
> +};
> +
> &i2c0 {
> pinctrl-names = "default";
> pinctrl-0 = <&i2c0m2_xfer>;
> @@ -1209,3 +1247,18 @@ &usbdp_phy1 {
> rockchip,dp-lane-mux = <2 3>;
> status = "okay";
> };
> +
> +&vop {
> + status = "okay";
> +};
> +
> +&vop_mmu {
> + status = "okay";
> +};
> +
> +&vp1 {
> + vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 {
> + reg = <ROCKCHIP_VOP2_EP_HDMI1>;
> + remote-endpoint = <&hdmi1_in_vp1>;
> + };
> +};
> -- 
> 2.43.0
> 
> 
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip

Jianfeng,

Is there anywhere repo with this patch applied to test it on rock5 itx hw?

(asking as I can’t get it working; even with hdmi1 only vop clocks like here: https://gist.github.com/warpme/49feadbe1f53ea31fca76f41d5bb3ee4)



  parent reply	other threads:[~2025-02-16 12:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15 15:25 Jianfeng Liu
2025-02-15 22:22 ` Sebastian Reichel
2025-02-16  1:08   ` Jianfeng Liu
2025-02-16 12:37 ` Piotr Oniszczuk [this message]
2025-02-16 13:49   ` Jianfeng Liu
2025-02-16 19:53     ` Piotr Oniszczuk
2025-02-17  2:35       ` Jianfeng Liu
2025-02-17  9:48         ` Piotr Oniszczuk
2025-02-17 13:21           ` Jianfeng Liu
2025-02-18 13:20             ` Piotr Oniszczuk

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=566E6F11-765C-4415-8805-55DFD3C2BD4D@gmail.com \
    --to=piotr.oniszczuk@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=liujianfeng1994@gmail.com \
    --cc=robh@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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

all inboxes | Powered by JetHome®