Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13757732pxu; Mon, 4 Jan 2021 03:45:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcJabON8g5rj/I0+wAsaHMJ6oSLzxcNuz1pfir8/HIb1RGTkMlr2BZLLR9qzgGK3nLDdQ4 X-Received: by 2002:a17:906:9a07:: with SMTP id ai7mr66978655ejc.216.1609760716205; Mon, 04 Jan 2021 03:45:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609760716; cv=none; d=google.com; s=arc-20160816; b=zwm2jrdrJSUT62/D8cfdXvxCT+Klz25FyC/23WgtcaqrX/YYo35Uylai8gPmaKeAm9 BjYmiQqbdMBEe2W9vr5ZGu7zINqC/0PwhswlbXGRzHs77B7QTGOxQo7nvN1R3NPI0OlB UUEuuvq4PFGjxSSGlKdcnWByYEnPkVkSy2kFZ8vIHaVk5UQwa2hd9/YcV7tdvcJfxVG2 AkV775M9lATPhP1Je4C9l///Tipxx5r9YTiymnaGXJVHrCs1rJXPUlygB3AQ5R7+s0TP q2tYrYeNwinR7sikOXn4lbTpOWwX8fthk2ZUXzQruFZjDT72mgkRclV5+KVEnQIjy9R8 JUqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:date:message-id:in-reply-to:subject :cc:to:from:user-agent:references:dkim-signature; bh=jsQiv7cqKQrSj23j2G0kt6dWNWQkHHnDW/6TeXSTB6Q=; b=ANvaQaGOseM8wTFh8dKEMvHi0K4VvspNt0IRWfd58/gPmwS4xs3uFtYrkSP/TBpfeh S7RXCBSMpK1U8u8HX8HW2gPnP+2P8VAr706TqVbqn6Jcq2RTKXF2+eWHg10Z9XUISDzq UMdsdFftqoaRuL8PrO0zMcMdCu9yO6FtLvvppa18ipTg9I52gUJ2lF6UTj2eZH83Q6OW BsZDEs1Wdnz21Z8GvoE6D1Scl4hN3VBdeheBA071v9tRTlCPGo3GDyQEXRqo6HCzRYLB NJp0mLeqrQrAm8w2S9NvZKBVQ7zNnGu8g/K89IL5oHbZPbxN9Idmj6KxaHiWDy5n9gae PkRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=vHbUmqWI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lc8si13584967ejb.145.2021.01.04.03.44.52; Mon, 04 Jan 2021 03:45:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=vHbUmqWI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbhADLoK (ORCPT + 99 others); Mon, 4 Jan 2021 06:44:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbhADLoK (ORCPT ); Mon, 4 Jan 2021 06:44:10 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94A40C061795 for ; Mon, 4 Jan 2021 03:43:29 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id p22so26980067edu.11 for ; Mon, 04 Jan 2021 03:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=jsQiv7cqKQrSj23j2G0kt6dWNWQkHHnDW/6TeXSTB6Q=; b=vHbUmqWI85jcwU/YZBtf+CTTbe8UempEi5UCoJs0Ja1Q9sTILX4QZpqu0AdrImXUtL MDppO3UN6vFDSeERlmX+dvoCNHHbLp+5T4OPwv81x5ogJU+/U4QdWP6AlygXtQ/ohseW yCa+l5ewdXhkM4kVwz5N475I7feEFEVPfx5dbq3kfyh2SeAjkCQsWQuvfZ2bgZ3PNl4X 7Ju/zcZSlVggCQItJEhW5GWud96kKs9fG0FfMpnVw5LK71p6X3Ny+Vf8Wz/J9QhQZG46 U05gejwRXZePz83QiF9FEw0AC/A3snns++n+9hWMbaDqW6ugm+lJPLwjJJ5nAl8EjHeC 194w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=jsQiv7cqKQrSj23j2G0kt6dWNWQkHHnDW/6TeXSTB6Q=; b=DI7H5tUYGVd0USSJv64YK8OY8NXYM/2Wwobyk1TxddQT7puX4TmQ8uJ665khWdZ6tw 9Bx1Y6S9rFyxN/bR2RiJITMVTLMSqxURZ0tTlgpumYdc2h3oOXan8AhNS9IkcyrEZcqe nmw+N6efPIuDFml9eRfmGsUJqzE/47E9HBsGnd0T+OyalHqUish19ATnqiETkEsOIiO3 bhQxYtw2K/+6MbPXUy8rScfwHPZ//1Cf5hltvIgnjFGNkB3qya0qG35GSxzQEgGS7zMb WQSaPAeqQqgVPn/KESc1FCngIkD8wdds1+uCYyn/7ViBpVB7dJUWW4u3nnmEZMiGWeGA hF9g== X-Gm-Message-State: AOAM533NpQTgiqL/Zn7W/auq6FwXRr7u5BaiMdaqvNtjFNHgaiDbESnV Zyt1G27efzkJgG4L2H6ymV4IR28xd/Caug== X-Received: by 2002:aa7:dc0d:: with SMTP id b13mr70450856edu.170.1609760608380; Mon, 04 Jan 2021 03:43:28 -0800 (PST) Received: from localhost (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.gmail.com with ESMTPSA id f13sm23221758ejf.42.2021.01.04.03.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 03:43:27 -0800 (PST) References: <20201226121556.975418-1-martin.blumenstingl@googlemail.com> User-agent: mu4e 1.4.10; emacs 27.1 From: Jerome Brunet To: Martin Blumenstingl , linux-amlogic@lists.infradead.org Cc: mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] clk: meson: three small clk-pll fixes In-reply-to: <20201226121556.975418-1-martin.blumenstingl@googlemail.com> Message-ID: <1jzh1pvsf4.fsf@starbuckisacylon.baylibre.com> Date: Mon, 04 Jan 2021 12:43:27 +0100 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 26 Dec 2020 at 13:15, Martin Blumenstingl wrote: > Hi Jerome, > > while working on some changes for the 32-bit SoCs I hit a corner-case > in the HDMI PLL: there's some rate doubling going. The PLL only locks > in a specific rate range but the M/N table is not aware of that. This > means for now (I am planning to fix that) that we can end up in a > ituation where the PLL doesn't lock and meson_clk_pll_set_rate() is > supposed to still behave in this case. So here's three small patches > for that. > > For me it's fine to queue these patches for -next. I am not aware of > any breakage upstream, only some of my pending patches prefer to have > these fixes. > > Slightly unrelated: if you know anything about that clock doubling then > please let me know! > > > Best regards, > Martin > > > Martin Blumenstingl (3): > clk: meson: clk-pll: fix initializing the old rate (fallback) for a > PLL > clk: meson: clk-pll: make "ret" a signed integer > clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate() > > drivers/clk/meson/clk-pll.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) Applied, Thx