Skip to content

module/optee: Add voltage domain regulators

Created by: etienne-lms

Implements an OP-TEE voltage domain regulator module for voltage domains accessed through OP-TEE voltage regulators. OP-TEE regulator framework API is described in drivers/regulator.h header file [1].

The module treats voltage domains with a NULL OP-TEE regulator reference as voltage domain client cannot use yet allowing the client to query information about. In such case, the domain is treated as a reserved always off zero volt fixed voltage regulator.

[1] https://github.com/OP-TEE/optee_os/blob/master/core/include/drivers/regulator.h

Merge request reports