ANDROID: GKI: Pad vendor properties to power_supply_property enum

Reserve 2 vendor properties to `enum power_supply_property` in
preparation to accept backports related to power supply properties
without breaking KMI.

These are the following properties added:
  * Vendor Identifier (VID): Assigned to the battery manufacturer by USB
    Implementers Forum (USB-IF).
  * Product Identifier (PID) assigned by the manufacturer to the
    battery.

Link to the expected backports in later releases:
https://lore.kernel.org/all/20250507-batt_ops-v2-0-8d06130bffe6@google.com/

Bug: 417547450
Bug: 317920498
Change-Id: I22980870083bdeab22d5e04e3d8efe975d7ff38e
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
This commit is contained in:
Amit Sunil Dhamne
2025-05-14 11:34:48 -07:00
committed by Carlos Llamas
parent 61de19b772
commit a052d19e1c

View File

@@ -181,6 +181,12 @@ enum power_supply_property {
POWER_SUPPLY_PROP_MODEL_NAME,
POWER_SUPPLY_PROP_MANUFACTURER,
POWER_SUPPLY_PROP_SERIAL_NUMBER,
/*
* Properties of type `int'. Appended at the end of list to minimize ABI
* breakage.
*/
POWER_SUPPLY_PROP_USBIF_VENDOR_ID,
POWER_SUPPLY_PROP_USBIF_PRODUCT_ID,
};
enum power_supply_type {