ARM: tegra: add power-supplies link between battery and charger
The power supply core now supports detecting linkages between batteries and chargers through the use of the power-supplies property. Adding this to the battery, the core will use the phandle list to find the associated charger and pair them up. This facilitates notifications from the charger to the battery when ac power is dissconnected or connected for instance. Signed-off-by: NRhyland Klein <rklein@nvidia.com> Signed-off-by: NStephen Warren <swarren@nvidia.com>
Showing
想要评论请 注册 或 登录