lkml.org 
[lkml]   [2018]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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

\
 
 \ /
  Last update: 2018-05-22 17:16    [W:0.068 / U:2.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site