Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions Documentation/devicetree/bindings/soc/apple/apple,t6041-aop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ description:
The Always-On Processor provides audio and sensor services through firmware
loaded by the bootloader. The application processor patches the firmware's
boot arguments in the AOP SRAM, starts it through RTKit over one mailbox and
reaches its services through the RTKit endpoints. The bootloader reserves
the firmware's external code and log segments as /reserved-memory nodes
named aop-etext and aop-oslog; no mapping of them survives the reset of the
AOP's DART, so the operating system maps them again before the start.
reaches its services through the RTKit endpoints. The firmware's external
code and log segments live in DRAM, and the bootloader reserves them.

properties:
compatible:
Expand Down Expand Up @@ -47,6 +45,14 @@ properties:
iommus:
maxItems: 1

memory-region:
minItems: 1
maxItems: 4
description:
The firmware segments in DRAM (its external code and its log), filled in
by the bootloader from the ADT. The iommu-addresses property of each
region gives the address the firmware uses for it.

audio:
type: object
$ref: /schemas/sound/apple,t6041-aop-audio.yaml#
Expand Down Expand Up @@ -105,6 +111,7 @@ examples:
mboxes = <&aop_mbox>;
mbox-names = "mbox";
iommus = <&aop_dart 0>;
memory-region = <&aop_etext>, <&aop_oslog>; /* Filled by the bootloader */

als {
compatible = "apple,t6041-aop-als", "apple,aop-als";
Expand Down
10 changes: 10 additions & 0 deletions Documentation/devicetree/bindings/sound/apple,t6041-aop-audio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ description: |
The headset jack's channels are optional: a node without them has no jack
streams.

# Only select T6041 nodes: other AOP audio nodes carry the
# apple,t6030-aop-audio fallback too and have a different set of streams.
select:
properties:
compatible:
contains:
const: apple,t6041-aop-audio
required:
- compatible

allOf:
- $ref: dai-common.yaml#

Expand Down
Loading