* [PATCH] arm64: dts: rockchip: Enable video output on Station M2
@ 2022-06-27 20:22 Furkan Kardame
2022-09-13 12:10 ` Heiko Stuebner
2022-09-15 13:49 ` Heiko Stuebner
0 siblings, 2 replies; 6+ messages in thread
From: Furkan Kardame @ 2022-06-27 20:22 UTC (permalink / raw)
To: heiko; +Cc: pgwipeout, linux-rockchip, Furkan Kardame
Add the device tree nodes to enable video output on the Station M2.
Enable the GPU and HDMI nodes and fix the GPU regulator range.
Signed-off-by: Furkan Kardame <f.kardame@manjaro.org>
---
.../arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 52 +++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
index 57759b66d..dba648c2f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
+#include <dt-bindings/soc/rockchip,vop2.h>
#include "rk3566.dtsi"
/ {
@@ -27,6 +28,17 @@ gmac1_clkin: external-gmac1-clock {
#clock-cells = <0>;
};
+ hdmi-con {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+
leds {
compatible = "gpio-leds";
@@ -149,6 +161,29 @@ &gmac1m0_clkinout
status = "okay";
};
+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
+&hdmi {
+ avdd-0v9-supply = <&vdda0v9_image>;
+ avdd-1v8-supply = <&vcca1v8_image>;
+ status = "okay";
+};
+
+&hdmi_in {
+ hdmi_in_vp0: endpoint {
+ remote-endpoint = <&vp0_out_hdmi>;
+ };
+};
+
+&hdmi_out {
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+};
+
&i2c0 {
status = "okay";
@@ -577,3 +612,20 @@ &usb_host0_ehci {
&usb_host0_ohci {
status = "okay";
};
+
+&vop {
+ assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
+ assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
+ status = "okay";
+};
+
+&vop_mmu {
+ status = "okay";
+};
+
+&vp0 {
+ vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
+ reg = <ROCKCHIP_VOP2_EP_HDMI0>;
+ remote-endpoint = <&hdmi_in_vp0>;
+ };
+};
--
2.36.1
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable video output on Station M2
2022-06-27 20:22 [PATCH] arm64: dts: rockchip: Enable video output on Station M2 Furkan Kardame
@ 2022-09-13 12:10 ` Heiko Stuebner
2022-09-13 12:18 ` Furkan Kardame
2022-09-13 13:26 ` Vincent Legoll
2022-09-15 13:49 ` Heiko Stuebner
1 sibling, 2 replies; 6+ messages in thread
From: Heiko Stuebner @ 2022-09-13 12:10 UTC (permalink / raw)
To: Furkan Kardame; +Cc: pgwipeout, linux-rockchip, Furkan Kardame
Hi,
Am Montag, 27. Juni 2022, 22:22:08 CEST schrieb Furkan Kardame:
> Add the device tree nodes to enable video output on the Station M2.
what is this "Station M2". You're changing the rk3566-roc-pc device,
which I think is "just" an SBC?
Does the rk3566-roc-pc in general have a hdmi port as well?
Heiko
> Enable the GPU and HDMI nodes and fix the GPU regulator range.
>
> Signed-off-by: Furkan Kardame <f.kardame@manjaro.org>
> ---
> .../arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 52 +++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> index 57759b66d..dba648c2f 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> @@ -4,6 +4,7 @@
>
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/pinctrl/rockchip.h>
> +#include <dt-bindings/soc/rockchip,vop2.h>
> #include "rk3566.dtsi"
>
> / {
> @@ -27,6 +28,17 @@ gmac1_clkin: external-gmac1-clock {
> #clock-cells = <0>;
> };
>
> + hdmi-con {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <&hdmi_out_con>;
> + };
> + };
> + };
> +
> leds {
> compatible = "gpio-leds";
>
> @@ -149,6 +161,29 @@ &gmac1m0_clkinout
> status = "okay";
> };
>
> +&gpu {
> + mali-supply = <&vdd_gpu>;
> + status = "okay";
> +};
> +
> +&hdmi {
> + avdd-0v9-supply = <&vdda0v9_image>;
> + avdd-1v8-supply = <&vcca1v8_image>;
> + status = "okay";
> +};
> +
> +&hdmi_in {
> + hdmi_in_vp0: endpoint {
> + remote-endpoint = <&vp0_out_hdmi>;
> + };
> +};
> +
> +&hdmi_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <&hdmi_con_in>;
> + };
> +};
> +
> &i2c0 {
> status = "okay";
>
> @@ -577,3 +612,20 @@ &usb_host0_ehci {
> &usb_host0_ohci {
> status = "okay";
> };
> +
> +&vop {
> + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
> + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
> + status = "okay";
> +};
> +
> +&vop_mmu {
> + status = "okay";
> +};
> +
> +&vp0 {
> + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
> + reg = <ROCKCHIP_VOP2_EP_HDMI0>;
> + remote-endpoint = <&hdmi_in_vp0>;
> + };
> +};
>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable video output on Station M2
2022-09-13 12:10 ` Heiko Stuebner
@ 2022-09-13 12:18 ` Furkan Kardame
2022-09-13 13:26 ` Vincent Legoll
1 sibling, 0 replies; 6+ messages in thread
From: Furkan Kardame @ 2022-09-13 12:18 UTC (permalink / raw)
To: Heiko Stuebner; +Cc: pgwipeout, linux-rockchip
Hello
On Tuesday 13 September 2022 15:10:25 (+03:00), Heiko Stuebner wrote:
> Hi,
>
> Am Montag, 27. Juni 2022, 22:22:08 CEST schrieb Furkan Kardame:
> > Add the device tree nodes to enable video output on the Station M2.
>
> what is this "Station M2". You're changing the rk3566-roc-pc device,
> which I think is "just" an SBC?
Station M2 is the same SBC with a case on. Station M2 Link:
https://www.firefly.store/goods.php?id=142
Rk3566-roc-pc is the barebone sbc without the casing. :
https://en.t-firefly.com/product/industry/rocrk3566pc.html
>
> Does the rk3566-roc-pc in general have a hdmi port as well?
Yes it have hdmi port.
>
>
> Heiko
>
> > Enable the GPU and HDMI nodes and fix the GPU regulator range.
> >
> > Signed-off-by: Furkan Kardame <f.kardame@manjaro.org>
> > ---
> > .../arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 52 +++++++++++++++++++
> > 1 file changed, 52 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> > index 57759b66d..dba648c2f 100644
> > --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> > +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts
> > @@ -4,6 +4,7 @@
> >
> > #include <dt-bindings/gpio/gpio.h>
> > #include <dt-bindings/pinctrl/rockchip.h>
> > +#include <dt-bindings/soc/rockchip,vop2.h>
> > #include "rk3566.dtsi"
> >
> > / {
> > @@ -27,6 +28,17 @@ gmac1_clkin: external-gmac1-clock {
> > #clock-cells = <0>;
> > };
> >
> > + hdmi-con {
> > + compatible = "hdmi-connector";
> > + type = "a";
> > +
> > + port {
> > + hdmi_con_in: endpoint {
> > + remote-endpoint = <&hdmi_out_con>;
> > + };
> > + };
> > + };
> > +
> > leds {
> > compatible = "gpio-leds";
> >
> > @@ -149,6 +161,29 @@ &gmac1m0_clkinout
> > status = "okay";
> > };
> >
> > +&gpu {
> > + mali-supply = <&vdd_gpu>;
> > + status = "okay";
> > +};
> > +
> > +&hdmi {
> > + avdd-0v9-supply = <&vdda0v9_image>;
> > + avdd-1v8-supply = <&vcca1v8_image>;
> > + status = "okay";
> > +};
> > +
> > +&hdmi_in {
> > + hdmi_in_vp0: endpoint {
> > + remote-endpoint = <&vp0_out_hdmi>;
> > + };
> > +};
> > +
> > +&hdmi_out {
> > + hdmi_out_con: endpoint {
> > + remote-endpoint = <&hdmi_con_in>;
> > + };
> > +};
> > +
> > &i2c0 {
> > status = "okay";
> >
> > @@ -577,3 +612,20 @@ &usb_host0_ehci {
> > &usb_host0_ohci {
> > status = "okay";
> > };
> > +
> > +&vop {
> > + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
> > + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
> > + status = "okay";
> > +};
> > +
> > +&vop_mmu {
> > + status = "okay";
> > +};
> > +
> > +&vp0 {
> > + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
> > + reg = <ROCKCHIP_VOP2_EP_HDMI0>;
> > + remote-endpoint = <&hdmi_in_vp0>;
> > + };
> > +};
> >
>
>
>
>
>
--
--
With best regards
Furkan Kardame
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable video output on Station M2
2022-09-13 12:10 ` Heiko Stuebner
2022-09-13 12:18 ` Furkan Kardame
@ 2022-09-13 13:26 ` Vincent Legoll
2022-09-13 13:28 ` Furkan Kardame
1 sibling, 1 reply; 6+ messages in thread
From: Vincent Legoll @ 2022-09-13 13:26 UTC (permalink / raw)
To: Heiko Stuebner; +Cc: Furkan Kardame, pgwipeout, linux-rockchip
Hello
On Tue, Sep 13, 2022 at 2:10 PM Heiko Stuebner <heiko@sntech.de> wrote:
> what is this "Station M2". You're changing the rk3566-roc-pc device,
> which I think is "just" an SBC?
I suppose this is it:
https://www.firefly.store/goods.php?id=142
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable video output on Station M2
2022-09-13 13:26 ` Vincent Legoll
@ 2022-09-13 13:28 ` Furkan Kardame
0 siblings, 0 replies; 6+ messages in thread
From: Furkan Kardame @ 2022-09-13 13:28 UTC (permalink / raw)
To: Vincent Legoll, Heiko Stuebner; +Cc: pgwipeout, linux-rockchip
Hello
On Tuesday 13 September 2022 16:26:11 (+03:00), Vincent Legoll wrote:
> Hello
>
> On Tue, Sep 13, 2022 at 2:10 PM Heiko Stuebner <heiko@sntech.de> wrote:
> > what is this "Station M2". You're changing the rk3566-roc-pc device,
> > which I think is "just" an SBC?
>
> I suppose this is it:
> https://www.firefly.store/goods.php?id=142
>
yes this is Station M2 = rk3566-roc-pc (Without case)
--
--
With best regards
Furkan Kardame
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable video output on Station M2
2022-06-27 20:22 [PATCH] arm64: dts: rockchip: Enable video output on Station M2 Furkan Kardame
2022-09-13 12:10 ` Heiko Stuebner
@ 2022-09-15 13:49 ` Heiko Stuebner
1 sibling, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2022-09-15 13:49 UTC (permalink / raw)
To: Furkan Kardame; +Cc: Heiko Stuebner, pgwipeout, linux-rockchip
On Mon, 27 Jun 2022 23:22:08 +0300, Furkan Kardame wrote:
> Add the device tree nodes to enable video output on the Station M2.
> Enable the GPU and HDMI nodes and fix the GPU regulator range.
Applied, thanks!
[1/1] arm64: dts: rockchip: Enable video output on Station M2
commit: 0209861877531ae0744552f3fd0531303d665b52
I have changed the device name in the patch subject to rk3566-roc-pc
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-15 13:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27 20:22 [PATCH] arm64: dts: rockchip: Enable video output on Station M2 Furkan Kardame
2022-09-13 12:10 ` Heiko Stuebner
2022-09-13 12:18 ` Furkan Kardame
2022-09-13 13:26 ` Vincent Legoll
2022-09-13 13:28 ` Furkan Kardame
2022-09-15 13:49 ` Heiko Stuebner
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.