Skip to content

Commit 0bdb959

Browse files
EmilioCBendanieldegrasse
authored andcommitted
drivers: misc: mcux_flexio: Set the DOZEN bit
Setting the DOZEN bit in the flexio so the soc does not force the peripheral to go into low power mode when the soc is in idle. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
1 parent 809c855 commit 0bdb959

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/misc/mcux_flexio/mcux_flexio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ static int mcux_flexio_init(const struct device *dev)
132132
k_mutex_init(&data->lock);
133133

134134
FLEXIO_GetDefaultConfig(&flexio_config);
135+
flexio_config.enableInDoze = true;
136+
135137
FLEXIO_Init(config->base, &flexio_config);
136138
config->irq_config_func(dev);
137139

0 commit comments

Comments
 (0)