From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796117294; b=yb4tLsnA97dq8Tov/21NGTOKNm7sqH67OCQO3JdxDdIHCEPFGulZYYeHNGeX1qMw3Jcg I7GsAEwDJ72KcYUEdHuXI32TrcA2zjLGQmtIoyWVn0r9Wf9wB7m4xvyl6ry2vQqMa7pUF zhQdcfRywd9UCqelwJL74UTy69YjOsDbXqlUUF2zZBCLUwuNhsUkbUnT9DaCf95da5yzE JVg3QIsxfNZmta9zUyguH/2aIhpydRH1G5kHYXm0xCecm+QK6GtxCEY92TvNfRgHXrulY nIMYUIo+ctKeZ5kJM/6ArvmFggpIkUUU8dwcaMk2GcVoAw8DqQp9fzdJfioZ4yAoCdw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796117294; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=dt6A80aakHbdvGSMy4xJJ1C4W+VHLL5CFsNPvPpKByc=; b=XNH6tVKbWIqX2AHQY7dkqIJ8mvWJR71xhrB9JaKuRV/wJqzg0q3Y+mKP8y8nbaZkiVVO P2o7Y9ra8jYoNcOHgKTCRGxoqdYclbprABjSclPq+jpNWM0MtJOmV65xRJQ/DZ4UUoH8P 31WtgVRVRiOQKgPuZESRoolV8Ib6k+oZgJzjXRx2I8SKr3t5H69Pc8NyW+zwV9HHYMEI8 Hds4Aa2ruAZbCoegMcGuoPAUGvJTk2V6biswu7CetNvpBtE7NYzkqMxn3EKORZqmG55RQ hjfEeMsOYNXczm7CxnC4iGh3nmTn94odAnWXEQLnuvqFue5m75yPfdak9sZRHw1peOg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WPKjd6Pu; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 674F9606A33A; Tue, 1 Dec 2026 09:28:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WPKjd6Pu Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94E381F00893; Tue, 1 Dec 2026 09:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796117293; bh=dt6A80aakHbdvGSMy4xJJ1C4W+VHLL5CFsNPvPpKByc=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=WPKjd6PuiKhjha6j3huf4RnPM7QjtpgJSgDsc44hHkuthjzwTxXuCFPtgQULqw0+C ZZkHfZTHUYMbOwiV0Rg7Em4cQF6OAOoQZOO2Uk/Cy4OwHcE3zWZ5r8Yymchli+aELW 5qj7yjl7bNuiy6wP6Kg+w2Gjw/TlqP9OgavPdrxI7as7VD5XOC6QwhDjAh9cj8CHEy 011gTzQt4wtmUWbmFWVajPD/uwzJcr8YU9I3Cq3ISarV5s4egFPiSote4Q3SSXw9fM Pf9AzeLEInKAJOQzxiyN7gfZNV2arve5Cn1hGadjOrmYKQfhOJkPjLMCbaSJt7Nko0 c3LTVe/SWLGTQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH RFC RFT v3 13/13] clk: meson: pll: Remove the dedicated n parameter Reply-To: sashiko-reviews@lists.linux.dev To: "Jian Hu" Cc: linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org In-Reply-To: <20261201-meson_refactor_n-v3-13-f85a4460fd80@amlogic.com> References: <20261201-meson_refactor_n-v3-0-f85a4460fd80@amlogic.com> <20261201-meson_refactor_n-v3-13-f85a4460fd80@amlogic.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 09:28:13 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] clk: meson: meson8b: multiplier 59 dropped from meson8b_hdmi_pll_mult_table -- commit ea5264979f069307f276cbb22fef298af3d03730 Author: Jian Hu clk: meson: pll: Remove the dedicated n parameter This commit removes the dedicated PLL pre-divider parameter n from struct meson_clk_pll_data, negotiates the parent rate in meson_clk_pll_determine_rate(), and converts the PLL parameter tables to 0-terminated multiplier arrays. > diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c > index ae2bab5015976..9a165c8cd5b35 100644 > --- a/drivers/clk/meson/meson8b.c > +++ b/drivers/clk/meson/meson8b.c [ ... ] > @@ -257,26 +236,8 @@ static const struct reg_sequence meson8b_hdmi_pll_in= it_regs[] =3D { > { .reg =3D HHI_VID2_PLL_CNTL2, .def =3D 0x0430a800 }, > }; > =20 > -static const struct pll_params_table meson8b_hdmi_pll_params_table[] =3D= { > - PLL_PARAMS(40, 1), > - PLL_PARAMS(42, 1), > - PLL_PARAMS(44, 1), > - PLL_PARAMS(45, 1), > - PLL_PARAMS(49, 1), > - PLL_PARAMS(52, 1), > - PLL_PARAMS(54, 1), > - PLL_PARAMS(56, 1), > - PLL_PARAMS(59, 1), > - PLL_PARAMS(60, 1), > - PLL_PARAMS(61, 1), > - PLL_PARAMS(62, 1), > - PLL_PARAMS(64, 1), > - PLL_PARAMS(66, 1), > - PLL_PARAMS(68, 1), > - PLL_PARAMS(71, 1), > - PLL_PARAMS(82, 1), > - { /* sentinel */ } > -}; > +static const unsigned int meson8b_hdmi_pll_mult_table[] =3D { 40, 42, 44= , 45, 49, 52, 54, 56, 60, > + 61, 62, 64, 66, 68, 71, 82, 0 }; [Severity: Medium] Was multiplier 59 dropped from meson8b_hdmi_pll_mult_table[] by mistake? Without it, requests for meson8b_hdmi_pll_dco in the [59 * parent_rate, 60 * parent_rate) range fall back to m =3D 56 and saturate at frac =3D frac_max - 1. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-meson_refa= ctor_n-v3-0-f85a4460fd80@amlogic.com?part=3D13