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=1796258346; b=4/nWMkBtA7y4XyPGseBTQG0LWwr1NncZPn6A7skv2JwzNouQKqvaRxsuxYPK621zB6z6 RzW6Oi0yC9GGdQUXy0KaYWt+Ah/PL8grgSBwLbL7vYw+qkZao9+5rxp4AL8wZw/RtIDjg p729LQfYLRbtr/wrXse3VsTCOC1rCMWNExIj9/jtiSor+6AQWXnaEpBLhq3tsS9SkNLSF 5NMZ+jNFS6hWAt8yVPukNQSgFVR2Jj56H/5ERv/bmgjs4xIm8/Rha0+O6JMeF9WryrVw8 OJfv6YMZWgJAEiFirvp4cUA85oJTK4OKQmfrZFa6dRmgg662RmdSz+vFk7TXuWTJWhA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796258346; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=9uguSCimCNU3J1FfODVEy99vN6MmsmX8Ncy5xTE0QU8=; b=KlpHJhmIk4u8ND8G95hTEOX6yK4/o8dGu9SX6iqCCD0hUDDMVX8vu18hsF8NW98giLK/ KVCeceZ6ztUBBCDS8gyZWW9rdoiQlfKBKNXGGupWFQhLnOzOSnGjUEpHyELseux/QARyJ LM6FSdVaXVKP4NsckgfxOg+kCyKv9cOCsFT+hwCGSThZSBcxkGT+/ttKF0wsD4iIheimV L5Zx0OeL0DDZvxt+mRYIF/lZlQgP+nu9Zvxs2aYWVfY6iuvqtYXF9Q8lSpd3U/JLUeQo4 xxEA3vF4R36GRpRs+KXyjughunKzl/gRLnhmaj3KnfigGDSXY/QOwcbqgQURbM4cr/Q== 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=DA7S05Q7; 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 BD9BC606A339; Thu, 3 Dec 2026 00:39:06 +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=DA7S05Q7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD39D1F00898; Thu, 3 Dec 2026 00:39:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796258346; bh=9uguSCimCNU3J1FfODVEy99vN6MmsmX8Ncy5xTE0QU8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=DA7S05Q7VOfwLuYpNYD5NO3V7vk36dvJyPJZRpu/0nXoOy+tbuxGMcgaFQMsI7FCs Z0PPjKoYLvjYCYPwOgq1PceWQ0m6ft494Y08o2LVj+jtb3Cwg+ujf5A5EwUT13cdHr 4YEGP4/D4WNCDaySREZY/FUj3FlD6kVv2zEQAr3cHoGsrJ5ZcF2gybqh0R5sq5IaKb 88pCvnBApH/Gf11tLgEL6phOx4aXlrFQGq8gW+wwR8LcebdYweCaFa4qHvVMt8QKu0 wIj/wepoYe8wfBShWm803orZR8UHgzW515xPpvT0eR/m+QDV0azo/SNMCeyANjlMTw ANz4tWz4YkmMQ== Subject: Re: [PATCH net-next v17 05/13] dpll: sit9531x: read DPLL types and pin properties from system firmware From: netdev-bot+sashiko@kernel.org To: arouhi@sitime.com Cc: jiri@resnulli.us, ivecera@redhat.com, vadim.fedorenko@linux.dev, arkadiusz.kubalewski@intel.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, cjubran@nvidia.com, Oleg.Zadorozhnyi@devoxsoftware.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 03 Dec 2026 00:39:05 +0000 Message-ID: <179625834542.3146.8144227807378729978@kernel.org> In-Reply-To: <20261201235202.97645-6-arouhi@sitime.com> References: <20261201235202.97645-6-arouhi@sitime.com> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] Concern: sit9531x_input_pin_label() picks the 'IN' or 'INP/N' label from sitdev->ref[id].sig_mode, which nothing at this… -- dpll: sit9531x: read DPLL types and pin properties from system firmware This commit adds prop.c. It reads the DPLL type from the firmware node and, for each pin, its label, connection type and supported frequencies, with defaults for pins whose node gives none of them. Input pins are labeled from the signal mode of their pair, and outputs get OUTn labels plus the datasheet output rates when no rates are listed. > diff --git a/drivers/dpll/sit9531x/prop.c b/drivers/dpll/sit9531x/prop.c > new file mode 100644 > index 0000000000000..495bed45c2384 > --- /dev/null > +++ b/drivers/dpll/sit9531x/prop.c > @@ -0,0 +1,350 @@ [ ... ] > +static void sit9531x_input_pin_label(struct sit9531x_dev *sitdev, > + struct sit9531x_pin_props *props, u8 id) > +{ > + u8 pair = sit9531x_input_pair(id); > + > + if (sitdev->ref[id].sig_mode == SIT9531X_MODE_DE) > + snprintf(props->package_label, > + sizeof(props->package_label), "IN%u", pair); > + else > + snprintf(props->package_label, > + sizeof(props->package_label), "IN%u%c", pair, > + sit9531x_input_is_n(id) ? 'N' : 'P'); > +} [Severity: Low] At this commit, does anything write sitdev->ref[].sig_mode? The field is added to struct sit9531x_ref in core.h, and sit9531x_input_pin_label() is its only reader. Nothing in this patch sets it, so every pair would read as SIT9531X_MODE_SE (0). Each pin would then get the INP/INN label, even for a differential pair. This doesn't look observable in practice. No caller of sit9531x_pin_props_get() exists yet. The later patch "dpll: sit9531x: register DPLL devices and pins" adds the first caller. It also adds sit9531x_input_mode_fetch(), which sets both lanes of each pair: sitdev->ref[pair * 2].sig_mode = sig_mode; sitdev->ref[pair * 2 + 1].sig_mode = sig_mode; That patch also skips the N lane of a differential pair in sit9531x_input_pin_is_registrable(). Would it be clearer to add sig_mode in the same patch as the code that fills it in? Or could the kernel-doc here say where the value comes from (CLKINx_INPUT_MODE), as it does at the end of the series? -- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261201235202.97645-1-arouhi%40sitime.com