1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom, 4 $id: http://devicetree.org/schemas/sound/qcom,msm8916-wcd-digital-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm MSM8916 WCD Digital Audio Code 7 title: Qualcomm MSM8916 WCD Digital Audio Codec 8 8 9 maintainers: 9 maintainers: 10 - Srinivas Kandagatla <srinivas.kandagatla@li 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 11 12 description: 12 description: 13 The digital WCD audio codec found on Qualcom 13 The digital WCD audio codec found on Qualcomm MSM8916 LPASS. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: qcom,msm8916-wcd-digital-codec 17 const: qcom,msm8916-wcd-digital-codec 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 clocks: 22 clocks: 23 maxItems: 2 23 maxItems: 2 24 24 25 clock-names: 25 clock-names: 26 items: 26 items: 27 - const: ahbix-clk 27 - const: ahbix-clk 28 - const: mclk 28 - const: mclk 29 29 30 '#sound-dai-cells': 30 '#sound-dai-cells': 31 const: 1 31 const: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 - clocks 36 - clocks 37 - clock-names 37 - clock-names 38 - '#sound-dai-cells' 38 - '#sound-dai-cells' 39 39 40 allOf: 40 allOf: 41 - $ref: dai-common.yaml# 41 - $ref: dai-common.yaml# 42 42 43 unevaluatedProperties: false 43 unevaluatedProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 #include <dt-bindings/clock/qcom,gcc-msm89 47 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 48 audio-codec@771c000 { 48 audio-codec@771c000 { 49 compatible = "qcom,msm8916-wcd-digital 49 compatible = "qcom,msm8916-wcd-digital-codec"; 50 reg = <0x0771c000 0x400>; 50 reg = <0x0771c000 0x400>; 51 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_ 51 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>, 52 <&gcc GCC_CODEC_DIGCODEC_CLK> 52 <&gcc GCC_CODEC_DIGCODEC_CLK>; 53 clock-names = "ahbix-clk", "mclk"; 53 clock-names = "ahbix-clk", "mclk"; 54 #sound-dai-cells = <1>; 54 #sound-dai-cells = <1>; 55 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.