15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,lpass-rx-macro.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: LPASS(Low Power Audio Subsystem) RX Macro audio codec DT bindings 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 14*8cc087a1SEmmanuel Vadot enum: 15*8cc087a1SEmmanuel Vadot - qcom,sc7280-lpass-rx-macro 16*8cc087a1SEmmanuel Vadot - qcom,sm8250-lpass-rx-macro 175def4c47SEmmanuel Vadot 185def4c47SEmmanuel Vadot reg: 195def4c47SEmmanuel Vadot maxItems: 1 205def4c47SEmmanuel Vadot 215def4c47SEmmanuel Vadot "#sound-dai-cells": 225def4c47SEmmanuel Vadot const: 1 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot '#clock-cells': 255def4c47SEmmanuel Vadot const: 0 265def4c47SEmmanuel Vadot 275def4c47SEmmanuel Vadot clocks: 285def4c47SEmmanuel Vadot maxItems: 5 295def4c47SEmmanuel Vadot 305def4c47SEmmanuel Vadot clock-names: 315def4c47SEmmanuel Vadot items: 325def4c47SEmmanuel Vadot - const: mclk 335def4c47SEmmanuel Vadot - const: npl 345def4c47SEmmanuel Vadot - const: macro 355def4c47SEmmanuel Vadot - const: dcodec 365def4c47SEmmanuel Vadot - const: fsgen 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot clock-output-names: 395def4c47SEmmanuel Vadot items: 405def4c47SEmmanuel Vadot - const: mclk 415def4c47SEmmanuel Vadot 425def4c47SEmmanuel Vadotrequired: 435def4c47SEmmanuel Vadot - compatible 445def4c47SEmmanuel Vadot - reg 455def4c47SEmmanuel Vadot - "#sound-dai-cells" 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel VadotadditionalProperties: false 485def4c47SEmmanuel Vadot 495def4c47SEmmanuel Vadotexamples: 505def4c47SEmmanuel Vadot - | 515def4c47SEmmanuel Vadot #include <dt-bindings/sound/qcom,q6afe.h> 525def4c47SEmmanuel Vadot codec@3200000 { 535def4c47SEmmanuel Vadot compatible = "qcom,sm8250-lpass-rx-macro"; 545def4c47SEmmanuel Vadot reg = <0x3200000 0x1000>; 555def4c47SEmmanuel Vadot #sound-dai-cells = <1>; 565def4c47SEmmanuel Vadot #clock-cells = <0>; 575def4c47SEmmanuel Vadot clocks = <&audiocc 0>, 585def4c47SEmmanuel Vadot <&audiocc 1>, 595def4c47SEmmanuel Vadot <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 605def4c47SEmmanuel Vadot <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 615def4c47SEmmanuel Vadot <&vamacro>; 625def4c47SEmmanuel Vadot clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 635def4c47SEmmanuel Vadot clock-output-names = "mclk"; 645def4c47SEmmanuel Vadot }; 65