From: Detlev Casanova <detlev.casanova@collabora.com>
To: heiko@sntech.de, Andy Yan <andyshrk@163.com>
Cc: krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
Andy Yan <andy.yan@rock-chips.com>
Subject: Re: [PATCH v3 2/3] arm64: dts: rockchip: Add hdmi for rk3576
Date: Tue, 04 Mar 2025 12:17:30 -0500 [thread overview]
Message-ID: <6133294.lOV4Wx5bFT@earth> (raw)
In-Reply-To: <20241231095728.253943-3-andyshrk@163.com>
Hi Andy,
On Tuesday, 31 December 2024 04:57:19 EST Andy Yan wrote:
> From: Andy Yan <andy.yan@rock-chips.com>
>
> Add hdmi and it's phy dt node for rk3576.
>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
>
> (no changes since v1)
>
> arch/arm64/boot/dts/rockchip/rk3576.dtsi | 58 ++++++++++++++++++++++++
> 1 file changed, 58 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3576.dtsi index 130d11a2cc89..b83f421dc11d
> 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> @@ -450,6 +450,11 @@ soc {
> #size-cells = <2>;
> ranges;
>
> + hdptxphy_grf: syscon@26032000 {
> + compatible = "rockchip,rk3576-hdptxphy-grf",
"syscon";
> + reg = <0x0 0x26032000 0x0 0x100>;
> + };
> +
> sys_grf: syscon@2600a000 {
> compatible = "rockchip,rk3576-sys-grf", "syscon";
> reg = <0x0 0x2600a000 0x0 0x2000>;
> @@ -894,6 +899,46 @@ vop_mmu: iommu@27d07e00 {
> status = "disabled";
> };
>
> + hdmi: hdmi@27da0000 {
> + compatible = "rockchip,rk3576-dw-hdmi-qp";
> + reg = <0x0 0x27da0000 0x0 0x20000>;
> + clocks = <&cru PCLK_HDMITX0>,
> + <&cru CLK_HDMITX0_EARC>,
> + <&cru CLK_HDMITX0_REF>,
> + <&cru MCLK_SAI6_8CH>,
> + <&cru CLK_HDMITXHDP>,
> + <&cru HCLK_VO0_ROOT>;
> + clock-names = "pclk", "earc", "ref", "aud", "hdp",
"hclk_vo1";
> + interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "avp", "cec", "earc", "main",
"hpd";
> + phys = <&hdptxphy>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&hdmi_txm0_pins &hdmi_tx_scl
&hdmi_tx_sda>;
> + power-domains = <&power RK3576_PD_VO0>;
> + resets = <&cru SRST_HDMITX0_REF>, <&cru
SRST_HDMITXHDP>;
> + reset-names = "ref", "hdp";
> + rockchip,grf = <&ioc_grf>;
> + rockchip,vo-grf = <&vo0_grf>;
> + status = "disabled";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + hdmi_in: port@0 {
> + reg = <0>;
> + };
> +
> + hdmi_out: port@1 {
> + reg = <1>;
> + };
> + };
> + };
> +
> qos_hdcp1: qos@27f02000 {
> compatible = "rockchip,rk3576-qos", "syscon";
> reg = <0x0 0x27f02000 0x0 0x20>;
> @@ -1655,6 +1700,19 @@ uart11: serial@2afd0000 {
> status = "disabled";
> };
>
> + hdptxphy: hdmiphy@2b000000 {
> + compatible = "rockchip,rk3576-hdptx-phy",
"rockchip,rk3588-hdptx-phy";
> + reg = <0x0 0x2b000000 0x0 0x2000>;
> + clocks = <&cru CLK_PHY_REF_SRC>, <&cru
PCLK_HDPTX_APB>;
> + clock-names = "ref", "apb";
> + resets = <&cru SRST_P_HDPTX_APB>, <&cru
SRST_HDPTX_INIT>,
> + <&cru SRST_HDPTX_CMN>, <&cru
SRST_HDPTX_LANE>;
> + reset-names = "apb", "init", "cmn", "lane";
> + rockchip,grf = <&hdptxphy_grf>;
> + #phy-cells = <0>;
> + status = "disabled";
> + };
> +
> sram: sram@3ff88000 {
> compatible = "mmio-sram";
> reg = <0x0 0x3ff88000 0x0 0x78000>;
This patch needs rebasing over the USB support patches.
Regards,
Detlev.
next prev parent reply other threads:[~2025-03-04 19:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 9:57 [PATCH v3 0/3] Add display subsystem dt node on rk3576 Andy Yan
2024-12-31 9:57 ` [PATCH v3 1/3] arm64: dts: rockchip: Add vop for rk3576 Andy Yan
2025-03-04 17:15 ` Detlev Casanova
2024-12-31 9:57 ` [PATCH v3 2/3] arm64: dts: rockchip: Add hdmi " Andy Yan
2025-03-04 17:17 ` Detlev Casanova [this message]
2024-12-31 9:57 ` [PATCH v3 3/3] arm64: dts: rockchip: Enable hdmi display on sige5 Andy Yan
2024-12-31 12:57 ` [PATCH v3 0/3] Add display subsystem dt node on rk3576 Rob Herring (Arm)
2025-03-04 14:47 ` Sebastian Reichel
2025-03-04 21:16 ` Heiko Stübner
2025-03-05 2:55 ` Andy Yan
2025-03-04 21:14 ` 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=6133294.lOV4Wx5bFT@earth \
--to=detlev.casanova@collabora.com \
--cc=andy.yan@rock-chips.com \
--cc=andyshrk@163.com \
--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=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).