From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4EC3F606A31F for ; Sun, 6 Dec 2026 05:21:51 +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=Q8glEDyu Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B051A10E399; Sun, 6 Dec 2026 05:21:45 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB07C10E399 for ; Sun, 6 Dec 2026 05:21:39 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id B3EC260CFA; Sun, 6 Dec 2026 05:21:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59B3F1F00A13; Sun, 6 Dec 2026 05:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796534498; bh=5YtrGSx2Nd9M0hyRrfU6SeFDuOEifRq5hU+C10bK+Os=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Q8glEDyuzTz2MqvcUIvaZAuiIfBrWpeRa2W7kiQgpzGOCPhu73gaxd7c26tT1CNV4 I9MdyndhEJh5oFsxYyFeHT0e66Kuu4wrZeeom7IjAZ6w5AcIbZvQEq2qf8DqFokJVr mQFJ+Fm4AviYfCBP8xRouaqTRXdhYx60gkrIkotOozEeqTLGVpCbfjxDz0LRr9t8N7 h6kQo31v/G25iEUHPo8uS015bL4VFIf0qJs5jRmK56w/5Z1nc4vapYDYr7Ytba5xYm syX5wnPCIAc40s59Cqp3N0dt5MbGhLm4CPFN0UbNOmJFwVGicqv1QogxNzsvS2UX+O 85wkaCotnV0tA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v5 RESEND] drm/bridge: analogix_dp: use devm_phy_optional_get() for the DP PHY To: "Jun Yan" Cc: dri-devel@lists.freedesktop.org In-Reply-To: <20261206050359.202772-1-jerrysteve1101@gmail.com> References: <20261206050359.202772-1-jerrysteve1101@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 05:21:37 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/bridge: analogix_dp comment and commit message overlook RK3568 PHY -- commit 75b4283e53193fe04cf00bcd4bfc3b137b7665ec Author: Jun Yan drm/bridge: analogix_dp: use devm_phy_optional_get() for the DP PHY This commit switches analogix_dp_probe() from devm_phy_get() to devm_phy_optional_get(), dropping the open-coded -ENODEV/-ENOSYS fallback and the error log when no separate DP PHY is described in DT. > diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers= /gpu/drm/bridge/analogix/analogix_dp_core.c > index 8bccd20a224f1..15d9e8ec1c275 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > @@ -1428,21 +1428,13 @@ analogix_dp_probe(struct device *dev, struct anal= ogix_dp_plat_data *plat_data) [ ... ] > + /* > + * RK3399 uses the Analogix DP controller built-in PHY, > + * no extra PHY configuration is required. > + */ > + dp->phy =3D devm_phy_optional_get(dp->dev, "dp"); > + if (IS_ERR(dp->phy)) > + return ERR_CAST(dp->phy); [Severity: Low] Is this comment and the commit message accurate in stating that only RK3399 uses the built-in PHY and that the other supported Rockchip variants descri= be a separate PHY? Commit 2ebbeea89df4 ("drm/rockchip: analogix_dp: Add support for RK3568") added rockchip,rk3568-edp, which also has no separate PHY driver or binding and powers its eDP PHY via optional avdd-0v9 and avdd-1v8 supplies in rockchip_dp_of_probe(). The comment and commit message could avoid singling out RK3399 as the only variant without a separate PHY. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206050359.2027= 72-1-jerrysteve1101@gmail.com?part=3D1