Add device map for wakeup attribution to felix

This xml maps the devices that can wake the main CPU up to subsystems
that use them.

Test: Builds, boots. Manualy verify the loaded map in the output of
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I3988cde6d8c5258c1f952ccd8c0a08143998473a
This commit is contained in:
Suprabh Shukla 2023-03-06 16:51:48 -08:00
parent b2955ae224
commit 4267c03e58

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2023, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License")
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<irq-device-map>
<device name="rtc-alarm0">
<subsystem>Alarm</subsystem>
</device>
<device name="dhdpcie_host_wake">
<subsystem>Wifi</subsystem>
</device>
</irq-device-map>