mb/google/zork: Turn off power to camera and pen in sleep path
This change turns off power to camera and pen devices when entering sleep since they do not act as wake sources in S3. Power to trackpad and WiFi is left enabled since they are wake sources for S3. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I21bcdd53370372c7d43c3b685abb2a9171e42d22 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2261115 Reviewed-by: Aaron Durbin <adurbin@google.com> Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42933 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
e266eb82d9
commit
17c46042eb
|
@ -32,6 +32,10 @@ const __weak struct soc_amd_gpio *variant_early_gpio_table(size_t *size)
|
|||
}
|
||||
|
||||
static const struct soc_amd_gpio gpio_sleep_table[] = {
|
||||
/* PEN_POWER_EN */
|
||||
PAD_GPO(GPIO_5, LOW),
|
||||
/* EN_PWR_CAMERA */
|
||||
PAD_GPO(GPIO_76, LOW),
|
||||
};
|
||||
|
||||
const __weak struct soc_amd_gpio *variant_sleep_gpio_table(size_t *size, int slp_typ)
|
||||
|
|
Loading…
Reference in New Issue