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=1796355595; b=ZJA3gEoI+nJ6FTeT/FRiNnB9LeYEqTKYWiL1+pMtVzcYiMZeyqLMeySyRJk4VxP29McS okssMIxLOddqaCvd+4blhOlnkbR723wBxp7OoOJYPzVKZ0oR+8cGKBgaz58Ljlpj8HCW2 cXvE5k2wYiWFH1JWeNapLFXIiimWYtTiQgBXDU5hEnIjQvaqmv4IOqIolWT0W8pqfo/0s FsjZ8mtk2cnjCG077H8Pw4hMCPrCDbUC4IneIQMktLhveq1YBXx7fX6JwFy6SSTWuviC+ T1fXLE+oXXr7PqUqQUJyxqpye/OWPud4PJ5AycuEjkVuyRTvZ3pN5JowM7dA/cPri/w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355595; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=PwHs7Wccae0fimfnpOou7qVpy9i4YRqzq/KHSExNrNI=; b=sLnEz2Lai+jV/IcC0z24S3lG8FJvpBcE1Op4hdDJddiji4AX3iXsC4GTd0w3Xkm7mzoT o1xkHNlYtisYKZg5xNPqYv73OvoB8irP5VuRtdwGTG2AxU7mqq9VV18T+lvBaLmtetXlV MzAPejmAksmOiQDgxMX6tiKKy6U5nouG9g1kUpz05ce2JqNdnlJlm1thjAUvzD8iKiuHs 2BhVzinHMKkVXuJXLervcYkiAu0iVDUcU7qmdcz1c4Y/4NvMb9y0E/Kv5ZTbKBQ3WkiDy 1TLVGWDQqrRuCzJ2LOpqiU/yst2pWBo/p9W1JQLx3v6zyiPNqyHty688yl6YDFjxPHQ== 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=V+eWYsz4; 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 80A06606A322 for ; Fri, 4 Dec 2026 03:39:55 +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=V+eWYsz4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CBB61F000C2; Fri, 4 Dec 2026 03:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796355595; bh=PwHs7Wccae0fimfnpOou7qVpy9i4YRqzq/KHSExNrNI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=V+eWYsz4AHff1zC29rsJNp4FoIsTRxUpfadkO908Ua89hJ3jsmQUeRosQ07ySrBnY ZEHrKy72akQqwjlUyX72AIs8zNbKNhrduqplASscr5J5Y3o97RTJRdCjZv1B+9+f5l K00oukw/de3bd1GuqqpL/MijVX+Wi+jBS+Z0hp6asFUWhSGl8/Q/K+9VEIwMDkaayS mSHAJ6vzv/TRQdvAob1dWKJYlOcIsFCUIEnjU9vXw6jSOJWdnCQyYGKEn/CcH0J1Jd O7+pMQSPG3XNo69cypxXmdNyzDRohnAfCzUTmGx99Tnxq/TQtYEJ1JmO2iFYE427LX 6WUZR354jld/Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v9 05/10] phy: rockchip-samsung-dcphy: Move block-level setup to runtime resume Reply-To: sashiko-reviews@lists.linux.dev To: "Jason Yang" Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org, olteanv@gmail.com In-Reply-To: <20261204-dcphy-rx-v1-v9-5-fad1cfe7f536@gmail.com> References: <20261204-dcphy-rx-v1-v9-0-fad1cfe7f536@gmail.com> <20261204-dcphy-rx-v1-v9-5-fad1cfe7f536@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 03:39:54 +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] phy: rockchip-samsung-dcphy: missing sleep PM ops skips resume block setup -- commit 4179da7a9e65e011632408fb8d55534496e89b4a Author: Jason Yang phy: rockchip-samsung-dcphy: Move block-level setup to runtime resume This commit moves the APB reset pulse and BIAS block setup out of the D-PHY power-on path into samsung_mipi_dcphy_runtime_resume() so they are performed once at the block level. > diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c b/drivers/= phy/rockchip/phy-rockchip-samsung-dcphy.c > index 7a009d87a6656..d6acc3e2d4486 100644 > --- a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c > +++ b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c [ ... ] > @@ -1667,6 +1662,12 @@ static __maybe_unused int samsung_mipi_dcphy_runti= me_resume(struct device *dev) > return ret; > } > =20 > + reset_control_assert(samsung->apb_rst); > + udelay(1); > + reset_control_deassert(samsung->apb_rst); > + > + samsung_mipi_dcphy_bias_block_enable(samsung); > + > return 0; > } [Severity: Medium] Can moving apb_rst and samsung_mipi_dcphy_bias_block_enable() into samsung_mipi_dcphy_runtime_resume() skip block setup across system suspend and resume? samsung_mipi_dcphy_pm_ops has no system sleep callbacks. Because device_prepare() holds a runtime PM reference until device_complete(), an active DSI2 display keeps the PHY runtime-active across system sleep and samsung_mipi_dcphy_runtime_resume() never runs. If the block loses power or is reset during system sleep or hibernation restore, apb_rst and the bias registers are not re-programmed before phy_power_on(), leaving the display unable to recover on resume. Adding late system sleep callbacks using pm_runtime_force_suspend() and pm_runtime_force_resume() would ensure the runtime PM callbacks run across system sleep around the consumer's suspend and resume paths. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-dcphy-rx-v= 1-v9-0-fad1cfe7f536@gmail.com?part=3D5