Skip to content

Commit

Permalink
Merge "Change documentation for AP_POWER_STATE_REQ" into main am: 53e…
Browse files Browse the repository at this point in the history
…667a

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3270281

Change-Id: Ie8c3bcd834cc6d4a52ac508ec7572f90a1643c0a
Signed-off-by: Automerger Merge Worker <[email protected]>
  • Loading branch information
Terry Guan authored and android-build-merge-worker-robot committed Sep 20, 2024
2 parents 1a3fc0f + 53e667a commit 220796c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
{
"name": "AP_POWER_STATE_REQ",
"value": 289475072,
"description": "Property to control power state of application processor\nIt is assumed that AP's power state is controlled by a separate power controller.\nFor configuration information, VehiclePropConfig.configArray must have bit flag combining values in VehicleApPowerStateConfigFlag.\nint32Values[0] : VehicleApPowerStateReq enum value int32Values[1] : additional parameter relevant for each state, 0 if not used."
"description": "Property to control power state of application processor\nIt is assumed that AP's power state is controlled by a separate power controller.\nFor configuration information, VehiclePropConfig.configArray must have bit flag combining values in VehicleApPowerStateConfigFlag.\nconfigArray[0] : Bit flag combining values in VehicleApPowerStateConfigFlag, 0x0 if not used, 0x1 for enabling suspend to ram, 0x2 for supporting powering on AP from off state after timeout. 0x4 for enabling suspend to disk,\nint32Values[0] : VehicleApPowerStateReq enum value int32Values[1] : additional parameter relevant for each state, 0 if not used."
},
{
"name": "AP_POWER_STATE_REPORT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1677,6 +1677,12 @@ enum VehicleProperty {
* For configuration information, VehiclePropConfig.configArray must have bit flag combining
* values in VehicleApPowerStateConfigFlag.
*
* configArray[0] : Bit flag combining values in VehicleApPowerStateConfigFlag,
* 0x0 if not used,
* 0x1 for enabling suspend to ram,
* 0x2 for supporting powering on AP from off state after timeout.
* 0x4 for enabling suspend to disk,
*
* int32Values[0] : VehicleApPowerStateReq enum value
* int32Values[1] : additional parameter relevant for each state,
* 0 if not used.
Expand Down

0 comments on commit 220796c

Please sign in to comment.