Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j714s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,37 @@

#include "t6050-j714s-pmp-tunables.dtsi"

/*
* SMC sensors, as on J716s: the shared fan, power, voltage and current keys, plus
* every readable float T* key through apple,discover-temperatures in
* t6050-die0.dtsi, labelled with the key name. 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), and so does
* apple,soc-die-keys, whose channel would also count. Only the macsmc_soc_die
* thermal zone is lost.
*/
#include "hwmon-common.dtsi"
#include "hwmon-fan-dual.dtsi"
#include "hwmon-laptop.dtsi"

&smc_hwmon {
/delete-property/ apple,soc-die-keys;
/delete-node/ temperature-TH0x;
/delete-node/ temperature-TB0T;
/delete-node/ temperature-TCHP;
/delete-node/ temperature-TW0P;

/* The T6050 SMC spells the fan mode keys F0md/F1md. The SMC drives the fans. */
fan-F0Ac {
apple,fan-mode = "F0md";
};

fan-F1Ac {
apple,fan-mode = "F1md";
};
};

/* The same T6050 camera as J716c (J714sAP ADT); the loader sets the J714s sensor type. */
#include "t6050-j716c-isp.dtsi"
Loading