All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: robh@kernel.org, WeiHao Li <cn.liweihao@gmail.com>
Cc: hjc@rock-chips.com, andy.yan@rock-chips.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-clk@vger.kernel.org,
	WeiHao Li <cn.liweihao@gmail.com>
Subject: Re: [PATCH v1 6/7] ARM: dts: rockchip: Add D-PHY for RK3368
Date: Sun, 31 Aug 2025 17:06:24 +0200	[thread overview]
Message-ID: <8571992.T7Z3S40VBb@diego> (raw)
In-Reply-To: <20250831104855.45883-7-cn.liweihao@gmail.com>

Am Sonntag, 31. August 2025, 12:48:54 Mitteleuropäische Sommerzeit schrieb WeiHao Li:
> RK3368 has a InnoSilicon D-PHY which supports DSI/LVDS/TTL with maximum
> trasnfer rate of 1 Gbps per lane.
> 
> Signed-off-by: WeiHao Li <cn.liweihao@gmail.com>
> ---
>  arch/arm64/boot/dts/rockchip/rk3368.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> index 0e47bf59a..674a3676d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> @@ -884,6 +884,20 @@ display_subsystem: display-subsystem {
>  		status = "disabled";
>  	};
>  
> +	video_phy: video-phy@ff968000 {

I think the node should be something like
dsi_dphy: phy@ff968000


> +		compatible = "rockchip,rk3368-dsi-dphy";
> +		reg = <0x0 0xff968000 0x0 0x4000>,
> +		      <0x0 0xff960000 0x0 0x4000>;
> +		clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_DPHYTX0>,
> +			 <&cru PCLK_MIPI_DSI0>;
> +		clock-names = "ref", "pclk", "pclk_host";
> +		#clock-cells = <0>;
> +		resets = <&cru SRST_MIPIDPHYTX>;
> +		reset-names = "apb";
> +		#phy-cells = <0>;
> +		status = "disabled";
> +	};
> +
>  	hevc_mmu: iommu@ff9a0440 {
>  		compatible = "rockchip,iommu";
>  		reg = <0x0 0xff9a0440 0x0 0x40>,
> 






WARNING: multiple messages have this Message-ID (diff)
From: "Heiko Stübner" <heiko@sntech.de>
To: robh@kernel.org, WeiHao Li <cn.liweihao@gmail.com>
Cc: hjc@rock-chips.com, andy.yan@rock-chips.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-clk@vger.kernel.org,
	WeiHao Li <cn.liweihao@gmail.com>
Subject: Re: [PATCH v1 6/7] ARM: dts: rockchip: Add D-PHY for RK3368
Date: Sun, 31 Aug 2025 17:06:24 +0200	[thread overview]
Message-ID: <8571992.T7Z3S40VBb@diego> (raw)
In-Reply-To: <20250831104855.45883-7-cn.liweihao@gmail.com>

Am Sonntag, 31. August 2025, 12:48:54 Mitteleuropäische Sommerzeit schrieb WeiHao Li:
> RK3368 has a InnoSilicon D-PHY which supports DSI/LVDS/TTL with maximum
> trasnfer rate of 1 Gbps per lane.
> 
> Signed-off-by: WeiHao Li <cn.liweihao@gmail.com>
> ---
>  arch/arm64/boot/dts/rockchip/rk3368.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> index 0e47bf59a..674a3676d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
> @@ -884,6 +884,20 @@ display_subsystem: display-subsystem {
>  		status = "disabled";
>  	};
>  
> +	video_phy: video-phy@ff968000 {

I think the node should be something like
dsi_dphy: phy@ff968000


> +		compatible = "rockchip,rk3368-dsi-dphy";
> +		reg = <0x0 0xff968000 0x0 0x4000>,
> +		      <0x0 0xff960000 0x0 0x4000>;
> +		clocks = <&cru SCLK_MIPIDSI_24M>, <&cru PCLK_DPHYTX0>,
> +			 <&cru PCLK_MIPI_DSI0>;
> +		clock-names = "ref", "pclk", "pclk_host";
> +		#clock-cells = <0>;
> +		resets = <&cru SRST_MIPIDPHYTX>;
> +		reset-names = "apb";
> +		#phy-cells = <0>;
> +		status = "disabled";
> +	};
> +
>  	hevc_mmu: iommu@ff9a0440 {
>  		compatible = "rockchip,iommu";
>  		reg = <0x0 0xff9a0440 0x0 0x40>,
> 





_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2025-08-31 15:10 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-31 10:48 [PATCH v1 0/7] drm/rockchip: Add MIPI DSI support for RK3368 WeiHao Li
2025-08-31 10:48 ` WeiHao Li
2025-08-31 10:48 ` [PATCH v1 1/7] drm/rockchip: dsi: Add " WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-09-03 12:07   ` Heiko Stuebner
2025-09-03 12:07     ` Heiko Stuebner
2025-09-03 13:37     ` 李维豪
2025-09-03 13:37       ` 李维豪
2025-08-31 10:48 ` [PATCH v1 2/7] drm/rockchip: vop: add lut_size for RK3368 vop_data WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-09-03 12:16   ` Heiko Stuebner
2025-09-03 12:16     ` Heiko Stuebner
2025-08-31 10:48 ` [PATCH v1 3/7] dt-bindings: clock: rk3368: Add SCLK_MIPIDSI_24M WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-08-31 15:00   ` Heiko Stübner
2025-08-31 15:00     ` Heiko Stübner
2025-09-01  0:17     ` 李维豪
2025-09-01  0:17       ` 李维豪
2025-09-02  6:49       ` Heiko Stuebner
2025-09-02  6:49         ` Heiko Stuebner
2025-09-03 13:22         ` 李维豪
2025-09-03 13:22           ` 李维豪
2025-09-01 21:32   ` Rob Herring (Arm)
2025-09-01 21:32     ` Rob Herring (Arm)
2025-08-31 10:48 ` [PATCH v1 4/7] clk: rockchip: use clock ids for SCLK_MIPIDSI_24M on rk3368 WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-08-31 10:48 ` [PATCH v1 5/7] ARM: dts: rockchip: Add display subsystem for RK3368 WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-08-31 15:04   ` Heiko Stübner
2025-08-31 15:04     ` Heiko Stübner
2025-09-01  0:20     ` 李维豪
2025-09-01  0:20       ` 李维豪
2025-08-31 10:48 ` [PATCH v1 6/7] ARM: dts: rockchip: Add D-PHY " WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-08-31 15:06   ` Heiko Stübner [this message]
2025-08-31 15:06     ` Heiko Stübner
2025-09-01  0:33     ` 李维豪
2025-09-01  0:33       ` 李维豪
2025-08-31 10:48 ` [PATCH v1 7/7] ARM: dts: rockchip: Add DSI " WeiHao Li
2025-08-31 10:48   ` WeiHao Li
2025-08-31 15:09 ` [PATCH v1 0/7] drm/rockchip: Add MIPI DSI support " Heiko Stübner
2025-08-31 15:09   ` Heiko Stübner
2025-09-01  0:46   ` 李维豪
2025-09-01  0:46     ` 李维豪
2025-09-02 13:17 ` Rob Herring (Arm)
2025-09-02 13:17   ` Rob Herring (Arm)
2025-09-03 12:19 ` (subset) " Heiko Stuebner
2025-09-03 12:19   ` Heiko Stuebner

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=8571992.T7Z3S40VBb@diego \
    --to=heiko@sntech.de \
    --cc=andy.yan@rock-chips.com \
    --cc=cn.liweihao@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hjc@rock-chips.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.