1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*0e8011faSEmmanuel Vadot%YAML 1.2 3*0e8011faSEmmanuel Vadot--- 4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,msm8916-wcd-digital-codec.yaml# 5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*0e8011faSEmmanuel Vadot 7*0e8011faSEmmanuel Vadottitle: Qualcomm MSM8916 WCD Digital Audio Codec 8*0e8011faSEmmanuel Vadot 9*0e8011faSEmmanuel Vadotmaintainers: 10*0e8011faSEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11*0e8011faSEmmanuel Vadot 12*0e8011faSEmmanuel Vadotdescription: 13*0e8011faSEmmanuel Vadot The digital WCD audio codec found on Qualcomm MSM8916 LPASS. 14*0e8011faSEmmanuel Vadot 15*0e8011faSEmmanuel Vadotproperties: 16*0e8011faSEmmanuel Vadot compatible: 17*0e8011faSEmmanuel Vadot const: qcom,msm8916-wcd-digital-codec 18*0e8011faSEmmanuel Vadot 19*0e8011faSEmmanuel Vadot reg: 20*0e8011faSEmmanuel Vadot maxItems: 1 21*0e8011faSEmmanuel Vadot 22*0e8011faSEmmanuel Vadot clocks: 23*0e8011faSEmmanuel Vadot maxItems: 2 24*0e8011faSEmmanuel Vadot 25*0e8011faSEmmanuel Vadot clock-names: 26*0e8011faSEmmanuel Vadot items: 27*0e8011faSEmmanuel Vadot - const: ahbix-clk 28*0e8011faSEmmanuel Vadot - const: mclk 29*0e8011faSEmmanuel Vadot 30*0e8011faSEmmanuel Vadot '#sound-dai-cells': 31*0e8011faSEmmanuel Vadot const: 1 32*0e8011faSEmmanuel Vadot 33*0e8011faSEmmanuel Vadotrequired: 34*0e8011faSEmmanuel Vadot - compatible 35*0e8011faSEmmanuel Vadot - reg 36*0e8011faSEmmanuel Vadot - clocks 37*0e8011faSEmmanuel Vadot - clock-names 38*0e8011faSEmmanuel Vadot - '#sound-dai-cells' 39*0e8011faSEmmanuel Vadot 40*0e8011faSEmmanuel VadotallOf: 41*0e8011faSEmmanuel Vadot - $ref: dai-common.yaml# 42*0e8011faSEmmanuel Vadot 43*0e8011faSEmmanuel VadotunevaluatedProperties: false 44*0e8011faSEmmanuel Vadot 45*0e8011faSEmmanuel Vadotexamples: 46*0e8011faSEmmanuel Vadot - | 47*0e8011faSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-msm8916.h> 48*0e8011faSEmmanuel Vadot audio-codec@771c000 { 49*0e8011faSEmmanuel Vadot compatible = "qcom,msm8916-wcd-digital-codec"; 50*0e8011faSEmmanuel Vadot reg = <0x0771c000 0x400>; 51*0e8011faSEmmanuel Vadot clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>, 52*0e8011faSEmmanuel Vadot <&gcc GCC_CODEC_DIGCODEC_CLK>; 53*0e8011faSEmmanuel Vadot clock-names = "ahbix-clk", "mclk"; 54*0e8011faSEmmanuel Vadot #sound-dai-cells = <1>; 55*0e8011faSEmmanuel Vadot }; 56