18c2ecf20Sopenharmony_ciDialog Semiconductor DA9150 Charger Power Supply bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "dlg,da9150-charger" for DA9150 Charger Power Supply 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciOptional properties: 78c2ecf20Sopenharmony_ci- io-channels: List of phandle and IIO specifier pairs 88c2ecf20Sopenharmony_ci- io-channel-names: List of channel names used by charger 98c2ecf20Sopenharmony_ci ["CHAN_IBUS", "CHAN_VBUS", "CHAN_TJUNC", "CHAN_VBAT"] 108c2ecf20Sopenharmony_ci (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info) 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciExample: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci da9150-charger { 168c2ecf20Sopenharmony_ci compatible = "dlg,da9150-charger"; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci io-channels = <&gpadc 0>, 198c2ecf20Sopenharmony_ci <&gpadc 2>, 208c2ecf20Sopenharmony_ci <&gpadc 8>, 218c2ecf20Sopenharmony_ci <&gpadc 5>; 228c2ecf20Sopenharmony_ci io-channel-names = "CHAN_IBUS", 238c2ecf20Sopenharmony_ci "CHAN_VBUS", 248c2ecf20Sopenharmony_ci "CHAN_TJUNC", 258c2ecf20Sopenharmony_ci "CHAN_VBAT"; 268c2ecf20Sopenharmony_ci }; 27