Commit 6e5f094
Al Stone
power: supply: core: Add support for generic fwnodes to power_supply_get_battery_info()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071846
Tested: This is one of a series of patch sets to enable Arm SystemReady IR
support in the kernel for NXP i.MX8 platforms. This set updates the
power subsystem. This set has been tested via simple boot tests and
the CI loop.
commit c76787b
Author: Hans de Goede <hdegoede@redhat.com>
Date: Sun Feb 6 19:35:37 2022 +0100
power: supply: core: Add support for generic fwnodes to power_supply_get_battery_info()
Add support to power_supply_get_battery_info() to read the properties from
other fwnode types such as swnodes added by platform code on x86 devices.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
(cherry picked from commit c76787b)
Signed-off-by: Al Stone <ahs3@redhat.com>1 parent d4bd001 commit 6e5f094
1 file changed
+16
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
| 575 | + | |
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
| |||
610 | 611 | | |
611 | 612 | | |
612 | 613 | | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
618 | 618 | | |
619 | | - | |
620 | | - | |
621 | | - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
622 | 626 | | |
623 | | - | |
| 627 | + | |
| 628 | + | |
624 | 629 | | |
625 | 630 | | |
626 | 631 | | |
| |||
778 | 783 | | |
779 | 784 | | |
780 | 785 | | |
| 786 | + | |
781 | 787 | | |
782 | 788 | | |
783 | 789 | | |
| |||
0 commit comments