blob: 0c2bcd202f7e038d35eef93d9e7e3bd48150f810 [file] [log] [blame]
Ed Tanousf7b0e072020-11-05 08:34:43 -08001description: >
2 Implement to provide control of voltage regulator devices from dbus
3 Control.VoltageRegulatorProfile.Supported is read only. Implementation of
4 the Supported property populates the list of supported modes. In the case
5 where the VR has a well defined default, implementations should place the
Patrick Williamsa1347412022-12-06 10:56:22 -06006 default in index 0. Control.VoltageRegulatorProfile.Current is read/write
7 and sets the implementation specific mode for the voltage regulator to run
8 in. The definitions of said enum are implementation defined, as systems
9 likely will have a multitude of possible states. Some examples of naming
10 might be "HighPower" or "LowPower" in the case of bipolar power states, or
11 might be something more complex like, "Profile 1", "Profile 2", "Profile 3"
12 if the VR itself defines the interfaces. Implementations may implement this
13 alongside to a VoltageRegulatorControl interface, and may react to the
14 results of changes to the Control interface.
Ed Tanousf7b0e072020-11-05 08:34:43 -080015
16properties:
17 - name: Supported
18 type: array[string]
19 flags:
20 - readonly
21 description: >
22 An implementation specific list of supported modes that the voltage
23 regulator control application can be configured to provide for a
24 platform.
25 - name: Selected
26 type: string
27 default: "Default"
28 description: >
29 The current mode the voltage regulator control application should
30 use. This can be read to verify the current mode, or written to
31 change to a new mode.