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=1796355322; b=OUiP/xz3cKNYt/xJXgB6KsgDjGRxN/dhbX6PCec27MhUfxzjs/qBSPeTAJ4eG9Jwmrai aZHGP57fNKlrUtkPGkF7+5IEWR7fskjvlcvcSvHHmdZoeKgvXyhHgGuzUo/04j+EPWQdW 3+tdLO4IyXJURHheF1vRwNtY2VPP7nFhaDyd9ynaPQzhw8/LDyWMfP9XaxPGUek/z90HO KZ57VFx3zGOa6xzezf8fWwlPFAOYQHLYuRd8s9dxnH7DD9cg4PcR3/aS+5CskhQIXabdh 1SVLVkIsn3V+XT7uPmalIaJf84Baiq1FnbcN6z3hegDYZ6HIQM3Vsv8AoiRt7G5TW6g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355322; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=MYpwXIOqpVV7BiHInREConhNJVDFZu5hOJN302jccXg=; b=ML1p2wMRdcK6e5qWqJym5pumz+H3IUE538qk2tJnQHpz41JEUhRJsDJexehaW/lHKa6s CgMZCwp/AIeIWSpQV/ZRI9yUhefQM9tZ5bzdvV65fqe4oy6f0TZUfLd9vg4GvpXFHkzR0 2dvzeN8TBOBFGouy+gdoWc6g83QB/ExV2XKFj37r0T5cV3l8yZ0/9QqFfdVpU3d+8ipcC Ogupzyt+7voYoFAFD1NFOuDhwDPOmslQEUrjZ4Vjnrb9Y3Ybd0OvVGZ6Rx7CUE5CaEEPY xQHoqVABIHL09lVvy3gF+XWa1LrNfwFFAdD0J/Qc8qrwaASPeQKNcVRQn0yZS5Gv7pw== 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=LmkqDBMs; 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 31D58606A322 for ; Fri, 4 Dec 2026 03:35:22 +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=LmkqDBMs Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC0901F000CE; Fri, 4 Dec 2026 03:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796355322; bh=MYpwXIOqpVV7BiHInREConhNJVDFZu5hOJN302jccXg=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=LmkqDBMsm0hvlW7xp1bLXIGH4xm/D5Scw19vP8ulCauM0UIE1jfiXVfu2gPNOkuhz rLovMD/EsE9xSp/4UXTnSTlH9TjmsvCfgK4qC0ESycOF0xZiEDh1OnOy4zRj0N9yyy OLw7Q2s085SsiMmMMbx1RysrCGphzG+ncEEVvk8ISDsG5ifM+zLILaeXoMqh6RO9ew XylWdbdcTyvmuYhEjD+azMFw5SEHJUUIg/HOzw0VOwlQX65BbFA3K3XI6rREB2fer4 OMthrlrhb2Ttl5vcy60jFSVC/8gfsqtcrg1wC7tBs93UEQnKJvMEAcdIo5RUFe0vMZ 476CSMAmfshJw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v9 09/10] phy: rockchip-samsung-dcphy: Add MIPI D-PHY receiver support 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-9-fad1cfe7f536@gmail.com> References: <20261204-dcphy-rx-v1-v9-0-fad1cfe7f536@gmail.com> <20261204-dcphy-rx-v1-v9-9-fad1cfe7f536@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 03:35:21 +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: RX init/exit ops pin runtime PM while CSI-2 bound -- commit d94bd49bb07c64779e793ed448177cf659e5b863 Author: Jason Yang phy: rockchip-samsung-dcphy: Add MIPI D-PHY receiver support This commit adds MIPI D-PHY receiver support to the Rockchip Samsung DC-PHY driver, registering an RX PHY alongside the existing TX PHY so a MIPI CSI-2 camera can share the block on RK3588. > diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c b/drivers/= phy/rockchip/phy-rockchip-samsung-dcphy.c > index ee1c8f5219ae1..472a8fc62c4e7 100644 > --- a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c > +++ b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c [ ... ] > @@ -1543,6 +1919,15 @@ static const struct phy_ops samsung_mipi_dcphy_tx_= ops =3D { > .owner =3D THIS_MODULE, > }; > =20 > +static const struct phy_ops samsung_mipi_dcphy_rx_ops =3D { > + .configure =3D samsung_mipi_dcphy_rx_configure, > + .power_on =3D samsung_mipi_dcphy_rx_power_on, > + .power_off =3D samsung_mipi_dcphy_rx_power_off, > + .init =3D samsung_mipi_dcphy_init, > + .exit =3D samsung_mipi_dcphy_exit, > + .owner =3D THIS_MODULE, > +}; > + [Severity: Medium] Does wiring samsung_mipi_dcphy_init() and samsung_mipi_dcphy_exit() into samsung_mipi_dcphy_rx_ops pin runtime PM on samsung->dev while a CSI-2 receiver is bound? dw_mipi_csi2rx_probe() calls phy_init() at probe and only calls phy_exit() on remove. Because samsung_mipi_dcphy_init() holds a runtime PM reference on samsung->dev until exit, samsung->dev can never runtime-suspend, keeping pclk, ref_clk, and the BIAS block powered when both camera and DSI are idle. samsung_mipi_dcphy_probe() enables runtime PM before devm_phy_create(), so the PHY core already manages samsung->dev across phy_power_on() and phy_power_off(). Since samsung_mipi_dcphy_rx_configure() does no register I/O, omitting .init and .exit from samsung_mipi_dcphy_rx_ops avoids this. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-dcphy-rx-v= 1-v9-0-fad1cfe7f536@gmail.com?part=3D9