17b0ad462SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 27b0ad462SKrzysztof Kozlowski%YAML 1.2 37b0ad462SKrzysztof Kozlowski--- 47b0ad462SKrzysztof Kozlowski$id: http://devicetree.org/schemas/sound/qcom,q6asm-dais.yaml# 57b0ad462SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 67b0ad462SKrzysztof Kozlowski 77b0ad462SKrzysztof Kozlowskititle: Qualcomm Audio Stream Manager (Q6ASM) 87b0ad462SKrzysztof Kozlowski 97b0ad462SKrzysztof Kozlowskimaintainers: 107b0ad462SKrzysztof Kozlowski - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 117b0ad462SKrzysztof Kozlowski - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 127b0ad462SKrzysztof Kozlowski 137b0ad462SKrzysztof Kozlowskidescription: 147b0ad462SKrzysztof Kozlowski Q6ASM is one of the APR audio services on Q6DSP. Each of its subnodes 157b0ad462SKrzysztof Kozlowski represent a dai with board specific configuration. 167b0ad462SKrzysztof Kozlowski 177b0ad462SKrzysztof Kozlowskiproperties: 187b0ad462SKrzysztof Kozlowski compatible: 197b0ad462SKrzysztof Kozlowski enum: 207b0ad462SKrzysztof Kozlowski - qcom,q6asm-dais 217b0ad462SKrzysztof Kozlowski 227b0ad462SKrzysztof Kozlowski iommus: 237b0ad462SKrzysztof Kozlowski maxItems: 1 247b0ad462SKrzysztof Kozlowski 257b0ad462SKrzysztof Kozlowski "#sound-dai-cells": 267b0ad462SKrzysztof Kozlowski const: 1 277b0ad462SKrzysztof Kozlowski 287b0ad462SKrzysztof Kozlowski "#address-cells": 297b0ad462SKrzysztof Kozlowski const: 1 307b0ad462SKrzysztof Kozlowski 317b0ad462SKrzysztof Kozlowski "#size-cells": 327b0ad462SKrzysztof Kozlowski const: 0 337b0ad462SKrzysztof Kozlowski 347b0ad462SKrzysztof KozlowskipatternProperties: 357b0ad462SKrzysztof Kozlowski "^dai@[0-9]+$": 367b0ad462SKrzysztof Kozlowski type: object 377b0ad462SKrzysztof Kozlowski description: 387b0ad462SKrzysztof Kozlowski Q6ASM Digital Audio Interface 397b0ad462SKrzysztof Kozlowski 407b0ad462SKrzysztof Kozlowski properties: 417b0ad462SKrzysztof Kozlowski reg: 427b0ad462SKrzysztof Kozlowski maxItems: 1 437b0ad462SKrzysztof Kozlowski 447b0ad462SKrzysztof Kozlowski direction: 457b0ad462SKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 467b0ad462SKrzysztof Kozlowski enum: [0, 1, 2] 477b0ad462SKrzysztof Kozlowski description: | 487b0ad462SKrzysztof Kozlowski The direction of the dai stream:: 497b0ad462SKrzysztof Kozlowski - Q6ASM_DAI_TX_RX (0) for both tx and rx 507b0ad462SKrzysztof Kozlowski - Q6ASM_DAI_TX (1) for only tx (Capture/Encode) 517b0ad462SKrzysztof Kozlowski - Q6ASM_DAI_RX (2) for only rx (Playback/Decode) 527b0ad462SKrzysztof Kozlowski 537b0ad462SKrzysztof Kozlowski is-compress-dai: 547b0ad462SKrzysztof Kozlowski type: boolean 557b0ad462SKrzysztof Kozlowski description: 567b0ad462SKrzysztof Kozlowski Compress offload dai. 577b0ad462SKrzysztof Kozlowski 587b0ad462SKrzysztof Kozlowski dependencies: 59*d9e909e2SRob Herring is-compress-dai: [ direction ] 607b0ad462SKrzysztof Kozlowski 617b0ad462SKrzysztof Kozlowski required: 627b0ad462SKrzysztof Kozlowski - reg 637b0ad462SKrzysztof Kozlowski 647b0ad462SKrzysztof Kozlowski additionalProperties: false 657b0ad462SKrzysztof Kozlowski 667b0ad462SKrzysztof Kozlowskirequired: 677b0ad462SKrzysztof Kozlowski - compatible 687b0ad462SKrzysztof Kozlowski - "#sound-dai-cells" 697b0ad462SKrzysztof Kozlowski - "#address-cells" 707b0ad462SKrzysztof Kozlowski - "#size-cells" 717b0ad462SKrzysztof Kozlowski 727b0ad462SKrzysztof KozlowskiadditionalProperties: false 737b0ad462SKrzysztof Kozlowski 747b0ad462SKrzysztof Kozlowskiexamples: 757b0ad462SKrzysztof Kozlowski - | 767b0ad462SKrzysztof Kozlowski dais { 777b0ad462SKrzysztof Kozlowski compatible = "qcom,q6asm-dais"; 787b0ad462SKrzysztof Kozlowski iommus = <&apps_smmu 0x1821 0x0>; 797b0ad462SKrzysztof Kozlowski #address-cells = <1>; 807b0ad462SKrzysztof Kozlowski #size-cells = <0>; 817b0ad462SKrzysztof Kozlowski #sound-dai-cells = <1>; 827b0ad462SKrzysztof Kozlowski 837b0ad462SKrzysztof Kozlowski dai@0 { 847b0ad462SKrzysztof Kozlowski reg = <0>; 857b0ad462SKrzysztof Kozlowski }; 867b0ad462SKrzysztof Kozlowski 877b0ad462SKrzysztof Kozlowski dai@1 { 887b0ad462SKrzysztof Kozlowski reg = <1>; 897b0ad462SKrzysztof Kozlowski }; 907b0ad462SKrzysztof Kozlowski 917b0ad462SKrzysztof Kozlowski dai@2 { 927b0ad462SKrzysztof Kozlowski reg = <2>; 937b0ad462SKrzysztof Kozlowski is-compress-dai; 947b0ad462SKrzysztof Kozlowski direction = <1>; 957b0ad462SKrzysztof Kozlowski }; 967b0ad462SKrzysztof Kozlowski }; 97