File tree Expand file tree Collapse file tree
arch/arm64/boot/dts/apple Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * Copyright The Asahi Linux Contributors
66 */
77
8- &smc {
9- hwmon {
10- apple,power-keys {
11- power-PSTR {
12- apple,key-id = "PSTR";
13- label = "Total System Power";
14- };
15- power-PDTR {
16- apple,key-id = "PDTR";
17- label = "AC Input Power";
18- };
19- power-PMVR {
20- apple,key-id = "PMVR";
21- label = "3.8 V Rail Power";
22- };
23- };
24- apple,temp-keys {
25- temp-TH0x {
26- apple,key-id = "TH0x";
27- label = "NAND Flash Temperature";
28- };
29- };
30- apple,volt-keys {
31- volt-VD0R {
32- apple,key-id = "VD0R";
33- label = "AC Input Voltage";
34- };
35- };
36- apple,current-keys {
37- current-ID0R {
38- apple,key-id = "ID0R";
39- label = "AC Input Current";
40- };
41- };
8+ &smc_hwmon {
9+ power-PSTR {
10+ apple,key-id = "PSTR";
11+ label = "Total System Power";
12+ };
13+ power-PDTR {
14+ apple,key-id = "PDTR";
15+ label = "AC Input Power";
16+ };
17+ power-PMVR {
18+ apple,key-id = "PMVR";
19+ label = "3.8 V Rail Power";
20+ };
21+ temperature-TH0x {
22+ apple,key-id = "TH0x";
23+ label = "NAND Flash Temperature";
24+ };
25+ voltage-VD0R {
26+ apple,key-id = "VD0R";
27+ label = "AC Input Voltage";
28+ };
29+ current-ID0R {
30+ apple,key-id = "ID0R";
31+ label = "AC Input Current";
4232 };
4333};
Original file line number Diff line number Diff line change 77
88#include "hwmon-fan.dtsi"
99
10- &smc {
11- hwmon {
12- apple,fan-keys {
13- fan-F0Ac {
14- label = "Fan 1";
15- };
16- fan-F1Ac {
17- apple,key-id = "F1Ac";
18- label = "Fan 2";
19- apple,fan-minimum = "F1Mn";
20- apple,fan-maximum = "F1Mx";
21- apple,fan-target = "F1Tg";
22- apple,fan-mode = "F1Md";
23- };
24- };
10+ &smc_hwmon {
11+ fan-F0Ac {
12+ label = "Fan 1";
13+ };
14+ fan-F1Ac {
15+ apple,key-id = "F1Ac";
16+ label = "Fan 2";
17+ apple,fan-minimum = "F1Mn";
18+ apple,fan-maximum = "F1Mx";
19+ apple,fan-target = "F1Tg";
20+ apple,fan-mode = "F1Md";
2521 };
2622};
Original file line number Diff line number Diff line change 55 * Fan hwmon sensors for machines with a single fan.
66 */
77
8- &smc {
9- hwmon {
10- apple,fan-keys {
11- fan-F0Ac {
12- apple,key-id = "F0Ac";
13- label = "Fan";
14- apple,fan-minimum = "F0Mn";
15- apple,fan-maximum = "F0Mx";
16- apple,fan-target = "F0Tg";
17- apple,fan-mode = "F0Md";
18- };
19- };
8+ &smc_hwmon {
9+ fan-F0Ac {
10+ apple,key-id = "F0Ac";
11+ label = "Fan";
12+ apple,fan-minimum = "F0Mn";
13+ apple,fan-maximum = "F0Mx";
14+ apple,fan-target = "F0Tg";
15+ apple,fan-mode = "F0Md";
2016 };
2117};
Original file line number Diff line number Diff line change 55 * Copyright The Asahi Linux Contributors
66 */
77
8- &smc {
9- hwmon {
10- apple,power-keys {
11- power-PHPC {
12- apple,key-id = "PHPC";
13- label = "Heatpipe Power";
14- };
15- };
16- apple,temp-keys {
17- temp-TB0T {
18- apple,key-id = "TB0T";
19- label = "Battery Hotspot";
20- };
21- temp-TCHP {
22- apple,key-id = "TCHP";
23- label = "Charge Regulator Temp";
24- };
25- temp-TW0P {
26- apple,key-id = "TW0P";
27- label = "WiFi/BT Module Temp";
28- };
29- };
30- apple,volt-keys {
31- volt-SBAV {
32- apple,key-id = "SBAV";
33- label = "Battery Voltage";
34- };
35- volt-VD0R {
36- apple,key-id = "VD0R";
37- label = "Charger Input Voltage";
38- };
39- };
8+ &smc_hwmon {
9+ power-PHPC {
10+ apple,key-id = "PHPC";
11+ label = "Heatpipe Power";
12+ };
13+ temperature-TB0T {
14+ apple,key-id = "TB0T";
15+ label = "Battery Hotspot";
16+ };
17+ temperature-TCHP {
18+ apple,key-id = "TCHP";
19+ label = "Charge Regulator Temp";
20+ };
21+ temperature-TW0P {
22+ apple,key-id = "TW0P";
23+ label = "WiFi/BT Module Temp";
24+ };
25+ voltage-SBAV {
26+ apple,key-id = "SBAV";
27+ label = "Battery Voltage";
28+ };
29+ voltage-VD0R {
30+ apple,key-id = "VD0R";
31+ label = "Charger Input Voltage";
4032 };
4133};
Original file line number Diff line number Diff line change 88
99#include "hwmon-fan.dtsi"
1010
11- &smc {
12- hwmon {
13- apple,temp-keys {
14- temp-TW0P {
15- apple,key-id = "TW0P";
16- label = "WiFi/BT Module Temp";
17- };
18- };
11+ &smc_hwmon {
12+ temperature-TW0P {
13+ apple,key-id = "TW0P";
14+ label = "WiFi/BT Module Temp";
1915 };
2016};
You can’t perform that action at this time.
0 commit comments