forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: dma: Add apple,admac binding
The Audio DMA Controller (ADMAC) is used to load and store audio samples from/to system memory. It is present on Apple SoCs from the "Apple Silicon" family. Signed-off-by: Martin Povišer <povik@protonmail.com>
- Loading branch information
1 parent
322a067
commit 5e84d7a
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dma/apple,admac.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Apple Audio DMA Controller (ADMAC) | ||
|
||
description: | | ||
The Audio DMA Controller (ADMAC) is used to load and store audio | ||
samples from/to system memory. It is present on Apple SoCs | ||
from the "Apple Silicon" family. | ||
maintainers: | ||
- Martin Povišer <povik@protonmail.com> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: apple,t8103-admac | ||
- const: apple,admac | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#dma-cells': | ||
const: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- '#dma-cells' | ||
- dma-channels | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
dart_sio: iommu@235004000 { | ||
compatible = "apple,t8103-dart", "apple,dart"; | ||
reg = <0x2 0x35004000 0x0 0x4000>; | ||
interrupt-parent = <&aic>; | ||
interrupts = <AIC_IRQ 635 IRQ_TYPE_LEVEL_HIGH>; | ||
#iommu-cells = <1>; | ||
}; | ||
admac: dma-controller@238200000 { | ||
compatible = "apple,t8103-admac", "apple,admac"; | ||
reg = <0x2 0x38200000 0x0 0x34000>; | ||
dma-channels = <12>; | ||
interrupt-parent = <&aic>; | ||
interrupts = <AIC_IRQ 626 IRQ_TYPE_LEVEL_HIGH>; | ||
#dma-cells = <1>; | ||
iommus = <&dart_sio 2>; | ||
}; |