boards: shields: add support for low power on G1120B0MIPI using RT595

Add support for low power mode on the G1120B0MIPI using the RT595. This
configuration is tested via a testcase in samples/drivers/display, which
should validate that the display can be driven by the RT595 when
CONFIG_PM and CONFIG_PM_DEVICE are set.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2023-11-08 16:24:04 -06:00 committed by Carles Cufí
commit d6d3f9f16a
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/*
* Copyright 2023, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Change deep sleep config for suspend mode to keep SMARTDMA ram powered,
* so the SMARTDMA will continue functioning after deep sleep
*/
&suspend {
deep-sleep-config = <0xC800>,
<0x80030004>,
<0xFFFFFFFF>,
<0>;
};

View file

@ -131,3 +131,14 @@ tests:
harness: console
harness_config:
fixture: fixture_display
sample.display.g1120b0mipi:
platform_allow: mimxrt595_evk_cm33
tags: display
harness: console
extra_args: SHIELD=g1120b0mipi
extra_configs:
- CONFIG_PM=y
- CONFIG_PM_DEVICE=y
- CONFIG_IDLE_STACK_SIZE=400
harness_config:
fixture: fixture_display