Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-07-11 Thread Robin Murphy
On 2022-07-11 12:04, Piotr Oniszczuk wrote: Wiadomość napisana przez Robin Murphy w dniu 11.07.2022, o godz. 12:41: On 2022-06-25 16:31, Piotr Oniszczuk wrote: Wiadomość napisana przez Peter Geis w dniu 25.06.2022, o godz. 16:00: The first issue you have is the TV isn't responding

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-07-11 Thread Piotr Oniszczuk
> Wiadomość napisana przez Robin Murphy w dniu > 11.07.2022, o godz. 12:41: > > On 2022-06-25 16:31, Piotr Oniszczuk wrote: >>> Wiadomość napisana przez Peter Geis w dniu >>> 25.06.2022, o godz. 16:00: >>> >>> >>> The first issue you have is the TV isn't responding until the absolute >>>

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-07-11 Thread Robin Murphy
On 2022-06-25 16:31, Piotr Oniszczuk wrote: Wiadomość napisana przez Peter Geis w dniu 25.06.2022, o godz. 16:00: The first issue you have is the TV isn't responding until the absolute end. I suspect this is because lack on idle gaps between cec commands sent from board to tv. Maybe TV

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-07-10 Thread Piotr Oniszczuk
> Wiadomość napisana przez Piotr Oniszczuk w dniu > 25.06.2022, o godz. 17:31: > > > >> Wiadomość napisana przez Peter Geis w dniu 25.06.2022, >> o godz. 16:00: >> >> >> The first issue you have is the TV isn't responding until the absolute >> end. > > I suspect this is because lack

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-25 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 25.06.2022, > o godz. 16:00: > > > The first issue you have is the TV isn't responding until the absolute > end. I suspect this is because lack on idle gaps between cec commands sent from board to tv. Maybe TV sw. can't deal with consecutive

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-25 Thread Peter Geis
On Sat, Jun 25, 2022 at 9:18 AM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Peter Geis w dniu > > 25.06.2022, o godz. 01:50: > > > > On Fri, Jun 24, 2022 at 2:57 PM Piotr Oniszczuk > > wrote: > >> > >> > >> > >>> Wiadomość napisana przez Peter Geis w dniu > >>> 24.06.2022, o

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-25 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 25.06.2022, > o godz. 01:50: > > On Fri, Jun 24, 2022 at 2:57 PM Piotr Oniszczuk > wrote: >> >> >> >>> Wiadomość napisana przez Peter Geis w dniu >>> 24.06.2022, o godz. 14:40: >>> Sascha, Peter I returned to trying to

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-24 Thread Peter Geis
On Fri, Jun 24, 2022 at 2:57 PM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Peter Geis w dniu > > 24.06.2022, o godz. 14:40: > > > >> > >> Sascha, Peter > >> > >> I returned to trying to find why hdmi-cec is not working on rock3-a v1.31 > >> hw. > >> > >> I'm on vop2 v11 on 5.18

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-24 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 24.06.2022, > o godz. 14:40: > >> >> Sascha, Peter >> >> I returned to trying to find why hdmi-cec is not working on rock3-a v1.31 hw. >> >> I'm on vop2 v11 on 5.18 mainline. >> >> Current findings: >> >> (1) the same sw. stack/binaries works

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-24 Thread Peter Geis
On Fri, Jun 24, 2022 at 4:30 AM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Piotr Oniszczuk w dniu > > 14.05.2022, o godz. 15:58: > > > > > > > >> Wiadomość napisana przez Peter Geis w dniu > >> 09.05.2022, o godz. 18:00: > >> > >> If you want to confirm the hardware is

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-06-24 Thread Piotr Oniszczuk
> Wiadomość napisana przez Piotr Oniszczuk w dniu > 14.05.2022, o godz. 15:58: > > > >> Wiadomość napisana przez Peter Geis w dniu 09.05.2022, >> o godz. 18:00: >> >> If you want to confirm the hardware is configured correctly you can >> remove the cec pin from the hdmi node and set up

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-14 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 09.05.2022, > o godz. 18:00: > > If you want to confirm the hardware is configured correctly you can > remove the cec pin from the hdmi node and set up a cec-gpio node. >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-12 Thread Peter Geis
On Thu, May 12, 2022 at 8:17 AM Robin Murphy wrote: > > On 2022-05-08 17:53, Peter Geis wrote: > > On Sun, May 8, 2022 at 9:40 AM Piotr Oniszczuk > > wrote: > >> > >> > >> > >>> Wiadomość napisana przez Sascha Hauer w dniu > >>> 22.04.2022, o godz. 09:28: > >>> > >>> From: Michael Riesch >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-12 Thread Robin Murphy
On 2022-05-08 17:53, Peter Geis wrote: On Sun, May 8, 2022 at 9:40 AM Piotr Oniszczuk wrote: Wiadomość napisana przez Sascha Hauer w dniu 22.04.2022, o godz. 09:28: From: Michael Riesch Enable the RK356x Video Output Processor (VOP) 2 on the Radxa ROCK3 Model A. Signed-off-by:

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-11 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 11.05.2022, > o godz. 00:49: > > I've pulled your dts and with a few fixes got a working system from > it. At least on the v1.1 board cec is functional: > Total for dwhdmi-rockchip device /dev/cec0: 1, Succeeded: 1, Failed: > 0, Warnings: 0

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-10 Thread Peter Geis
On Tue, May 10, 2022 at 4:54 PM Peter Geis wrote: > > On Tue, May 10, 2022 at 9:49 AM Piotr Oniszczuk > wrote: > > > > > > > > > Wiadomość napisana przez Peter Geis w dniu > > > 10.05.2022, o godz. 14:08: > > > > > > > > > You are on the clk_rtc32k_frac which is a fractional divider that is >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-10 Thread Peter Geis
On Tue, May 10, 2022 at 9:49 AM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Peter Geis w dniu > > 10.05.2022, o godz. 14:08: > > > > > > You are on the clk_rtc32k_frac which is a fractional divider that is > > fed from the 24m clock. Your clock likely isn't the issue here. I'd > >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-10 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 10.05.2022, > o godz. 14:08: > > > You are on the clk_rtc32k_frac which is a fractional divider that is > fed from the 24m clock. Your clock likely isn't the issue here. I'd > recommend setting up the cec-gpio node to validate your hardware >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-10 Thread Peter Geis
On Tue, May 10, 2022 at 3:29 AM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Peter Geis w dniu > > 10.05.2022, o godz. 03:35: > > > > Could you grab the clock tree from /sys/kernel/debug/clk/clk_summary > > for the clk_hdmi_cec tree? > > Here it is: >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-10 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 10.05.2022, > o godz. 03:35: > > Could you grab the clock tree from /sys/kernel/debug/clk/clk_summary > for the clk_hdmi_cec tree? Here it is: enable prepare protect duty hardware

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-09 Thread Peter Geis
On Mon, May 9, 2022 at 3:49 PM Piotr Oniszczuk wrote: > > > > > If you want to confirm the hardware is configured correctly you can > > remove the cec pin from the hdmi node and set up a cec-gpio node. > >

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-09 Thread Piotr Oniszczuk
> > If you want to confirm the hardware is configured correctly you can > remove the cec pin from the hdmi node and set up a cec-gpio node. > https://elixir.bootlin.com/linux/v5.18-rc5/source/Documentation/devicetree/bindings/media/cec-gpio.txt > > For some reason the board developers decided to

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-09 Thread Peter Geis
On Sun, May 8, 2022 at 2:21 PM Piotr Oniszczuk wrote: > > > >> > >> I think i have this already (pls see L231/L232 in > >> https://pastebin.com/67wu9QrH ) > > > > I see you have hdmitxm1_cec as the enabled pin. Are you certain it's > > the m1 pin and not the m0 pin? > > It depends on board ver.

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-08 Thread Piotr Oniszczuk
>> >> I think i have this already (pls see L231/L232 in >> https://pastebin.com/67wu9QrH ) > > I see you have hdmitxm1_cec as the enabled pin. Are you certain it's > the m1 pin and not the m0 pin? It depends on board ver. pls look:

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-08 Thread Peter Geis
On Sun, May 8, 2022 at 1:36 PM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Peter Geis w dniu > > 08.05.2022, o godz. 18:53: > > > >> > >> I was trying to do this in dts https://pastebin.com/67wu9QrH but cec is > >> still non-functional > >> > >> Maybe You have some hints/pointers

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-08 Thread Piotr Oniszczuk
> Wiadomość napisana przez Peter Geis w dniu 08.05.2022, > o godz. 18:53: > >> >> I was trying to do this in dts https://pastebin.com/67wu9QrH but cec is >> still non-functional >> >> Maybe You have some hints/pointers here? > > Add the following to the HDMI node: > assigned-clocks = <

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-08 Thread Peter Geis
On Sun, May 8, 2022 at 9:40 AM Piotr Oniszczuk wrote: > > > > > Wiadomość napisana przez Sascha Hauer w dniu > > 22.04.2022, o godz. 09:28: > > > > From: Michael Riesch > > > > Enable the RK356x Video Output Processor (VOP) 2 on the Radxa > > ROCK3 Model A. > > > > Signed-off-by: Michael

Re: [PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-05-08 Thread Piotr Oniszczuk
> Wiadomość napisana przez Sascha Hauer w dniu > 22.04.2022, o godz. 09:28: > > From: Michael Riesch > > Enable the RK356x Video Output Processor (VOP) 2 on the Radxa > ROCK3 Model A. > > Signed-off-by: Michael Riesch > Reported-by: kernel test robot > Link: >

[PATCH v11 20/24] arm64: dts: rockchip: enable vop2 and hdmi tx on rock-3a

2022-04-22 Thread Sascha Hauer
From: Michael Riesch Enable the RK356x Video Output Processor (VOP) 2 on the Radxa ROCK3 Model A. Signed-off-by: Michael Riesch Reported-by: kernel test robot Link: https://lore.kernel.org/r/20220310210352.451136-4-michael.rie...@wolfvision.net Signed-off-by: Sascha Hauer --- Notes: