Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aae7bce4 authored by Wei Ni's avatar Wei Ni Committed by Jean Delvare
Browse files

Documentation: dt: hwmon: Add OF document for LM90



Add OF document for LM90 in Documentation/devicetree/.

[JD: Add this new file to the LM90 MAINTAINERS entry.]

Signed-off-by: default avatarWei Ni <wni@nvidia.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 3e0f964f
Loading
Loading
Loading
Loading
+44 −0
Original line number Original line Diff line number Diff line
* LM90 series thermometer.

Required node properties:
- compatible: manufacturer and chip name, one of
		"adi,adm1032"
		"adi,adt7461"
		"adi,adt7461a"
		"gmt,g781"
		"national,lm90"
		"national,lm86"
		"national,lm89"
		"national,lm99"
		"dallas,max6646"
		"dallas,max6647"
		"dallas,max6649"
		"dallas,max6657"
		"dallas,max6658"
		"dallas,max6659"
		"dallas,max6680"
		"dallas,max6681"
		"dallas,max6695"
		"dallas,max6696"
		"onnn,nct1008"
		"winbond,w83l771"
		"nxp,sa56004"

- reg: I2C bus address of the device

- vcc-supply: vcc regulator for the supply voltage.

Optional properties:
- interrupts: Contains a single interrupt specifier which describes the
              LM90 "-ALERT" pin output.
              See interrupt-controller/interrupts.txt for the format.

Example LM90 node:

temp-sensor {
	compatible = "onnn,nct1008";
	reg = <0x4c>;
	vcc-supply = <&palmas_ldo6_reg>;
	interrupt-parent = <&gpio>;
	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
}
+1 −0
Original line number Original line Diff line number Diff line
@@ -5175,6 +5175,7 @@ M: Jean Delvare <khali@linux-fr.org>
L:	lm-sensors@lm-sensors.org
L:	lm-sensors@lm-sensors.org
S:	Maintained
S:	Maintained
F:	Documentation/hwmon/lm90
F:	Documentation/hwmon/lm90
F:	Documentation/devicetree/bindings/hwmon/lm90.txt
F:	drivers/hwmon/lm90.c
F:	drivers/hwmon/lm90.c


LM95234 HARDWARE MONITOR DRIVER
LM95234 HARDWARE MONITOR DRIVER