dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible
authorJanne Grunau <j@jannau.net>
Thu, 28 Aug 2025 14:01:34 +0000 (16:01 +0200)
committerJanne Grunau <j@jannau.net>
Sun, 14 Sep 2025 19:50:08 +0000 (21:50 +0200)
commita3ee3333467c076a1f0655dbe6d4950af360c3a5
treeef909f80642367354c57c6539cdecf272bdc8637
parent9d7b6d117df245721902a497d90da220d7c27ee5
dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nvme-ans2" anymore [1]. Add
"apple,t8103-nvme-ans2" as fallback compatible as it is the SoC the
driver and bindings were written for.

Invert the condition for the 2 or 3 power-domains check to allow using
"apple,t8103-nvme-ans2" as base compatible.

"apple,t6020-nvme-ans2" on Apple M2 Pro/Max/Ultra SoCs is compatible
with "apple,t8103-nvme-ans2" so add its per-SoC compatible.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Reviewed-by: Neal Gompa <neal@gompa.dev>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Janne Grunau <j@jannau.net>
Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml