Skip to content

Commit f1ef30d

Browse files
EmilioCBenseyoungjeong
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 3f87d7c commit f1ef30d

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)