1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Palmas general purpose ADC IP block
10 - Tony Lindgren <tony@atomide.com>
13 This ADC is often used to provide channels via the io-channels
17 1 battery temp NTC (optional current source)
19 3 temp (with ext. diode, optional current source)
24 8 Backup Battery voltage
25 9 external charger (VCHG)
27 11 DC-DC current probe (how does this work?)
35 const: ti,palmas-gpadc
44 ti,channel0-current-microamp:
45 description: Channel 0 current in uA.
52 ti,channel3-current-microamp:
53 description: Channel 3 current in uA.
60 ti,enable-extended-delay:
61 $ref: /schemas/types.yaml#/definitions/flag
62 description: Enable extended delay.
64 additionalProperties: false