diff --git a/drivers/mfd/mfd_npm6001.c b/drivers/mfd/mfd_npm6001.c index 1a07779181..b03b10b4cb 100644 --- a/drivers/mfd/mfd_npm6001.c +++ b/drivers/mfd/mfd_npm6001.c @@ -11,6 +11,7 @@ #include /* nPM6001 registers */ +#define NPM6001_SWREADY 0x01U #define NPM6001_BUCK3SELDAC 0x44U #define NPM6001_BUCKMODEPADCONF 0x4EU #define NPM6001_PADDRIVESTRENGTH 0x53U @@ -60,6 +61,12 @@ static int mfd_npm6001_init(const struct device *dev) return ret; } + /* Enable switching to hysteresis mode */ + ret = i2c_reg_write_byte_dt(&config->i2c, NPM6001_SWREADY, 1U); + if (ret < 0) { + return ret; + } + return 0; }