Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 803CDC7EE2E for ; Tue, 30 May 2023 09:24:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98D4C10E2F3; Tue, 30 May 2023 09:24:29 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id 06D5510E2F3 for ; Tue, 30 May 2023 09:24:26 +0000 (UTC) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2DEE066059A8; Tue, 30 May 2023 10:24:24 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685438664; bh=UxXpx3aCfdtvsZ7o/sxTS7TMZU8J1MoTtG1QqqDdXQo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=lRx5ZsdzzjoqMAlmwmL59/ih5u1B5vJrqmwj2EkfEfk7AESduFUHr5PZBk4ELoQy0 M4wDaPFfP2IJX79OQ5hn/HHtz3YB/czhA2YsNpuHswYxQOeE9OVDnQ06sFLTLHzZxy 3F8sC5SCftMnd3TEsZBzBCgEoj3by6Jkc2HH0CIFUsPwKL6mA0fmqBZogWk674oZsm gMncP6FO7llvCrTwnqn46tZMExUQwfcd0fwGcdpaJPpVdL5WdkLv9sJtkqhm8aARvk Wv8gn4m/sUcZoYF6qdyJvL451lm7NPGtpPezHoRr9hSI/6OtuaZ1G+QuOywY8/p0dZ i+//3DFuoQ2ZA== Message-ID: <550e2571-97b9-48ec-db2e-63e553b05d1b@collabora.com> Date: Tue, 30 May 2023 11:24:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] phy: mediatek: hdmi: mt8195: fix prediv bad upper limit test Content-Language: en-US To: Guillaume Ranquet , Chun-Kuang Hu , Philipp Zabel , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger References: <20230529-hdmi_phy_fix-v1-1-bf65f53af533@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230529-hdmi_phy_fix-v1-1-bf65f53af533@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-phy@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Il 30/05/23 10:43, Guillaume Ranquet ha scritto: > The pll prediv calculus searchs for the smallest prediv that gets > the ns_hdmipll_ck in the range of 5 GHz to 12 GHz. > > A typo in the upper bound test was testing for 5Ghz to 1Ghz > > Fixes: 45810d486bb44 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195") > Signed-off-by: Guillaume Ranquet Reviewed-by: AngeloGioacchino Del Regno