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
27 changes: 27 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-k114c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,33 @@

#include "t6050-peripherals.dtsi"

/* The Neural Engine, started only after the boot loader's preload hand-off */
#include "t6050-j714s-ane.dtsi"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enable the ANE's fabric power-domain suppliers

In the preprocessed K114c tree, this include enables ps_ane_sys but leaves its suppliers ps_fab8_soc and ps_fab9_soc, and their parent ps_fab0_piogw, disabled. Those dependencies are declared in t6050-peripherals.dtsi; J714s and J716c enable them through other board-specific declarations that K114c does not include. Disabled suppliers never register their providers, so the PMGR driver's parent-domain lookup returns -EPROBE_DEFER, preventing ANE_SYS registration and leaving the ANE and all three DARTs unable to probe even after a valid firmware handoff. Enable the complete supplier chain alongside this include.

Useful? React with 👍 / 👎.


/*
* ANE_SYS's declared suppliers are the fabric domains: enabled here the way
* the J714s enables them (t6050-j714s.dts for fab8/fab0,
* t6050-j716c-isp.dtsi for fab9). Left disabled they never register a
* provider and the enabled ps_ane_sys defers forever, taking ane0 and its
* three DARTs with it.
*/
&ps_fab0_piogw {
apple,firmware-owned;
status = "okay";
};

&ps_fab8_soc {
apple,firmware-owned;
status = "okay";
};

&ps_fab9_soc {
/delete-property/ power-domains;
apple,no-auto-pm;
apple,firmware-owned;
status = "okay";
};

/ {
aliases {
/* kboot fills the N1's factory addresses from /chosen through these */
Expand Down
Loading