xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/da9150-charger.txt (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1Dialog Semiconductor DA9150 Charger Power Supply bindings
2
3Required properties:
4- compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply
5
6Optional properties:
7- io-channels: List of phandle and IIO specifier pairs
8- io-channel-names: List of channel names used by charger
9      ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
10  (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)
11
12
13Example:
14
15	da9150-charger {
16		compatible = "dlg,da9150-charger";
17
18		io-channels = <&gpadc 0>,
19			      <&gpadc 2>,
20			      <&gpadc 8>,
21			      <&gpadc 5>;
22		io-channel-names = "CHAN_IBUS",
23				   "CHAN_VBUS",
24				   "CHAN_TJUNC",
25				   "CHAN_VBAT";
26	};
27