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
5 changes: 4 additions & 1 deletion drivers/nvme/host/apple-m5-sleep.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ static int apple_nvme_m5_attach(struct apple_nvme *anv)
{
int ret;

if (!of_machine_is_compatible("apple,j714s"))
/* Both boards use T6050 ANS2's split NVMe/NVMMU layout and retained SART. */
if (!of_machine_is_compatible("apple,t6050") ||
(!of_machine_is_compatible("apple,j714s") &&
!of_machine_is_compatible("apple,j716c")))
return -EOPNOTSUPP;
/* The wait before the restart after a sleep comes from the DT; without it, no sleep. */
if (of_property_read_u32(anv->dev->of_node, "apple,sleep-wake-delay-ms",
Expand Down
Loading