drivers: pca9420: Added voltage level support for PCA9420

This commit adds support for editing the voltage levels on the buck
regulators on the PCA9420 PMIC

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2021-09-24 17:11:54 -05:00 committed by Christopher Friedt
commit 423dff8a51
2 changed files with 73 additions and 4 deletions

View file

@ -81,7 +81,7 @@ int regulator_get_voltage(const struct device *dev);
* @param max_uA: maximum microamps
* @return 0 on success, or errno on error
*/
int regulator_set_current_limit(const struct device *dev);
int regulator_set_current_limit(const struct device *dev, int min_uA, int max_uA);
/**
* @brief Get regulator output current.