mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 18:12:03 +02:00
dt-bindings: PCI: mediatek-gen3: Allow memory-region for restricted DMA buffer
On some SoCs without an IOMMU behind the PCIe controller, the PCIe controller memory access could be limited to a small region by the firmware configuring a memory protection unit. This memory region must be assigned to the PCIe controller so that the OS knows to use that region. Otherwise PCIe devices would not work properly. Allow the memory-region property with one item pointing to a restricted DMA buffer. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20260720092116.1823562-1-wenst@chromium.org
This commit is contained in:
parent
068601b547
commit
7e38b7b0e0
|
|
@ -116,6 +116,10 @@ properties:
|
|||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
memory-region:
|
||||
maxItems: 1
|
||||
description: phandle to restricted DMA buffer
|
||||
|
||||
mediatek,pbus-csr:
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
items:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user