Messages in this thread | | | From | Adam Thomson <> | Date | Tue, 22 May 2018 16:16:22 +0100 | Subject | [PATCH 0/2] typec: tcpm: Populate fwnode for use in power_supply core |
| |
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
| |