Home
last modified time | relevance | path

Searched hist:"972 b3d9a307cd8b1773004ff7098517e83728d56" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/include/drivers/
H A Dstpmic1.h972b3d9a307cd8b1773004ff7098517e83728d56 Wed Apr 29 07:08:45 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> stpmic1: relax PMIC control API functions

Return an error if requested to save Low Power regulator data
if there is no Low Power control defined. This changes
stpmic1_lp_cfg(), stpmic1_lp_reg_on_off() and stpmic1_lp_copy_reg()
to return with a error if regulator does not support Low Power config.

Add helper function to stpmic1_regu_has_lp_cfg() to return if a
regulator defines Low Power configuration.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
/optee_os/core/drivers/
H A Dstpmic1.c972b3d9a307cd8b1773004ff7098517e83728d56 Wed Apr 29 07:08:45 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> stpmic1: relax PMIC control API functions

Return an error if requested to save Low Power regulator data
if there is no Low Power control defined. This changes
stpmic1_lp_cfg(), stpmic1_lp_reg_on_off() and stpmic1_lp_copy_reg()
to return with a error if regulator does not support Low Power config.

Add helper function to stpmic1_regu_has_lp_cfg() to return if a
regulator defines Low Power configuration.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>