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 devicetree bindings
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
72 #include <dt-bindings/clock/mt8183-clk.h>
74 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
76 compatible = "ti,palmas-gpadc";
80 #io-channel-cells = <1>;
81 ti,channel0-current-microamp = <5>;
82 ti,channel3-current-microamp = <10>;