brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 85bebeb Raw
53 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Dialog Semiconductor DA9150 Charger Power Supply8 9maintainers:10  - Sebastian Reichel <sre@kernel.org>11 12allOf:13  - $ref: power-supply.yaml#14 15properties:16  compatible:17    const: dlg,da9150-charger18 19  io-channels:20    items:21      - description: ADC channel for current22      - description: ADC channel for bus voltage23      - description: ADC channel for junction temperature24      - description: ADC channel for battery voltage25 26  io-channel-names:27    items:28      - const: CHAN_IBUS29      - const: CHAN_VBUS30      - const: CHAN_TJUNC31      - const: CHAN_VBAT32 33required:34  - compatible35 36additionalProperties: false37 38examples:39  - |40    pmic {41      charger {42        compatible = "dlg,da9150-charger";43        io-channels = <&gpadc 0>,44                      <&gpadc 2>,45                      <&gpadc 8>,46                      <&gpadc 5>;47        io-channel-names = "CHAN_IBUS",48                           "CHAN_VBUS",49                           "CHAN_TJUNC",50                           "CHAN_VBAT";51      };52    };53