Path: blob/master/Documentation/devicetree/bindings/dma/apple,admac.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/apple,admac.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Apple Audio DMA Controller (ADMAC)78description: |9Apple's Audio DMA Controller (ADMAC) is used to fetch and store audio samples10on SoCs from the "Apple Silicon" family.1112The controller has been seen with up to 24 channels. Even-numbered channels13are TX-only, odd-numbered are RX-only. Individual channels are coupled to14fixed device endpoints.1516maintainers:17- Martin Povišer <povik+lin@cutebit.org>1819allOf:20- $ref: dma-controller.yaml#2122properties:23compatible:24items:25- enum:26- apple,t6000-admac27- apple,t8103-admac28- apple,t8112-admac29- const: apple,admac3031reg:32maxItems: 13334'#dma-cells':35const: 136description:37Clients specify a single cell with channel number.3839dma-channels:40maximum: 244142interrupts:43minItems: 444maxItems: 445description:46Interrupts that correspond to the 4 IRQ outputs of the controller. Usually47only one of the controller outputs will be connected as an usable interrupt48source. The remaining interrupts will be left without a valid value, e.g.49in an interrupts-extended list the disconnected positions will contain50an empty phandle reference <0>.5152iommus:53minItems: 154maxItems: 25556power-domains:57maxItems: 15859resets:60maxItems: 16162required:63- compatible64- reg65- '#dma-cells'66- dma-channels67- interrupts6869additionalProperties: false7071examples:72- |73#include <dt-bindings/interrupt-controller/apple-aic.h>74#include <dt-bindings/interrupt-controller/irq.h>7576aic: interrupt-controller {77interrupt-controller;78#interrupt-cells = <3>;79};8081admac: dma-controller@238200000 {82compatible = "apple,t8103-admac", "apple,admac";83reg = <0x38200000 0x34000>;84dma-channels = <24>;85interrupts-extended = <0>,86<&aic AIC_IRQ 626 IRQ_TYPE_LEVEL_HIGH>,87<0>,88<0>;89#dma-cells = <1>;90};919293