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=1796303168; b=xwEGZGZBnBQPaZ63jX9/kQ/NE5UpbgqzgqRWGOOUIuEE5h5tdy8X/X5BHODKjXa1WVAj a0txqhGGMzMubKsMlWNQp6kNdl+o7fDnHD7vTJ7LMOKxFZh2w/wqY4b9+BwylSPIwDGHJ pZG9HzjnkTFHcXkZxznIbp8agwtnMrY5v/LHWyLvSQtSmx68iupC37fvujuvf9zdhyRwq TOb1GIU1S2B8cTaxVK2ZqfVbn4FT3i1MH0f9ZUyUPCfXCeFV1rQfLm++0lKf/ulEMRolg CFLjuwFCdsvCw7JbqTvwCui7RJyzwXwAl0fneWBLJpmuDE7QO9XeaP71RFxpdaB9kxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796303168; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=21n1zW0l9TrBosGjjeVK88VP6su7rcleE4wRXWOBZ3A=; b=pUj7MoYLtV3+5z99GphWIsG3Z3QkfnU+WesrNgPc5GVblOeUEmIkEjl/XeGxz+afNNYl OIp2XvDRM0naNIGNF72rqyFWMLrSbO/cIYxox6/rZ0jdRNBCGedzzQ0AXdUQ+4py0RIr/ EaAsGlvYicZJPpHUMEUwkU6WSpC23ubRzfXJWwiSjPdBU15xUBtPMljoeA+kupSmfJUv2 SuE/C+yNjHbFsnfyA22t8I+BUWDs18daSl5kSUOo8w5QAZwBkwFq0uP9I5397z8nRpIXi wiHB20Pu19kHn7gBq1eW6PmDpIramyap/Ngy8N5YXb0CgLzJCgNCzrNIh0ajvejxZMA== 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=fECIRlq0; 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 23A57606A32C for ; Thu, 3 Dec 2026 13:06:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fECIRlq0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DD741F000C1; Thu, 3 Dec 2026 13:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796303167; bh=21n1zW0l9TrBosGjjeVK88VP6su7rcleE4wRXWOBZ3A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=fECIRlq0qrpXWYPp+It6+REfgyUbXFtdFwxG0VJI3zKuQdwscFa++BbfSSVabBJWv RfaN2OaiQBQq7+FzpLnmgwk8R79gVhjek6djWy42VmNm2ybtLTFxpTLMLoQVTU2osr ZBi1K+TRquVsFJJQWaw7vHeuk4nNYyQH58/vyNihlMYbA4bLMqm+k9/SBuRFqd8Df+ XBz/vZl751sOB1NaUtVo9fWOd5fbs2Xp6b7eudKgJSKhbCyIAQrfwQZj69ZBRu+wvz nVRKktI1/sYHaUnzipcB3iJeRgXH+KqGkHfp9bVvIuzGqHVcn/jROV1pPxvKPruKkr /RQmJPpkaaJHQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/2] nvmem: rockchip-otp: Add support for RV1106 Reply-To: sashiko-reviews@lists.linux.dev To: "Weihong Guan" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203122416.682071-3-weihong.guan@gmail.com> References: <20261203122416.682071-1-weihong.guan@gmail.com> <20261203122416.682071-3-weihong.guan@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 13:06:07 +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] nvmem: rockchip-otp: rv1106_otp_clocks requires nonexistent phy clock -- commit ede968e4fdcf1ce13352f1f4f84a15321202e696 Author: Weihong Guan nvmem: rockchip-otp: Add support for RV1106 This commit adds Rockchip RV1106/RV1103 support to the Rockchip OTP driver, reusing rk3568_otp_read() with a 0x80-byte size and six clocks. > diff --git a/drivers/nvmem/rockchip-otp.c b/drivers/nvmem/rockchip-otp.c > index 7eb834516ab4b..43712b6f0194d 100644 > --- a/drivers/nvmem/rockchip-otp.c > +++ b/drivers/nvmem/rockchip-otp.c > @@ -387,6 +387,18 @@ static const struct rockchip_data rk3588_data =3D { > .reg_read =3D rk3588_otp_read, > }; > =20 > +static const char * const rv1106_otp_clocks[] =3D { > + "otp", "apb_pclk", "phy", "sbpi", "arb", "pmc", > +}; [Severity: Medium] Should rv1106_otp_clocks require a phy clock? The RV1106 CRU in include/dt-bindings/clock/rockchip,rv1106-cru.h and drivers/clk/rockchip/clk-rv1106.c has no OTP PHY clock; the sixth non-secure OTP clock is PCLK_OTP_MASK. Because rockchip_otp_probe() fetches every entry with devm_clk_bulk_get(), requiring phy either fails probe with -ENOENT when a DT node lists only the real CRU clocks or locks the DT ABI into mislabeling PCLK_OTP_MASK as phy. On RK3528, which has the same CRU OTP clocks, commit a255f352b0e0 ("nvmem: rockchip-otp: Add support for RK3528") omitted phy. Both rv1106_otp_clocks and commit "dt-bindings: nvmem: rockchip,otp: Add RV1106" should either drop phy or name PCLK_OTP_MASK (e.g., mask). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203122416.6820= 71-1-weihong.guan@gmail.com?part=3D2