From 98b68c3fe86464f1a1a72c139e0da16a842c9cf1 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Thu, 19 Nov 2026 22:56:39 +1100 Subject: [PATCH 1/4] arm64: dts: apple: t6050: share the keyboard backlight, add it to J716c The J716c leaves fpwm0 disabled and has no keyboard backlight LED. Its ADT has the same pwm0 kbd-backlight node as the J714s, J716s and the K114/K116 boards: channel 0 of fpwm0 at 25 kHz. Move the pwm-leds node and the fpwm0 enable, which the J714s and J716s each carried as an identical copy, into a new t6050-kbd-backlight.dtsi. Include it from the J714s, J716s, J716c and t6050-k114-k116.dtsi. The K boards keep their own LED label and no default-state through a small override, and keep their rear logo LED in the same controller. The J716c gains the LED and an enabled fpwm0. The J714s, J716s, K114c, K114s, K116c and K116s DTBs are byte-identical; no other T6050 board changes. The J714c can take the same include. The J714s block was added by DjDeveloperr, the J716s one by Rolando Trevino. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t6050-j714s.dts | 18 +----------- arch/arm64/boot/dts/apple/t6050-j716c.dts | 2 ++ arch/arm64/boot/dts/apple/t6050-j716s.dts | 19 +------------ .../arm64/boot/dts/apple/t6050-k114-k116.dtsi | 17 ++++------- .../boot/dts/apple/t6050-kbd-backlight.dtsi | 28 +++++++++++++++++++ 5 files changed, 38 insertions(+), 46 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t6050-kbd-backlight.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-j714s.dts b/arch/arm64/boot/dts/apple/t6050-j714s.dts index 383ec08bedbe2..9a3f85e07744f 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714s.dts @@ -213,30 +213,14 @@ status = "okay"; }; -/* The keyboard backlight: ADT pwm0/kbd-backlight, channel 0 at 25 kHz */ / { aliases { /* The loader fills the keyboard layout from the ADT's keyboard node */ keyboard = &keyboard; }; - - led-controller { - compatible = "pwm-leds"; - - led-0 { - pwms = <&fpwm0 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; }; -&fpwm0 { - status = "okay"; -}; +#include "t6050-kbd-backlight.dtsi" /* * The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO diff --git a/arch/arm64/boot/dts/apple/t6050-j716c.dts b/arch/arm64/boot/dts/apple/t6050-j716c.dts index 8fdea5242027b..01d4d88f9aa85 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716c.dts @@ -52,6 +52,8 @@ }; }; +#include "t6050-kbd-backlight.dtsi" + /* * PCIe port 0: the N1 (Wi-Fi and Bluetooth), the only GP port this board uses besides the SD * reader on port 1 (not yet described). The boot loader trains the link after the SMC releases diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 43747a4ce6be7..81d76dd322774 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -44,26 +44,9 @@ status = "disabled"; }; }; - - /* Keyboard backlight: ADT pwm0/kbd-backlight, channel 0 at 25 kHz */ - led-controller { - compatible = "pwm-leds"; - - led-0 { - pwms = <&fpwm0 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; }; -/* The keyboard backlight PWM (ADT pwm0) */ -&fpwm0 { - status = "okay"; -}; +#include "t6050-kbd-backlight.dtsi" /* A block t6050-die0.dtsi does not describe yet: the third HPM bus */ &die0 { diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi index f7cedd1a4c854..4ef2601e7eb1c 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi @@ -49,17 +49,16 @@ status = "disabled"; }; }; +}; - led-controller { - compatible = "pwm-leds"; +#include "t6050-kbd-backlight.dtsi" - /* ADT /arm-io/pwm0/kbd-backlight: default-hz 25000 */ +/ { + led-controller { + /* Here the keyboard light keeps its "apple::" name and no boot state */ led-0 { - pwms = <&fpwm0 0 40000>; label = "apple::kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; + /delete-property/ default-state; }; /* @@ -170,10 +169,6 @@ status = "okay"; }; -&fpwm0 { - status = "okay"; -}; - &ps_fpwm1 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/apple/t6050-kbd-backlight.dtsi b/arch/arm64/boot/dts/apple/t6050-kbd-backlight.dtsi new file mode 100644 index 0000000000000..8e1dba5c6fea2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-kbd-backlight.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The keyboard backlight of the T6050 MacBook Pros. Each board's ADT has it + * as pwm0/kbd-backlight: channel 0 of fpwm0 at 25 kHz, a 40000 ns period. + * + * Copyright The Asahi Linux Contributors + */ + +#include + +/ { + led-controller { + compatible = "pwm-leds"; + + led-0 { + pwms = <&fpwm0 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&fpwm0 { + status = "okay"; +}; From 1f64e3b947f716bb3d198ea1f4f0e8ff90735b36 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Fri, 20 Nov 2026 01:25:28 +1100 Subject: [PATCH 2/4] arm64: dts: apple: t6050: describe the fans on J775c and J873s The Mac Studio (M5 Max, J775c) and the Mac mini (M5 Pro, J873s) have the SMC hwmon node from t6050-die0.dtsi but no fan or power keys, so neither shows a fan speed. Move the J775d's SMC keys (DC input power PD0R, the two fans with the T6050 mode keys F0md/F1md) into a new t6050-j775-hwmon.dtsi and include it from both Studios. The J775d DTB is byte-identical. The J775c board support by Satya Benson and Diljit Singh uses the same keys. The J873s takes the Mac mini pattern (hwmon-common.dtsi, hwmon-mini.dtsi: one fan), drops the shared temperature nodes so that key discovery still runs, as J714s and J716s do, and uses the T6050 fan mode key F0md. No new SMC keys: all of them are in the shared hwmon files or already used on other T6050 boards. The other nine T6050 DTBs are unchanged. Suggested-by: Jeff Queisser Signed-off-by: Ryan Murray --- .../boot/dts/apple/t6050-j775-hwmon.dtsi | 37 +++++++++++++++++++ arch/arm64/boot/dts/apple/t6050-j775c.dts | 4 ++ arch/arm64/boot/dts/apple/t6050-j775d.dts | 30 +-------------- arch/arm64/boot/dts/apple/t6050-j873s.dts | 26 +++++++++++++ 4 files changed, 68 insertions(+), 29 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi b/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi new file mode 100644 index 0000000000000..dcdec14140c22 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * SMC hwmon keys shared by the T6050 Mac Studios (J775c M5 Max, J775d M5 Ultra): + * the DC input power and the two fans. + * + * Copyright The Asahi Linux Contributors + */ + +/* + * The Studio's DC input. PSTR and PDTR read 0 on the Studio; PD0R is its DC input (36.5 W at an + * idle desktop). + */ +&smc_hwmon { + power-PD0R { + apple,key-id = "PD0R"; + label = "DC Input Power"; + }; +}; + +#include "hwmon-fan-dual.dtsi" + +/* + * The Studio's SMC has F0Ac/F0Mn/F0Mx/F0Tg and F1*, but its mode keys are F0md/F1md (ui8, flags 0xd0: + * readable, writable, a function key), not the F0Md/F1Md the dtsi names; with the dtsi's names fan + * creation failed on the missing key. With the real keys the fans can be set by the kernel's + * thermal policy (the M5 GPU governor, through macsmc_hwmon_fans_request()). No + * apple,fan-manual-control: userspace still only reads them. + */ +&smc_hwmon { + fan-F0Ac { + apple,fan-mode = "F0md"; + }; + + fan-F1Ac { + apple,fan-mode = "F1md"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c.dts b/arch/arm64/boot/dts/apple/t6050-j775c.dts index 65d92d3a17480..4170a7bd2b499 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775c.dts @@ -7,6 +7,8 @@ * One T6050 die (t6050-max.dtsi). Nobody has booted Linux on this board * yet: beyond the SoC this file only adds the board's hardware inventory * (t6050-peripherals.dtsi), all of it disabled, from the board's ADT. + * The SMC hwmon keys (DC input power, two fans) are the J775d's + * (t6050-j775-hwmon.dtsi). * * Copyright The Asahi Linux Contributors */ @@ -32,5 +34,7 @@ status = "disabled"; }; +#include "t6050-j775-hwmon.dtsi" + #define T6050_J775C #include "t6050-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j775d.dts b/arch/arm64/boot/dts/apple/t6050-j775d.dts index 68b4c324aca02..d72e1725f9024 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775d.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775d.dts @@ -284,35 +284,7 @@ status = "okay"; }; -/* - * The Studio's DC input. PSTR and PDTR read 0 on the Studio; PD0R is its DC input (36.5 W at an - * idle desktop). - */ -&smc_hwmon { - power-PD0R { - apple,key-id = "PD0R"; - label = "DC Input Power"; - }; -}; - -#include "hwmon-fan-dual.dtsi" - -/* - * The Studio's SMC has F0Ac/F0Mn/F0Mx/F0Tg and F1*, but its mode keys are F0md/F1md (ui8, flags 0xd0: - * readable, writable, a function key), not the F0Md/F1Md the dtsi names; with the dtsi's names fan - * creation failed on the missing key. With the real keys the fans can be set by the kernel's - * thermal policy (the M5 GPU governor, through macsmc_hwmon_fans_request()). No - * apple,fan-manual-control: userspace still only reads them. - */ -&smc_hwmon { - fan-F0Ac { - apple,fan-mode = "F0md"; - }; - - fan-F1Ac { - apple,fan-mode = "F1md"; - }; -}; +#include "t6050-j775-hwmon.dtsi" /* * The boot NOR's NVRAM: the loader fills the partition from ADT /arm-io/qspi/spinor/anvram reg diff --git a/arch/arm64/boot/dts/apple/t6050-j873s.dts b/arch/arm64/boot/dts/apple/t6050-j873s.dts index 0a7976e50230f..2b0bd266c13da 100644 --- a/arch/arm64/boot/dts/apple/t6050-j873s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j873s.dts @@ -7,6 +7,7 @@ * One T6050 die (t6050-max.dtsi). Nobody has booted Linux on this board * yet: beyond the SoC this file only adds the board's hardware inventory * (t6050-peripherals.dtsi), all of it disabled, from the board's ADT. + * The SMC hwmon keys (one fan) follow the other Mac minis. * * Copyright The Asahi Linux Contributors */ @@ -32,5 +33,30 @@ status = "disabled"; }; +/* + * SMC sensors, as on the other Mac minis: the shared power, voltage and current + * keys and the single fan, plus every readable float T* key through + * apple,discover-temperatures in t6050-die0.dtsi. A key this SMC lacks only + * drops its channel. + * + * Discovery refuses to run once any temperature channel exists, so the shared + * temperature nodes go (their keys are discovered anyway), as on J714s/J716s. + */ +#include "hwmon-common.dtsi" +#include "hwmon-mini.dtsi" + +&smc_hwmon { + /delete-node/ temperature-TH0x; + /delete-node/ temperature-TW0P; + + /* + * The T6050 SMC spells the fan mode key F0md, as on J714s, J716s, K116s + * and J775d. No apple,fan-manual-control: the SMC drives the fan. + */ + fan-F0Ac { + apple,fan-mode = "F0md"; + }; +}; + #define T6050_J873S #include "t6050-peripherals.dtsi" From 11b720eb5e343dfa1cf955d443afb51f60530f21 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Fri, 20 Nov 2026 01:25:59 +1100 Subject: [PATCH 3/4] arm64: dts: apple: t6050: share the MagSafe 3 PD controller, add it to J714c and J716s The MagSafe 3 port's PD controller is an SN201202x at SPMI address 0x8 on nub-spmi-a0. Each 14" and 16" M5 Pro/Max MacBook Pro's ADT has the same node (port-type 0x11, power in only, no liquid detection). J714s, J716c and K114c describe it in their own files; J714c and J716s do not. Move the node to a new t6050-magsafe.dtsi and include it from J714s, J716c, K114c, J714c and J716s. The include sits after each board's hpm1 node, so hpm5 stays the last child of nub-spmi-a0. J716c keeps its delta: the node is disabled in t6050-j716c-sleep.dtsi until the sleep devices enable it. The J714s, J716c and K114c DTBs are byte-identical. J714c and J716s gain the usb-pd@8 node. J775c, J775d and J873s have no MagSafe and are unchanged. K116s is described by its sleep series. K114s and K116c do not yet describe nub-spmi-a0 and are left for the USB-C series. The node was first written for the J714s by DjDeveloperr, and for the K114c by Joshua Warren; J716c's by Erik Bourget. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t6050-j714c.dts | 2 ++ arch/arm64/boot/dts/apple/t6050-j714s.dts | 14 ++------------ .../boot/dts/apple/t6050-j716c-sleep.dtsi | 14 ++++++-------- arch/arm64/boot/dts/apple/t6050-j716c.dts | 1 + arch/arm64/boot/dts/apple/t6050-j716s.dts | 4 +++- arch/arm64/boot/dts/apple/t6050-k114c.dts | 13 ++----------- arch/arm64/boot/dts/apple/t6050-magsafe.dtsi | 19 +++++++++++++++++++ 7 files changed, 35 insertions(+), 32 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t6050-magsafe.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-j714c.dts b/arch/arm64/boot/dts/apple/t6050-j714c.dts index cf1d62c690fcc..92b14f13c6c2c 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714c.dts @@ -311,6 +311,8 @@ #include "t6050-max-atc2.dtsi" +#include "t6050-magsafe.dtsi" + /* The I2C power states have no described parent (SIO), as for i2c1 and i2c2 */ &ps_i2c3 { /delete-property/ power-domains; diff --git a/arch/arm64/boot/dts/apple/t6050-j714s.dts b/arch/arm64/boot/dts/apple/t6050-j714s.dts index 383ec08bedbe2..8018c2b14454a 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714s.dts @@ -359,20 +359,10 @@ }; }; }; - - /* - * The MagSafe 3 port's PD controller (ADT hpm5, port-type 0x11). It has no USB data - * path, so it gets no connector node; tipd registers a Type-C port and a power supply - * for it, as on J616s. Its ADT features-supported is <3>, "Power In" only: no liquid - * detection (LDCM, feature 2 of the USB-C ports' <1 2 3>). - */ - hpm5: usb-pd@8 { - compatible = "apple,sn201202x"; - reg = <0x8 SPMI_USID>; - apple,no-liquid-detection; - }; }; +#include "t6050-magsafe.dtsi" + &usb_drd1 { port { usb_drd1_hs: endpoint { diff --git a/arch/arm64/boot/dts/apple/t6050-j716c-sleep.dtsi b/arch/arm64/boot/dts/apple/t6050-j716c-sleep.dtsi index 0c92a63ba2dbf..b9941c8e31d2d 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c-sleep.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j716c-sleep.dtsi @@ -110,14 +110,12 @@ }; }; -/* MagSafe's controller is separate from all three USB-C data ports. */ -&nub_spmi_a0 { - hpm5: usb-pd@8 { - compatible = "apple,sn201202x"; - reg = <0x8 SPMI_USID>; - apple,no-liquid-detection; - status = "disabled"; - }; +/* + * MagSafe's PD controller (t6050-magsafe.dtsi) is separate from all three USB-C data ports. + * It stays off until t6050-j716c-sleep-devices.dtsi enables it with the sleep. + */ +&hpm5 { + status = "disabled"; }; /* Split the two ASC mailboxes from their coprocessor banks for later use. */ diff --git a/arch/arm64/boot/dts/apple/t6050-j716c.dts b/arch/arm64/boot/dts/apple/t6050-j716c.dts index 8fdea5242027b..0ffd17f91d5ce 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716c.dts @@ -251,6 +251,7 @@ #include "t6050-j716c-display.dtsi" #include "t6050-j716c-left-usb4.dtsi" +#include "t6050-magsafe.dtsi" #include "t6050-j716c-sep.dtsi" #include "t6050-j716c-sleep.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 43747a4ce6be7..ce3002c9441a8 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -273,7 +273,7 @@ * ATC0 usb-drd0 left-back hpm0 nub-spmi-a0 0x0c (the debug port, not described) * ATC1 usb-drd1 left-front hpm1 nub-spmi-a0 0x0a * ATC2 usb-drd2 right hpm2 nub-spmi-a1 0x0c - * MagSafe hpm5 nub-spmi-a0 0x08 (not a USB-C connector) + * MagSafe hpm5 nub-spmi-a0 0x08 (t6050-magsafe.dtsi, no connector node) * There is no usb-drd3 and no nub-spmi-a2, so ATC3's USB chain and that bus * stay off. */ @@ -339,6 +339,8 @@ }; }; +#include "t6050-magsafe.dtsi" + &usb_drd1 { port { usb_drd1_hs: endpoint { diff --git a/arch/arm64/boot/dts/apple/t6050-k114c.dts b/arch/arm64/boot/dts/apple/t6050-k114c.dts index 13ea865ba58e1..bcdfa89da496e 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114c.dts @@ -387,19 +387,10 @@ }; }; }; - - /* - * The MagSafe 3 port's PD controller (ADT hpm5, port-type 0x11). It has no USB data - * path, so it gets no connector node; tipd registers a Type-C port and a power supply - * for it. Its ADT features-supported is <3>, "Power In" only: no liquid detection. - */ - hpm5: usb-pd@8 { - compatible = "apple,sn201202x"; - reg = <0x8 SPMI_USID>; - apple,no-liquid-detection; - }; }; +#include "t6050-magsafe.dtsi" + &atc1_phy_mbox { status = "okay"; }; diff --git a/arch/arm64/boot/dts/apple/t6050-magsafe.dtsi b/arch/arm64/boot/dts/apple/t6050-magsafe.dtsi new file mode 100644 index 0000000000000..cf202fca74fb2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-magsafe.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The M5 Pro/Max MacBook Pros' MagSafe 3 port: its PD controller, an SN201202x at SPMI address + * 0x8 on nub-spmi-a0 (ADT hpm5, port-type 0x11). Every 14" and 16" board's ADT has the same + * node. It has no USB data path, so it gets no connector node; tipd registers a Type-C port + * and a power supply for it, as on J616s. Its ADT features-supported is <3>, "Power In" only: + * no liquid detection (LDCM, feature 2 of the USB-C ports' <1 2 3>). + * + * The bus status is the board's. The boards that described the node before include this + * after their left-front port's PD controller (hpm1), where the node was. + */ + +&nub_spmi_a0 { + hpm5: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + apple,no-liquid-detection; + }; +}; From 33774702a0e11e8974c738886b29ce46ab322d8c Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 5 Dec 2026 12:19:19 +1100 Subject: [PATCH 4/4] arm64: dts: apple: t6050-j775: say what the wrong fan mode key costs Since the optional-key change, a fan whose mode key the SMC lacks is still created; it only loses the mode attribute, and with it kernel control. Say that instead of "fan creation failed". The J775c board tree now carries its own SMC keys, so the file names only the J775d as its user. Comment only; the J775d DTB is unchanged. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi b/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi index dcdec14140c22..1c81a3f3482b3 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j775-hwmon.dtsi @@ -1,7 +1,8 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * SMC hwmon keys shared by the T6050 Mac Studios (J775c M5 Max, J775d M5 Ultra): - * the DC input power and the two fans. + * SMC hwmon keys of the T6050 Mac Studio: the DC input power and the two fans. + * The J775d includes this file; the J775c's board tree carries the same keys + * itself. * * Copyright The Asahi Linux Contributors */ @@ -21,8 +22,8 @@ /* * The Studio's SMC has F0Ac/F0Mn/F0Mx/F0Tg and F1*, but its mode keys are F0md/F1md (ui8, flags 0xd0: - * readable, writable, a function key), not the F0Md/F1Md the dtsi names; with the dtsi's names fan - * creation failed on the missing key. With the real keys the fans can be set by the kernel's + * readable, writable, a function key), not the F0Md/F1Md the dtsi names. With the dtsi's names + * each fan loses its mode key, and with it kernel control. With the real keys the fans can be set by the kernel's * thermal policy (the M5 GPU governor, through macsmc_hwmon_fans_request()). No * apple,fan-manual-control: userspace still only reads them. */