Commit 0bdb9595 authored by Emilio Benavente's avatar Emilio Benavente Committed by Daniel DeGrasse
Browse files

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: default avatarEmilio Benavente <emilio.benavente@nxp.com>
parent 809c855a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -132,6 +132,8 @@ static int mcux_flexio_init(const struct device *dev)
	k_mutex_init(&data->lock);

	FLEXIO_GetDefaultConfig(&flexio_config);
	flexio_config.enableInDoze = true;

	FLEXIO_Init(config->base, &flexio_config);
	config->irq_config_func(dev);