Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * LM90 series thermometer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required node properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible: manufacturer and chip name, one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 		"adi,adm1032"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 		"adi,adt7461"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 		"adi,adt7461a"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 		"gmt,g781"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 		"national,lm90"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 		"national,lm86"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 		"national,lm89"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 		"national,lm99"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 		"dallas,max6646"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		"dallas,max6647"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		"dallas,max6649"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		"dallas,max6657"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		"dallas,max6658"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		"dallas,max6659"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		"dallas,max6680"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		"dallas,max6681"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		"dallas,max6695"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		"dallas,max6696"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		"onnn,nct1008"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		"winbond,w83l771"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		"nxp,sa56004"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		"ti,tmp451"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - reg: I2C bus address of the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - vcc-supply: vcc regulator for the supply voltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - interrupts: Contains a single interrupt specifier which describes the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)               LM90 "-ALERT" pin output.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)               See interrupt-controller/interrupts.txt for the format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - #thermal-sensor-cells: should be set to 1. See thermal/thermal-sensor.yaml
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	      for details. See <include/dt-bindings/thermal/lm90.h> for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	      definition of the local, remote and 2nd remote sensor index
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	      constants.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Example LM90 node:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) temp-sensor {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	compatible = "onnn,nct1008";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	reg = <0x4c>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	vcc-supply = <&palmas_ldo6_reg>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	interrupt-parent = <&gpio>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	#thermal-sensor-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) }