Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply
Schema identifier ($id): "http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):power-supply.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sprd,sc2720-fgu", "sprd,sc2721-fgu", "sprd,sc2723-fgu", "sprd,sc2730-fgu", "sprd,sc2731-fgu"
reg — required here #
Maximum number of items (maxItems): 1
battery-detect-gpios — required here #
Maximum number of items (maxItems): 1
bat-detect-gpio — not listed as required here #
Maximum number of items (maxItems): 1
Deprecated (deprecated): true
use battery-detect-gpios instead
interrupts — required here #
Maximum number of items (maxItems): 1
io-channels — required here #
Array item rules (items) #
Item 1
Battery Temperature ADC
Item 2
Battery Charge Voltage ADC
io-channel-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bat-temp"
Item 2
Exact value (
const):"charge-vol"
nvmem-cells — required here #
Maximum number of items (maxItems): 1
Calibration cells provided by eFuse device
nvmem-cell-names — required here #
Exact value (const): "fgu_calib"
sprd,calib-resistance-micro-ohms — required here #
real resistance of coulomb counter chip in micro Ohms
monitored-battery — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "battery-detect-gpios", "interrupts", "io-channels", "io-channel-names", "nvmem-cells", "nvmem-cell-names", "sprd,calib-resistance-micro-ohms", "monitored-battery"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0