commit | 130f6eb8165b9ab36cb1ee765868abafa96b42de | [log] [tgz] |
---|---|---|
author | Daniel DeGrasse <daniel.degrasse@nxp.com> | Wed Sep 22 08:55:23 2021 -0500 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Wed Dec 08 08:27:44 2021 -0500 |
tree | e5e60f5a5d3c7e0f90df4d8e8c7c98f3d78ab123 | |
parent | b18aefdfd3cfffa987414ef2cab9c352e02fedd8 [diff] |
drivers: regulator: add i2c regulator driver This commit adds a generic i2c regulator driver, and enables the NXP PCA9420 PMIC IC using this driver. The regulator driver also exposes an additional API in include/drivers/regulator/consumer.h, which allows drivers to implement support for adjusting voltage levels and current limits, if their device supports it. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>