Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 2c85ebc57b3e1817b6ce1a6b703928e113a90442 authored by Linus Torvalds on 13 December 2020, 22:41:30 UTC
Linux 5.10
Tip revision: 2c85ebc
da9150-charger.txt
Dialog Semiconductor DA9150 Charger Power Supply bindings

Required properties:
- compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply

Optional properties:
- io-channels: List of phandle and IIO specifier pairs
- io-channel-names: List of channel names used by charger
      ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"]
  (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info)


Example:

	da9150-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";
	};
back to top