1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,lpass-tx-macro.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: LPASS(Low Power Audio Subsystem) TX Macro audio codec DT bindings 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotproperties: 13*5def4c47SEmmanuel Vadot compatible: 14*5def4c47SEmmanuel Vadot const: qcom,sm8250-lpass-tx-macro 15*5def4c47SEmmanuel Vadot 16*5def4c47SEmmanuel Vadot reg: 17*5def4c47SEmmanuel Vadot maxItems: 1 18*5def4c47SEmmanuel Vadot 19*5def4c47SEmmanuel Vadot "#sound-dai-cells": 20*5def4c47SEmmanuel Vadot const: 1 21*5def4c47SEmmanuel Vadot 22*5def4c47SEmmanuel Vadot '#clock-cells': 23*5def4c47SEmmanuel Vadot const: 0 24*5def4c47SEmmanuel Vadot 25*5def4c47SEmmanuel Vadot clocks: 26*5def4c47SEmmanuel Vadot maxItems: 5 27*5def4c47SEmmanuel Vadot 28*5def4c47SEmmanuel Vadot clock-names: 29*5def4c47SEmmanuel Vadot items: 30*5def4c47SEmmanuel Vadot - const: mclk 31*5def4c47SEmmanuel Vadot - const: npl 32*5def4c47SEmmanuel Vadot - const: macro 33*5def4c47SEmmanuel Vadot - const: dcodec 34*5def4c47SEmmanuel Vadot - const: fsgen 35*5def4c47SEmmanuel Vadot 36*5def4c47SEmmanuel Vadot clock-output-names: 37*5def4c47SEmmanuel Vadot items: 38*5def4c47SEmmanuel Vadot - const: mclk 39*5def4c47SEmmanuel Vadot 40*5def4c47SEmmanuel Vadot qcom,dmic-sample-rate: 41*5def4c47SEmmanuel Vadot description: dmic sample rate 42*5def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 43*5def4c47SEmmanuel Vadot 44*5def4c47SEmmanuel Vadotrequired: 45*5def4c47SEmmanuel Vadot - compatible 46*5def4c47SEmmanuel Vadot - reg 47*5def4c47SEmmanuel Vadot - "#sound-dai-cells" 48*5def4c47SEmmanuel Vadot 49*5def4c47SEmmanuel VadotadditionalProperties: false 50*5def4c47SEmmanuel Vadot 51*5def4c47SEmmanuel Vadotexamples: 52*5def4c47SEmmanuel Vadot - | 53*5def4c47SEmmanuel Vadot #include <dt-bindings/sound/qcom,q6afe.h> 54*5def4c47SEmmanuel Vadot codec@3220000 { 55*5def4c47SEmmanuel Vadot compatible = "qcom,sm8250-lpass-tx-macro"; 56*5def4c47SEmmanuel Vadot reg = <0x3220000 0x1000>; 57*5def4c47SEmmanuel Vadot #sound-dai-cells = <1>; 58*5def4c47SEmmanuel Vadot #clock-cells = <0>; 59*5def4c47SEmmanuel Vadot clocks = <&aoncc 0>, 60*5def4c47SEmmanuel Vadot <&aoncc 1>, 61*5def4c47SEmmanuel Vadot <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 62*5def4c47SEmmanuel Vadot <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 63*5def4c47SEmmanuel Vadot <&vamacro>; 64*5def4c47SEmmanuel Vadot clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 65*5def4c47SEmmanuel Vadot clock-output-names = "mclk"; 66*5def4c47SEmmanuel Vadot qcom,dmic-sample-rate = <600000>; 67*5def4c47SEmmanuel Vadot }; 68