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:
parent
130f6eb816
commit
423dff8a51
2 changed files with 73 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue