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 <rohitkr@codeaurora.org>
11 - Cheng-Yi Chiang <cychiang@chromium.org>
14 This binding describes the SC7180 sound card which uses LPASS for audio.
19 - google,sc7180-trogdor
20 - google,sc7180-coachz
23 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
25 A list of the connections between audio components. Each entry is a
26 pair of strings, the first being the connection's sink, the second
27 being the connection's source.
30 $ref: /schemas/types.yaml#/definitions/string
31 description: User specified audio sound card name
41 description: GPIO for switching between DMICs
44 "^dai-link(@[0-9])?$":
46 Each subnode represents a dai link. Subnodes of each dai links would be
53 description: Indicates dai-link name and PCM stream name.
54 $ref: /schemas/types.yaml#/definitions/string
59 description: dai link address.
62 description: Holds subnode which indicates cpu dai.
69 description: Holds subnode which indicates codec dai.
80 additionalProperties: false
88 additionalProperties: false
94 compatible = "google,sc7180-trogdor";
95 model = "sc7180-rt5682-max98357a-2mic";
98 "Headphone Jack", "HPOL",
99 "Headphone Jack", "HPOR";
101 #address-cells = <1>;
104 dmic-gpios = <&tlmm 86 0>;
107 link-name = "MultiMedia0";
110 sound-dai = <&lpass_cpu 0>;
114 sound-dai = <&alc5682 0>;
119 link-name = "MultiMedia1";
122 sound-dai = <&lpass_cpu 1>;
126 sound-dai = <&max98357a>;
131 link-name = "MultiMedia2";
134 sound-dai = <&lpass_hdmi 0>;
138 sound-dai = <&msm_dp>;