"Fossies" - the Fresh Open Source Software Archive

Member "linux-5.3.1/Documentation/devicetree/bindings/hwmon/ltc2990.txt" (21 Sep 2019, 962 Bytes) of package /linux/kernel/v5.3/linux-5.3.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ltc2990: Linear Technology LTC2990 power monitor
    2 
    3 Required properties:
    4 - compatible: Must be "lltc,ltc2990"
    5 - reg: I2C slave address
    6 - lltc,meas-mode:
    7 	An array of two integers for configuring the chip measurement mode.
    8 
    9 	The first integer defines the bits 2..0 in the control register. In all
   10 	cases the internal temperature and supply voltage are measured. In
   11 	addition the following input measurements are enabled per mode:
   12 
   13 		0: V1, V2, TR2
   14 		1: V1-V2, TR2
   15 		2: V1-V2, V3, V4
   16 		3: TR1, V3, V4
   17 		4: TR1, V3-V4
   18 		5: TR1, TR2
   19 		6: V1-V2, V3-V4
   20 		7: V1, V2, V3, V4
   21 
   22 	The second integer defines the bits 4..3 in the control register. This
   23 	allows a subset of the measurements to be enabled:
   24 
   25 		0: Internal temperature and supply voltage only
   26 		1: TR1, V1 or V1-V2 only per mode
   27 		2: TR2, V3 or V3-V4 only per mode
   28 		3: All measurements per mode
   29 
   30 Example:
   31 
   32 ltc2990@4c {
   33 	compatible = "lltc,ltc2990";
   34 	reg = <0x4c>;
   35 	lltc,meas-mode = <7 3>;	/* V1, V2, V3, V4 */
   36 };