18c2ecf20Sopenharmony_ciltc2990: Linear Technology LTC2990 power monitor 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: Must be "lltc,ltc2990" 58c2ecf20Sopenharmony_ci- reg: I2C slave address 68c2ecf20Sopenharmony_ci- lltc,meas-mode: 78c2ecf20Sopenharmony_ci An array of two integers for configuring the chip measurement mode. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci The first integer defines the bits 2..0 in the control register. In all 108c2ecf20Sopenharmony_ci cases the internal temperature and supply voltage are measured. In 118c2ecf20Sopenharmony_ci addition the following input measurements are enabled per mode: 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci 0: V1, V2, TR2 148c2ecf20Sopenharmony_ci 1: V1-V2, TR2 158c2ecf20Sopenharmony_ci 2: V1-V2, V3, V4 168c2ecf20Sopenharmony_ci 3: TR1, V3, V4 178c2ecf20Sopenharmony_ci 4: TR1, V3-V4 188c2ecf20Sopenharmony_ci 5: TR1, TR2 198c2ecf20Sopenharmony_ci 6: V1-V2, V3-V4 208c2ecf20Sopenharmony_ci 7: V1, V2, V3, V4 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci The second integer defines the bits 4..3 in the control register. This 238c2ecf20Sopenharmony_ci allows a subset of the measurements to be enabled: 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci 0: Internal temperature and supply voltage only 268c2ecf20Sopenharmony_ci 1: TR1, V1 or V1-V2 only per mode 278c2ecf20Sopenharmony_ci 2: TR2, V3 or V3-V4 only per mode 288c2ecf20Sopenharmony_ci 3: All measurements per mode 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciExample: 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciltc2990@4c { 338c2ecf20Sopenharmony_ci compatible = "lltc,ltc2990"; 348c2ecf20Sopenharmony_ci reg = <0x4c>; 358c2ecf20Sopenharmony_ci lltc,meas-mode = <7 3>; /* V1, V2, V3, V4 */ 368c2ecf20Sopenharmony_ci}; 37