All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: vkoul@kernel.org, Xiangyu Zhu <jerrytech92@163.com>
Cc: neil.armstrong@linaro.org, mani@kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, jerrytech92@163.com
Subject: Re: [PATCH v3] phy: rockchip: inno-dsidphy: Fix 1.5GHz timing table rate units
Date: Sun, 29 Nov 2026 17:50:46 +0100	[thread overview]
Message-ID: <owadKmibSNWH10cAPXB5kg@sntech.de> (raw)
In-Reply-To: <20261124092154.2280807-1-jerrytech92@163.com>

Am Dienstag, 24. November 2026, 10:21:54 Mitteleuropäische Normalzeit schrieb Xiangyu Zhu:
> The 1.5 GHz Innosilicon DSI PHY timing table stores its rates in Mbps,
> whereas the other timing tables and the lookup loop use Hz. When
> enabling a mode, the driver compares inno->pll.rate in Hz (e.g.
> 372000000) against timings[].rate in Mbps (e.g. 400), so no entry
> matches. The loop falls through to the last, fastest entry and programs
> an excessively large TLPX/LPX counter, preventing panels from decoding
> low-power DCS initialization commands.
> 
> Convert the 1.5 GHz timing table rate values to Hz so the lookup
> selects the matching entry.
> 
> Tested on an RK3506B board: the panel receives the low-power init
> sequence and the framebuffer console displays properly.
> 
> Fixes: 785a9d5bb145 ("phy: rockchip: inno-dsidphy: Add support for rk3506")
> Signed-off-by: Xiangyu Zhu <jerrytech92@163.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>




-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko@sntech.de>
To: vkoul@kernel.org, Xiangyu Zhu <jerrytech92@163.com>
Cc: neil.armstrong@linaro.org, mani@kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, jerrytech92@163.com
Subject: Re: [PATCH v3] phy: rockchip: inno-dsidphy: Fix 1.5GHz timing table rate units
Date: Sun, 29 Nov 2026 17:50:46 +0100	[thread overview]
Message-ID: <owadKmibSNWH10cAPXB5kg@sntech.de> (raw)
In-Reply-To: <20261124092154.2280807-1-jerrytech92@163.com>

Am Dienstag, 24. November 2026, 10:21:54 Mitteleuropäische Normalzeit schrieb Xiangyu Zhu:
> The 1.5 GHz Innosilicon DSI PHY timing table stores its rates in Mbps,
> whereas the other timing tables and the lookup loop use Hz. When
> enabling a mode, the driver compares inno->pll.rate in Hz (e.g.
> 372000000) against timings[].rate in Mbps (e.g. 400), so no entry
> matches. The loop falls through to the last, fastest entry and programs
> an excessively large TLPX/LPX counter, preventing panels from decoding
> low-power DCS initialization commands.
> 
> Convert the 1.5 GHz timing table rate values to Hz so the lookup
> selects the matching entry.
> 
> Tested on an RK3506B board: the panel receives the low-power init
> sequence and the framebuffer console displays properly.
> 
> Fixes: 785a9d5bb145 ("phy: rockchip: inno-dsidphy: Add support for rk3506")
> Signed-off-by: Xiangyu Zhu <jerrytech92@163.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>





WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko@sntech.de>
To: vkoul@kernel.org, Xiangyu Zhu <jerrytech92@163.com>
Cc: neil.armstrong@linaro.org, mani@kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, jerrytech92@163.com
Subject: Re: [PATCH v3] phy: rockchip: inno-dsidphy: Fix 1.5GHz timing table rate units
Date: Sun, 29 Nov 2026 17:50:46 +0100	[thread overview]
Message-ID: <owadKmibSNWH10cAPXB5kg@sntech.de> (raw)
In-Reply-To: <20261124092154.2280807-1-jerrytech92@163.com>

Am Dienstag, 24. November 2026, 10:21:54 Mitteleuropäische Normalzeit schrieb Xiangyu Zhu:
> The 1.5 GHz Innosilicon DSI PHY timing table stores its rates in Mbps,
> whereas the other timing tables and the lookup loop use Hz. When
> enabling a mode, the driver compares inno->pll.rate in Hz (e.g.
> 372000000) against timings[].rate in Mbps (e.g. 400), so no entry
> matches. The loop falls through to the last, fastest entry and programs
> an excessively large TLPX/LPX counter, preventing panels from decoding
> low-power DCS initialization commands.
> 
> Convert the 1.5 GHz timing table rate values to Hz so the lookup
> selects the matching entry.
> 
> Tested on an RK3506B board: the panel receives the low-power init
> sequence and the framebuffer console displays properly.
> 
> Fixes: 785a9d5bb145 ("phy: rockchip: inno-dsidphy: Add support for rk3506")
> Signed-off-by: Xiangyu Zhu <jerrytech92@163.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>




_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  parent reply	other threads:[~2026-11-29 16:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  9:21 [PATCH v3] phy: rockchip: inno-dsidphy: Fix 1.5GHz timing table rate units Xiangyu Zhu
2026-11-24  9:21 ` Xiangyu Zhu
2026-11-24  9:21 ` Xiangyu Zhu
2026-11-27 16:03 ` Manivannan Sadhasivam
2026-11-27 16:03   ` Manivannan Sadhasivam
2026-11-27 16:03   ` Manivannan Sadhasivam
2026-11-29 16:50 ` Heiko Stuebner [this message]
2026-11-29 16:50   ` Heiko Stuebner
2026-11-29 16:50   ` 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=owadKmibSNWH10cAPXB5kg@sntech.de \
    --to=heiko@sntech.de \
    --cc=jerrytech92@163.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=vkoul@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 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.