1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google SC7180-Trogdor ASoC sound card driver
10 - Rohit kumar <quic_rohkumar@quicinc.com>
11 - Cheng-Yi Chiang <cychiang@chromium.org>
14 This binding describes the SC7180 sound card which uses LPASS for audio.
17 - $ref: sound-card-common.yaml#
22 - google,sc7180-trogdor
23 - google,sc7180-coachz
33 description: GPIO for switching between DMICs
36 "^dai-link(@[0-9])?$":
38 Each subnode represents a dai link. Subnodes of each dai links would be
45 description: Indicates dai-link name and PCM stream name.
46 $ref: /schemas/types.yaml#/definitions/string
51 description: dai link address.
54 description: Holds subnode which indicates cpu dai.
56 additionalProperties: false
63 description: Holds subnode which indicates codec dai.
65 additionalProperties: false
77 additionalProperties: false
84 unevaluatedProperties: false
90 compatible = "google,sc7180-trogdor";
91 model = "sc7180-rt5682-max98357a-2mic";
94 "Headphone Jack", "HPOL",
95 "Headphone Jack", "HPOR";
100 dmic-gpios = <&tlmm 86 0>;
103 link-name = "MultiMedia0";
106 sound-dai = <&lpass_cpu 0>;
110 sound-dai = <&alc5682 0>;
115 link-name = "MultiMedia1";
118 sound-dai = <&lpass_cpu 1>;
122 sound-dai = <&max98357a>;
127 link-name = "MultiMedia2";
130 sound-dai = <&lpass_hdmi 0>;
134 sound-dai = <&msm_dp>;