Re: [PATCH 2/2] drm/bridge: anx7625: disable regulators when power off

From: Xin Ji
Date: Thu Nov 12 2020 - 21:34:48 EST


On Thu, Nov 12, 2020 at 04:37:04PM +0800, Hsin-Yi Wang wrote:
> When suspending the driver, anx7625_power_standby() will be called to
> turn off reset-gpios and enable-gpios. However, power supplies are not
> disabled. To save power, the driver can get the power supply regulators
> and turn off them in anx7625_power_standby().
>
> Signed-off-by: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/analogix/anx7625.c | 25 +++++++++++++++++++++++
> drivers/gpu/drm/bridge/analogix/anx7625.h | 1 +
> 2 files changed, 26 insertions(+)

Reviewed-by: Xin Ji <xji@xxxxxxxxxxxxxxxx>