mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
Pull power supply and reset updates from Sebastian Reichel:
"Power-supply core:
- replace power_supply_register_no_ws() with power_supply_register()
and a new "no_wakeup_source" field in struct power_supply_config
- constify battery info tables in the core and all drivers
- switch back to remove callback for all platform drivers
- allow power_supply_put() to be called from atomic context
- mark attribute arrays read-only after init
Power-supply drivers:
- new driver for TWL6030 and TWL6032
- rk817: improve battery capacity calibration
- misc small cleanups and fixes"
* tag 'for-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (42 commits)
power: reset: ep93xx: add AUXILIARY_BUS dependency
dt-bindings: power: reset: Convert mode-.* properties to array
power: supply: sc27xx: Fix battery detect GPIO probe
dt-bindings: power: supply: sc27xx-fg: document deprecated bat-detect-gpio
reset: keystone-reset: remove unused macros
power: supply: axp20x_battery: Use scaled iio_read_channel
power: supply: axp20x_usb_power: Use scaled iio_read_channel
power: supply: generic-adc-battery: change my gmail
power: supply: pmu_battery: Set power supply type to BATTERY
power: Switch back to struct platform_driver::remove()
power: supply: hwmon: move interface to private header
power: supply: rk817: Update battery capacity calibration
power: supply: rk817: stop updating info in suspend
power: supply: rt9471: Use IC status regfield to report real charger status
power: supply: rt9471: Fix wrong WDT function regfield declaration
dt-bindings: power/supply: qcom,pmi8998-charger: Drop incorrect "#interrupt-cells" from example
power: supply: core: mark attribute arrays as ro_after_init
power: supply: core: unexport power_supply_property_is_writeable()
power: supply: core: use device mutex wrappers
power: supply: bq27xxx: Fix registers of bq27426
...
74 lines
1.4 KiB
YAML
74 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply
|
|
|
|
maintainers:
|
|
- Sebastian Reichel <sre@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: power-supply.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- sprd,sc2720-fgu
|
|
- sprd,sc2721-fgu
|
|
- sprd,sc2723-fgu
|
|
- sprd,sc2730-fgu
|
|
- sprd,sc2731-fgu
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
battery-detect-gpios:
|
|
maxItems: 1
|
|
|
|
bat-detect-gpio:
|
|
maxItems: 1
|
|
deprecated: true
|
|
description: use battery-detect-gpios instead
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
io-channels:
|
|
items:
|
|
- description: Battery Temperature ADC
|
|
- description: Battery Charge Voltage ADC
|
|
|
|
io-channel-names:
|
|
items:
|
|
- const: bat-temp
|
|
- const: charge-vol
|
|
|
|
nvmem-cells:
|
|
maxItems: 1
|
|
description: Calibration cells provided by eFuse device
|
|
|
|
nvmem-cell-names:
|
|
const: fgu_calib
|
|
|
|
sprd,calib-resistance-micro-ohms:
|
|
description: real resistance of coulomb counter chip in micro Ohms
|
|
|
|
monitored-battery: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- battery-detect-gpios
|
|
- interrupts
|
|
- io-channels
|
|
- io-channel-names
|
|
- nvmem-cells
|
|
- nvmem-cell-names
|
|
- sprd,calib-resistance-micro-ohms
|
|
- monitored-battery
|
|
|
|
additionalProperties: false
|
|
...
|