WSL2-Linux-Kernel/drivers/power/supply
Adam Thomson ece711b5a4 power: supply: Add fwnode pointer to power_supply_config struct
To allow users of the power supply framework to be hw description
agnostic, this commit adds the ability to pass a fwnode pointer,
via the power_supply_config structure, to the initialisation code
of the core, instead of explicitly specifying of_ndoe. If that
fwnode pointer is provided then it will automatically resolve down
to of_node on platforms which support it, otherwise it will be NULL.

In the future, when ACPI support is added, this can be modified to
accommodate ACPI without the need to change calling code which
already provides the fwnode handle in this manner.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-24 18:14:27 +02:00
..
88pm860x_battery.c
88pm860x_charger.c
Kconfig Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2017-11-15 10:14:11 -08:00
Makefile
ab8500_bmdata.c
ab8500_btemp.c
ab8500_charger.c power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()' 2017-12-01 16:21:18 +01:00
ab8500_fg.c
abx500_chargalg.c
act8945a_charger.c
apm_power.c
axp20x_ac_power.c power: supply: account for const type of of_device_id.data 2018-01-08 18:40:46 +01:00
axp20x_battery.c power: supply: axp20x_battery: add support for AXP813 2018-03-09 16:52:33 +01:00
axp20x_usb_power.c
axp288_charger.c power: supply: axp288_charger: Properly stop work on probe-error / remove 2018-01-08 18:38:57 +01:00
axp288_fuel_gauge.c power: supply: axp288_fuel_gauge: Fix full status reporting 2018-03-09 18:02:20 +01:00
bq27xxx_battery.c power: supply: bq27xxx: support missing supplier device 2018-03-12 14:30:09 +01:00
bq27xxx_battery_hdq.c
bq27xxx_battery_i2c.c Add support for bq27521 battery monitor 2017-12-08 18:02:15 +01:00
bq2415x_charger.c power: supply: bq2415x: add DT referencing support 2018-03-12 14:34:51 +01:00
bq24190_charger.c bq24190: Simplify code in property_is_writeable 2018-01-08 18:40:06 +01:00
bq24257_charger.c
bq24735-charger.c
bq25890_charger.c
charger-manager.c power: supply: charger-manager: Fix typo in condition 2017-12-01 16:14:06 +01:00
collie_battery.c
cpcap-battery.c power: supply: cpcap-battery: Fix platform_get_irq_byname's error checking 2017-12-01 16:22:10 +01:00
cpcap-charger.c
da9030_battery.c
da9052-battery.c
da9150-charger.c
da9150-fg.c power: supply: da9150-fg: remove VLA usage 2018-03-12 14:34:52 +01:00
ds2760_battery.c
ds2780_battery.c power: add to_power_supply macro to the API 2018-02-21 23:27:13 +01:00
ds2781_battery.c power: add to_power_supply macro to the API 2018-02-21 23:27:13 +01:00
ds2782_battery.c
generic-adc-battery.c
goldfish_battery.c
gpio-charger.c power: supply: gpio-charger: Remove pdata from gpio_charger 2018-03-09 16:50:28 +01:00
ipaq_micro_battery.c
isp1704_charger.c
jz4740-battery.c
lego_ev3_battery.c
lp8727_charger.c
lp8788-charger.c
ltc2941-battery-gauge.c Merge branch 'fixes' into for-next 2018-03-12 14:35:10 +01:00
ltc3651-charger.c
max1721x_battery.c
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max14577_charger.c
max14656_charger_detector.c
max17040_battery.c
max17042_battery.c max17042: propagate of_node to power supply device 2018-03-12 14:29:52 +01:00
max77693_charger.c
olpc_battery.c
pcf50633-charger.c
pda_power.c
pm2301_charger.c
pm2301_charger.h
pmu_battery.c
power_supply.h
power_supply_core.c power: supply: Add fwnode pointer to power_supply_config struct 2018-05-24 18:14:27 +02:00
power_supply_leds.c
power_supply_sysfs.c power: supply: Add 'usb_type' property and supporting code 2018-04-25 14:17:48 +02:00
qcom_smbb.c
rt5033_battery.c
rt9455_charger.c
rx51_battery.c
s3c_adc_battery.c
sbs-battery.c
sbs-charger.c
sbs-manager.c power: supply: sbs-message: double left shift bug in sbsm_select() 2017-12-01 16:08:00 +01:00
smb347-charger.c
test_power.c
tosa_battery.c
tps65090-charger.c
tps65217_charger.c
twl4030_charger.c
twl4030_madc_battery.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c