From: Rob Herring <robh@kernel.org>
To: Yureka Lilian <yureka@cyberchaos.dev>
Cc: Sven Peter <sven@kernel.org>, Janne Grunau <j@jannau.net>,
Neal Gompa <neal@gompa.dev>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk>,
Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-nvme@lists.infradead.org
Subject: Re: [PATCH 1/2] dt-bindings: nvme: Add apple,t8132-nvme-ans2 compatible
Date: Tue, 11 Aug 2026 18:11:21 -0500 [thread overview]
Message-ID: <20260811231121.GA271810-robh@kernel.org> (raw)
In-Reply-To: <20260811-apple-nvme-t8132-v1-1-865be32e42c3@cyberchaos.dev>
On Tue, Aug 11, 2026 at 10:49:47PM +0200, Yureka Lilian wrote:
> Add a new base compatible for the ANS2 NVMe on the Apple t8132 (M4) SoC,
> which uses a separate MMIO base for its NVMMU.
>
> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
> ---
> .../devicetree/bindings/nvme/apple,nvme-ans.yaml | 77 ++++++++++++++--------
> 1 file changed, 48 insertions(+), 29 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
> index 4c0b1f90aff8..c8a41b268b9c 100644
> --- a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
> +++ b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
> @@ -16,6 +16,7 @@ properties:
> - items:
> - const: apple,t6020-nvme-ans2
> - const: apple,t8103-nvme-ans2
> + - const: apple,t8132-nvme-ans2
> - items:
> - enum:
> # Do not add additional SoC to this list.
> @@ -24,16 +25,6 @@ properties:
> - apple,t6000-nvme-ans2
> - const: apple,nvme-ans2
>
> - reg:
> - items:
> - - description: NVMe and NVMMU registers
> - - description: ANS2 co-processor control registers
> -
> - reg-names:
> - items:
> - - const: nvme
> - - const: ans
> -
Keep properties defined at the top level. More below.
> resets:
> maxItems: 1
>
> @@ -68,25 +59,53 @@ properties:
>
> The SART address filter is documented in iommu/apple,sart.yaml.
>
> -if:
> - properties:
> - compatible:
> - contains:
> - enum:
> - - apple,t6000-nvme-ans2
> - - apple,t6020-nvme-ans2
> -then:
> - properties:
> - power-domains:
> - minItems: 3
> - power-domain-names:
> - minItems: 3
> -else:
> - properties:
> - power-domains:
> - maxItems: 2
> - power-domain-names:
> - maxItems: 2
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: apple,t8132-nvme-ans2
> + then:
> + properties:
> + reg:
> + items:
> + - description: NVMMU registers
> + - description: NVMe registers
> + - description: ANS2 co-processor control registers
> + reg-names:
> + items:
> + - const: nvmmu
> + - const: nvme
> + - const: ans
New entries go on the end. So nvmmu last and defined at the top level.
Then this is just 'minItems: 3'
> + else:
> + properties:
> + reg:
> + items:
> + - description: NVMe and NVMMU registers
> + - description: ANS2 co-processor control registers
> + reg-names:
> + items:
> + - const: nvme
> + - const: ans
And 'maxItems: 2' on these 2.
Rob
next prev parent reply other threads:[~2026-08-11 23:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 20:49 [PATCH 0/2] nvme: apple: add t8132 (M4) ANS2 NVMe support Yureka Lilian
2026-08-11 20:49 ` [PATCH 1/2] dt-bindings: nvme: Add apple,t8132-nvme-ans2 compatible Yureka Lilian
2026-08-11 21:50 ` Rob Herring (Arm)
2026-08-11 23:11 ` Rob Herring [this message]
2026-08-12 8:08 ` Yureka Lilian
2026-08-12 8:46 ` Krzysztof Kozlowski
2026-08-12 9:16 ` Yureka Lilian
2026-08-11 20:49 ` [PATCH 2/2] nvme: apple: add t8132 (M4) ANS2 NVMe support Yureka Lilian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811231121.GA271810-robh@kernel.org \
--to=robh@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=axboe@kernel.dk \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hch@lst.de \
--cc=j@jannau.net \
--cc=kbusch@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=neal@gompa.dev \
--cc=sagi@grimberg.me \
--cc=sven@kernel.org \
--cc=yureka@cyberchaos.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.