Re: [PATCH 1/9] dt-bindings: soc: apple: Add Apple SART

From: Sven Peter
Date: Sat Apr 02 2022 - 08:58:32 EST


On Thu, Mar 31, 2022, at 23:23, Rob Herring wrote:
> On Mon, Mar 21, 2022 at 05:50:41PM +0100, Sven Peter wrote:
>> Apple SoCs such as the M1 come with a simple DMA address filter called
>> SART. Unlike a real IOMMU no pagetables can be configured but instead
>> DMA transactions can be allowed for up to 16 paddr regions.
>>
>> Signed-off-by: Sven Peter <sven@xxxxxxxxxxxxx>
>> ---
>> .../bindings/soc/apple/apple,sart.yaml | 52 +++++++++++++++++++
>
> Close enough to an IOMMU in terms of its purpose, so put in
> bindings/iommu/

Ok, will put it there. I guess I can also use iommu for the node name
then, e.g.

iommu@7bc50000 {
compatible = "apple,t8103-sart";
reg = <0x7bc50000 0x4000>;
};


Thanks,


Sven