From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB906606A323 for ; Sun, 29 Nov 2026 16:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=z773G3nW; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.a=rsa-sha256 header.s=gloria202408 header.b=rULfHOt2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=baRi97FEjoztNU2Y8dkJmzCyslz/mom/ASGLWrKBO+Y=; b=z773G3nWAFXWAdE07Uuo3Mp6Dg o0CnQ2w58JeIlPOIpK/6g1fxAKdH1be/27QZfXZGhmVqj3/U5Pbdj3mm5hdDfwtw/UgvZtUUrRJ6r ZrWi+zbfARuZB8ZEamJyKT7gTwxpPW4CbaQa5+1z3nBPjapn9eTywMXI7EJWnfkAKoB/pOO83om2B duu2xIXhzFB4JHhCleTG+232sUa2wVEHbnlHyP5MAZLh2/n3cSdTiDcpgo+ENSsMLO6j3zHwkDwnR XxSDE3JdEXedyWr5itRCgAsWCaqrch8v9MJkLUJhSZYmA7FKPT7x2f6sn9sqS1I8sDM3TJeW2XfMp TSjb51QQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXi74-00000002Gg2-1KpZ; Sun, 29 Nov 2026 16:50:54 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXi71-00000002GfH-1svz; Sun, 29 Nov 2026 16:50:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To; bh=baRi97FEjoztNU2Y8dkJmzCyslz/mom/ASGLWrKBO+Y=; b=rULfHOt2qjWIk59r/FyAX+5/iQ gmbnNDImV5QgAEt2YBWK/iXBFrH4oHVRxv9JCqSqoUTcOlYyZwpZtJHjpBbQRU3gUvd1d7NaimnpS d8LWR2xBaUE0BviHQjhyEnny23abI5msgIjK54+iS4QiD2dGr2NeG6SQn/MIHw2EpYv1Me3v9GRB3 jePPdcpl95F2bD8ZK48sH9K+tkwcsPeo7hmew6EtGJNwOrT5rFcdx7oHOSHKAUI9+ySlxqthHjPUq ESERcgE5hdUDaZajxDmHF9s1tLQv3/idB8aqlbI+l3biEKfxbXYXJzSHWh+C9ThTfjcZc/KeMUFeL faB4150Q==; From: Heiko Stuebner To: vkoul@kernel.org, Xiangyu Zhu 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 Message-ID: In-Reply-To: <20261124092154.2280807-1-jerrytech92@163.com> References: <20261124092154.2280807-1-jerrytech92@163.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_085051_922525_DCBB2368 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Am Dienstag, 24. November 2026, 10:21:54 Mitteleurop=C3=A4ische 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. >=20 > Convert the 1.5 GHz timing table rate values to Hz so the lookup > selects the matching entry. >=20 > Tested on an RK3506B board: the panel receives the low-power init > sequence and the framebuffer console displays properly. >=20 > Fixes: 785a9d5bb145 ("phy: rockchip: inno-dsidphy: Add support for rk3506= ") > Signed-off-by: Xiangyu Zhu Reviewed-by: Heiko Stuebner