platform/x86: x86-android-tablets: Add generic_lipo_4v2_battery info
authorHans de Goede <hansg@kernel.org>
Mon, 9 Jun 2025 10:46:19 +0000 (12:46 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 30 Jun 2025 10:05:12 +0000 (13:05 +0300)
commita8fc1224f2318d3e5948671d1cad458e6372d921
tree0da5b41c6fdb0f7b2e922b1cb219363b7d3ff8aa
parent73f0f2b52c5ea67b3140b23f58d8079d158839c8
platform/x86: x86-android-tablets: Add generic_lipo_4v2_battery info

Move the asus_tf103c_battery_node to shared-psy-info.c and rename it to
generic_lipo_4v2_battery_node.

This is a preparation patch for adding ovc-capacity-table info to
the battery nodes.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250609104620.25896-1-hansg@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/x86-android-tablets/asus.c
drivers/platform/x86/x86-android-tablets/shared-psy-info.c
drivers/platform/x86/x86-android-tablets/shared-psy-info.h