Skip to content

Commit d6d3f9f

Browse files
danieldegrassecarlescufi
authored andcommitted
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 <[email protected]>
1 parent 5997f3d commit d6d3f9f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright 2023, NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Change deep sleep config for suspend mode to keep SMARTDMA ram powered,
8+
* so the SMARTDMA will continue functioning after deep sleep
9+
*/
10+
&suspend {
11+
deep-sleep-config = <0xC800>,
12+
<0x80030004>,
13+
<0xFFFFFFFF>,
14+
<0>;
15+
};

samples/drivers/display/sample.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,14 @@ tests:
131131
harness: console
132132
harness_config:
133133
fixture: fixture_display
134+
sample.display.g1120b0mipi:
135+
platform_allow: mimxrt595_evk_cm33
136+
tags: display
137+
harness: console
138+
extra_args: SHIELD=g1120b0mipi
139+
extra_configs:
140+
- CONFIG_PM=y
141+
- CONFIG_PM_DEVICE=y
142+
- CONFIG_IDLE_STACK_SIZE=400
143+
harness_config:
144+
fixture: fixture_display

0 commit comments

Comments
 (0)