[PATCH 0/2] typec: tcpm: Populate fwnode for use in power_supply core
From: Adam Thomson
Date: Tue May 22 2018 - 10:22:44 EST
This patch set adds support for passing a fwnode pointer as part of the psy
config structure, when intialising the psy core, so that calling code can be
written to be agnostic of the HW description required for the platform. The TCPM
code is updated subsequently to make use of this new field.
For now the main FW support in the psy core is still just DT based but in the
future ACPI will likely be added and can use this field.
Adam Thomson (2):
power: supply: Add fwnode pointer to power_supply_config struct
typec: tcpm: Provide fwnode pointer as part of psy_cfg
drivers/power/supply/power_supply_core.c | 4 +++-
drivers/usb/typec/tcpm.c | 2 ++
include/linux/power_supply.h | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
--
1.9.1