Skip to content

typec: tcpm: Populate fwnode for use in power_supply core

Adam Thomson linux-pm linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2power: supply: Add fwnode pointer to power_supply_config structdrivers/power/supply/power_supply_core.c include/linux/power_supply.h+5 -12 replies
2/2typec: tcpm: Provide fwnode pointer as part of psy_cfgdrivers/usb/typec/tcpm.c+2 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSebastian ReichelHeikki KrogerusGuenter Roeck
1/2R-b R-b R-b R-b
2/2R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
1.9.1