Re: [PATCH v3] drm/bridge: ite-it6263: Support power cycle in runtime
From: Liu Ying
Date: Wed Apr 22 2026 - 02:04:24 EST
Hi Biju,
On Tue, Apr 21, 2026 at 11:53:32AM +0100, Biju wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> On the RZ/G3L SMARC EVK, suspend to RAM powers down the ITE IT6263 chip.
> The display controller driver's system PM callbacks invoke
> drm_mode_config_helper_{suspend,resume}, which in turn call the bridge's
> atomic_{disable,enable} callbacks to handle suspend/resume for the bridge
> without dedicated PM ops.
>
> To support proper reinitialization after power loss, move reset_gpio into
> the it6263 struct so it is accessible beyond probe time. Relocate
> it6263_hw_reset(), it6263_lvds_set_i2c_addr(), it6263_lvds_config() and
> it6263_hdmi_config() from probe to atomic_enable, ensuring the chip is
> fully reset and reconfigured on every enable, including after a
> suspend/resume cycle.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> Tested s2idle, s2ram and hotplug on Renesas RZ/G3L SMARC EVK platform.
> v2->v3:
> * Updated commit header and description.
> * Dropped it6263_bridge_{init,uninit}().
> * Restored regulator_bulk_enable in probe().
> * Dropped the variable powered, supplies and num_supplies from
> struct it6263.
> * Added reset, I2C address configuration, and LVDS/HDMI initialisation to
> the atomic_enable callback so that the hardware is fully reinitialised
> after each power cycle. Correspondingly, remove these steps from probe,
> since they are no longer needed there.
> * Dropped the remove callback as it is not needed.
> v1->v2:
> * Dropped system PM callbacks instead using bridge's
> atomic_{disable,enable} callbacks to handle suspend/resume.
> ---
> drivers/gpu/drm/bridge/ite-it6263.c | 26 +++++++++++++-------------
> 1 file changed, 13 insertions(+), 13 deletions(-)
The subject no longer summaries what this patch does.
Can you change it to be something like:
drm/bridge: ite-it6263: Move chip initialization code from probe to atomic_enable
?
Otherwise, I'll provide my R-b tag.
--
Regards,
Liu Ying