From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: Robin Murphy <robin.murphy-5wv7dgnIgG8@public.gmane.org>
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 2/3] arm64: dts: rockchip: add rk3328 display nodes
Date: Tue, 20 Feb 2018 23:08:37 +0100 [thread overview]
Message-ID: <2712253.IuLOJ454Fc@phil> (raw)
In-Reply-To: <d2195e38-7ca1-e0b3-240e-0acfe941c572-5wv7dgnIgG8@public.gmane.org>
Hi Robin,
Am Dienstag, 20. Februar 2018, 14:14:31 CET schrieb Robin Murphy:
> On 16/02/18 22:38, Heiko Stuebner wrote:
> > Add the chain of display nodes from the core display-subsystem
> > through the one vop to the dw-hdmi output.
> >
> > Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
> > ---
> > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 56 ++++++++++++++++++++++++++++++++
> > 1 file changed, 56 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > index 1615effcc191..65b7d460a044 100644
> > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > @@ -185,6 +185,11 @@
> > interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> > };
> >
> > + display_subsystem: display-subsystem {
> > + compatible = "rockchip,display-subsystem";
> > + ports = <&vop_out>;
> > + };
> > +
> > psci {
> > compatible = "arm,psci-1.0", "arm,psci-0.2";
> > method = "smc";
> > @@ -626,6 +631,28 @@
> > status = "disabled";
> > };
> >
> > + vop: vop@ff370000 {
> > + compatible = "rockchip,rk3328-vop";
> > + reg = <0x0 0xff370000 0x0 0x3efc>;
> > + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
>
> Another of those rogue trailing zero cells has snuck in here.
Oh great.
Either they are missing when needed or trailing when not needed :-) .
> <digression>
> Unfortunately, even having learned the difference between drm-next and
> drm-misc-next (thanks for the pointer!) so I could apply this and the
> other series, I only managed to get it to not-quite-work on the box I'm
> currently reverse-engineering a mainline DT for (Beelink A1).
>
> I've got a monitor connected via HDMI-DVI (which the stock 3.10 Android
> kernel *does* drive happily) - it appears to be detected, but when the
> virtual console tries to come up I just see a handful of timeout splats
> from drm_atomic_helper_wait_for_vblanks() and no signal at the monitor.
>
> Any idea where to start debugging? (I'm 99% certain I had your clk/next
> branch pulled in as well since it looked significant, but I'll
> double-check tonight)
I guess first interesting point would be to check if the edid of the monitor
got read correctly. There are a bunch of funny GRF options related to i2c
voltages and such that get wiggled on hotplug events and they're not
really documented at all. (see all the *_5V_* constants in the dw-hdmi).
In my current setup (with a VS0801H hdmi switch between my boardfarm
and display) it's reading the monitor edid correctly every time, but I
remember having lots of issues with getting an actual edid at all.
I may need to check without the switch if this somehow improves the
situation in my installation.
Also, you could give Rockchip's 4.4 vendor kernel a try [0]. I wasn't even
aware that rk3328 boxes used a 3.10 kernel in the wild :-) . The 4.4 kernel
was similarly picky with my monitors edid, if I remember correctly.
Maybe also check your regulators (if any) if they get turned off.
And finally, for completenes sake, I do have a branch sitting on top of
lima kernel patches and recent mainline that includes everything and
does bring up the display [and partial gpu support :-) ] for me at [1].
Heiko
[0] https://github.com/rockchip-linux/kernel
[1] https://github.com/mmind/linux-rockchip/tree/devel/lima-yuq-mali450
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm64: dts: rockchip: add rk3328 display nodes
Date: Tue, 20 Feb 2018 23:08:37 +0100 [thread overview]
Message-ID: <2712253.IuLOJ454Fc@phil> (raw)
In-Reply-To: <d2195e38-7ca1-e0b3-240e-0acfe941c572@arm.com>
Hi Robin,
Am Dienstag, 20. Februar 2018, 14:14:31 CET schrieb Robin Murphy:
> On 16/02/18 22:38, Heiko Stuebner wrote:
> > Add the chain of display nodes from the core display-subsystem
> > through the one vop to the dw-hdmi output.
> >
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > ---
> > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 56 ++++++++++++++++++++++++++++++++
> > 1 file changed, 56 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > index 1615effcc191..65b7d460a044 100644
> > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> > @@ -185,6 +185,11 @@
> > interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> > };
> >
> > + display_subsystem: display-subsystem {
> > + compatible = "rockchip,display-subsystem";
> > + ports = <&vop_out>;
> > + };
> > +
> > psci {
> > compatible = "arm,psci-1.0", "arm,psci-0.2";
> > method = "smc";
> > @@ -626,6 +631,28 @@
> > status = "disabled";
> > };
> >
> > + vop: vop at ff370000 {
> > + compatible = "rockchip,rk3328-vop";
> > + reg = <0x0 0xff370000 0x0 0x3efc>;
> > + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
>
> Another of those rogue trailing zero cells has snuck in here.
Oh great.
Either they are missing when needed or trailing when not needed :-) .
> <digression>
> Unfortunately, even having learned the difference between drm-next and
> drm-misc-next (thanks for the pointer!) so I could apply this and the
> other series, I only managed to get it to not-quite-work on the box I'm
> currently reverse-engineering a mainline DT for (Beelink A1).
>
> I've got a monitor connected via HDMI-DVI (which the stock 3.10 Android
> kernel *does* drive happily) - it appears to be detected, but when the
> virtual console tries to come up I just see a handful of timeout splats
> from drm_atomic_helper_wait_for_vblanks() and no signal at the monitor.
>
> Any idea where to start debugging? (I'm 99% certain I had your clk/next
> branch pulled in as well since it looked significant, but I'll
> double-check tonight)
I guess first interesting point would be to check if the edid of the monitor
got read correctly. There are a bunch of funny GRF options related to i2c
voltages and such that get wiggled on hotplug events and they're not
really documented at all. (see all the *_5V_* constants in the dw-hdmi).
In my current setup (with a VS0801H hdmi switch between my boardfarm
and display) it's reading the monitor edid correctly every time, but I
remember having lots of issues with getting an actual edid at all.
I may need to check without the switch if this somehow improves the
situation in my installation.
Also, you could give Rockchip's 4.4 vendor kernel a try [0]. I wasn't even
aware that rk3328 boxes used a 3.10 kernel in the wild :-) . The 4.4 kernel
was similarly picky with my monitors edid, if I remember correctly.
Maybe also check your regulators (if any) if they get turned off.
And finally, for completenes sake, I do have a branch sitting on top of
lima kernel patches and recent mainline that includes everything and
does bring up the display [and partial gpu support :-) ] for me at [1].
Heiko
[0] https://github.com/rockchip-linux/kernel
[1] https://github.com/mmind/linux-rockchip/tree/devel/lima-yuq-mali450
next prev parent reply other threads:[~2018-02-20 22:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 22:38 [PATCH 0/3] rk3328 and rock64 display support Heiko Stuebner
2018-02-16 22:38 ` Heiko Stuebner
[not found] ` <20180216223817.2821-1-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2018-02-16 22:38 ` [PATCH 1/3] arm64: dts: rockchip: add Innosilicon hdmi phy node to rk3328 Heiko Stuebner
2018-02-16 22:38 ` Heiko Stuebner
2018-02-16 22:38 ` [PATCH 2/3] arm64: dts: rockchip: add rk3328 display nodes Heiko Stuebner
2018-02-16 22:38 ` Heiko Stuebner
2018-02-20 13:14 ` Robin Murphy
2018-02-20 13:14 ` Robin Murphy
[not found] ` <d2195e38-7ca1-e0b3-240e-0acfe941c572-5wv7dgnIgG8@public.gmane.org>
2018-02-20 22:08 ` Heiko Stuebner [this message]
2018-02-20 22:08 ` Heiko Stuebner
2018-02-21 12:04 ` Robin Murphy
2018-02-21 12:04 ` Robin Murphy
[not found] ` <ca7e8c5d-55e3-0dc9-1132-f542cb577693-5wv7dgnIgG8@public.gmane.org>
2018-02-21 21:57 ` Heiko Stuebner
2018-02-21 21:57 ` Heiko Stuebner
2018-02-22 13:01 ` Robin Murphy
2018-02-22 13:01 ` Robin Murphy
2018-02-23 12:27 ` Robin Murphy
2018-02-23 12:27 ` Robin Murphy
[not found] ` <318d8cd4-7da5-929a-fc01-41558aa12040-5wv7dgnIgG8@public.gmane.org>
2018-02-23 12:35 ` Heiko Stuebner
2018-02-23 12:35 ` Heiko Stuebner
2018-02-26 14:31 ` Robin Murphy
2018-02-26 14:31 ` Robin Murphy
2018-02-16 22:38 ` [PATCH 3/3] arm64: dts: rockchip: enable display nodes on rk3328-rock64 Heiko Stuebner
2018-02-16 22:38 ` 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=2712253.IuLOJ454Fc@phil \
--to=heiko-4mtyjxux2i+zqb+pc5nmwq@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=robin.murphy-5wv7dgnIgG8@public.gmane.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.