Dialog Semiconductor DA9150 Charger Power Supply

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/dlg,da9150-charger.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 #

Exact value (const): "dlg,da9150-charger"

io-channels — not listed as required here #

Array item rules (items) #

Item 1

ADC channel for current

Item 2

ADC channel for bus voltage

Item 3

ADC channel for junction temperature

Item 4

ADC channel for battery voltage

io-channel-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "CHAN_IBUS"

Item 2

Exact value (const): "CHAN_VBUS"

Item 3

Exact value (const): "CHAN_TJUNC"

Item 4

Exact value (const): "CHAN_VBAT"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmic {
  charger {
    compatible = "dlg,da9150-charger";
    io-channels = <&gpadc 0>,
                  <&gpadc 2>,
                  <&gpadc 8>,
                  <&gpadc 5>;
    io-channel-names = "CHAN_IBUS",
                       "CHAN_VBUS",
                       "CHAN_TJUNC",
                       "CHAN_VBAT";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page