driver: gpio: mcp23xxx: increase reset pin pulse duration

The reset pulse is currently fixed at 1 µs, the minimum required for
the chip. However, a long reset pin trace can increases rise time, making
1 µs potentially insufficient for reliable detection of a reset signal.
Increase the pulse duration to 2 µs

Signed-off-by: Igor Knippenberg <igor.knippenberg@gmail.com>
This commit is contained in:
Igor Knippenberg 2025-01-17 15:55:58 +01:00 committed by Benjamin Cabé
commit a35fee8592

View file

@ -23,7 +23,7 @@
#include <zephyr/logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(gpio_mcp23xxx); LOG_MODULE_REGISTER(gpio_mcp23xxx);
#define MCP23XXX_RESET_TIME_US 1 #define MCP23XXX_RESET_TIME_US 2
/** /**
* @brief Reads given register from mcp23xxx. * @brief Reads given register from mcp23xxx.