From: Jacob Chen <jacob-chen@iotwrt.com> To: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, heiko@sntech.de, Yakir Yang <ykk@rock-chips.com>, Caesar Wang <wxt@rock-chips.com>, Jacob Chen <jacob-chen@iotwrt.com> Subject: [PATCH v2 3/5] arm64: dts: rockchip: add rk3399 edp nodes Date: Mon, 17 Jul 2017 22:16:57 +0800 [thread overview] Message-ID: <1500301019-9960-4-git-send-email-jacob-chen@iotwrt.com> (raw) In-Reply-To: <1500301019-9960-1-git-send-email-jacob-chen@iotwrt.com> From: Yakir Yang <ykk@rock-chips.com> Add an edp node, and also add edp endpoints to vopb and vopl output port nodes. Signed-off-by: Yakir Yang <ykk@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index e0285f8..c0371af 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1474,6 +1474,12 @@ vopl_out: port { #address-cells = <1>; #size-cells = <0>; + + vopl_out_edp: endpoint@1 { + reg = <1>; + remote-endpoint = <&edp_in_vopl>; + }; + }; }; @@ -1504,6 +1510,12 @@ vopb_out: port { #address-cells = <1>; #size-cells = <0>; + + vopb_out_edp: endpoint@0 { + reg = <0>; + remote-endpoint = <&edp_in_vopb>; + }; + }; }; @@ -1519,6 +1531,42 @@ status = "disabled"; }; + edp: edp@ff970000 { + compatible = "rockchip,rk3399-edp"; + reg = <0x0 0xff970000 0x0 0x8000>; + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>; + clock-names = "dp", "pclk"; + power-domains = <&power RK3399_PD_EDP>; + resets = <&cru SRST_P_EDP_CTRL>; + reset-names = "dp"; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&edp_hpd>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + edp_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + edp_in_vopb: endpoint@0 { + reg = <0>; + remote-endpoint = <&vopb_out_edp>; + }; + + edp_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_edp>; + }; + }; + }; + }; + display-subsystem { compatible = "rockchip,display-subsystem"; ports = <&vopl_out>, <&vopb_out>; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: jacob-chen@iotwrt.com (Jacob Chen) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/5] arm64: dts: rockchip: add rk3399 edp nodes Date: Mon, 17 Jul 2017 22:16:57 +0800 [thread overview] Message-ID: <1500301019-9960-4-git-send-email-jacob-chen@iotwrt.com> (raw) In-Reply-To: <1500301019-9960-1-git-send-email-jacob-chen@iotwrt.com> From: Yakir Yang <ykk@rock-chips.com> Add an edp node, and also add edp endpoints to vopb and vopl output port nodes. Signed-off-by: Yakir Yang <ykk@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index e0285f8..c0371af 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1474,6 +1474,12 @@ vopl_out: port { #address-cells = <1>; #size-cells = <0>; + + vopl_out_edp: endpoint at 1 { + reg = <1>; + remote-endpoint = <&edp_in_vopl>; + }; + }; }; @@ -1504,6 +1510,12 @@ vopb_out: port { #address-cells = <1>; #size-cells = <0>; + + vopb_out_edp: endpoint at 0 { + reg = <0>; + remote-endpoint = <&edp_in_vopb>; + }; + }; }; @@ -1519,6 +1531,42 @@ status = "disabled"; }; + edp: edp at ff970000 { + compatible = "rockchip,rk3399-edp"; + reg = <0x0 0xff970000 0x0 0x8000>; + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>; + clock-names = "dp", "pclk"; + power-domains = <&power RK3399_PD_EDP>; + resets = <&cru SRST_P_EDP_CTRL>; + reset-names = "dp"; + rockchip,grf = <&grf>; + pinctrl-names = "default"; + pinctrl-0 = <&edp_hpd>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + edp_in: port at 0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + edp_in_vopb: endpoint at 0 { + reg = <0>; + remote-endpoint = <&vopb_out_edp>; + }; + + edp_in_vopl: endpoint at 1 { + reg = <1>; + remote-endpoint = <&vopl_out_edp>; + }; + }; + }; + }; + display-subsystem { compatible = "rockchip,display-subsystem"; ports = <&vopl_out>, <&vopb_out>; -- 2.7.4
next prev parent reply other threads:[~2017-07-17 14:17 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-07-17 14:16 [PATCH v2 0/5] arm64: dts: add rk3399 display-related nodes Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-07-17 14:16 ` [PATCH v2 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-08-06 13:45 ` Heiko Stuebner 2017-08-06 13:45 ` Heiko Stuebner 2017-07-17 14:16 ` [PATCH v2 2/5] arm64: dts: rockchip: add pd_edp node for rk3399 Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-08-06 13:45 ` Heiko Stuebner 2017-08-06 13:45 ` Heiko Stuebner 2017-08-06 13:45 ` Heiko Stuebner 2017-07-17 14:16 ` Jacob Chen [this message] 2017-07-17 14:16 ` [PATCH v2 3/5] arm64: dts: rockchip: add rk3399 edp nodes Jacob Chen 2017-08-06 13:53 ` Heiko Stuebner 2017-08-06 13:53 ` Heiko Stuebner 2017-08-06 13:53 ` Heiko Stuebner 2017-07-17 14:16 ` [PATCH v2 4/5] arm64: dts: rockchip: add rk3399 mipi nodes Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-08-06 13:55 ` Heiko Stuebner 2017-08-06 13:55 ` Heiko Stuebner 2017-08-06 13:55 ` Heiko Stuebner 2017-07-17 14:16 ` [PATCH v2 5/5] arm64: dts: rockchip: add rk3399 hdmi nodes Jacob Chen 2017-07-17 14:16 ` Jacob Chen 2017-08-06 14:04 ` Heiko Stuebner 2017-08-06 14:04 ` 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=1500301019-9960-4-git-send-email-jacob-chen@iotwrt.com \ --to=jacob-chen@iotwrt.com \ --cc=devicetree@vger.kernel.org \ --cc=heiko@sntech.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=wxt@rock-chips.com \ --cc=ykk@rock-chips.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: linkBe 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.