]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: anx7625: disable regulators when power off
authorHsin-Yi Wang <hsinyi@chromium.org>
Thu, 1 Apr 2021 05:32:02 +0000 (13:32 +0800)
committerRobert Foss <robert.foss@linaro.org>
Thu, 1 Apr 2021 08:38:02 +0000 (10:38 +0200)
commit6c744983004ebc66756e582294672f8b991288d5
treeafcbfb6a83057e589cc8045b77b39af40a3e8baa
parent2f240cdb23e9cde551d99c77f4e60062188d8d81
drm/bridge: anx7625: disable regulators when power off

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@chromium.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210401053202.159302-2-hsinyi@chromium.org
drivers/gpu/drm/bridge/analogix/anx7625.c
drivers/gpu/drm/bridge/analogix/anx7625.h