linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] typec: tcpm: Populate fwnode for use in power_supply core
@ 2018-05-22 15:16 Adam Thomson
  2018-05-22 15:16 ` [PATCH 1/2] power: supply: Add fwnode pointer to power_supply_config struct Adam Thomson
  2018-05-22 15:16 ` [PATCH 2/2] typec: tcpm: Provide fwnode pointer as part of psy_cfg Adam Thomson
  0 siblings, 2 replies; 7+ messages in thread
From: Adam Thomson @ 2018-05-22 15:16 UTC (permalink / raw)
  To: Heikki Krogerus, Guenter Roeck, Greg Kroah-Hartman,
	Sebastian Reichel
  Cc: linux-usb, linux-pm, linux-kernel, support.opensource

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-05-23  6:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 15:16 [PATCH 0/2] typec: tcpm: Populate fwnode for use in power_supply core Adam Thomson
2018-05-22 15:16 ` [PATCH 1/2] power: supply: Add fwnode pointer to power_supply_config struct Adam Thomson
2018-05-22 16:15   ` Sebastian Reichel
2018-05-23  6:48   ` Heikki Krogerus
2018-05-22 15:16 ` [PATCH 2/2] typec: tcpm: Provide fwnode pointer as part of psy_cfg Adam Thomson
2018-05-22 16:08   ` Guenter Roeck
2018-05-23  6:52   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).