summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-12-02 18:19:11 +0300
committerMark Brown <broonie@kernel.org>2020-12-02 18:19:11 +0300
commit7a51b4cb97087d6b9e7769ba5f9d4cad20c4c1aa (patch)
tree4401a303b2f4cafb5cae67cdf97660cc67861635 /Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml
parentadc7d561800997d39abc689ad05cf3cd1270b97a (diff)
parentcfd8bb254c9985266e4be7f59042170a72548a8f (diff)
downloadlinux-7a51b4cb97087d6b9e7769ba5f9d4cad20c4c1aa.tar.xz
Merge series "ASoC: mediatek: mt8192: support new machine rt1015p_rt5682" from Tzung-Bi Shih <tzungbi@google.com>:
The series supports new machines with rt1015p and rt5682. Reuses most of the code in mt8192-mt6359-rt1015-rt5682.c. The first 3 patches refactor the existing mt8192-mt6359-rt1015-rt5682.c. For easier to support newly added components later. The 4th patch fixes a typo in DT bindings document. The 5th patch proposes a new compatible string "mt8192_mt6359_rt1015p_rt5682" for machines with rt1015p and rt5682. The 6th patch reuses the existing machine driver to support machines with rt1015p and rt5682. Tzung-Bi Shih (6): ASoC: mediatek: mt8192: rename common symbols ASoC: mediatek: mt8192: extract rt1015_rt5682 specific DAI link ASoC: mediatek: mt8192: move rt1015_rt5682 specific data ASoC: dt-bindings: mt8192-mt6359: fix typo in the example ASoC: dt-bindings: mt8192-mt6359: add new compatible for using rt1015p ASoC: mediatek: mt8192: support rt1015p_rt5682 .../sound/mt8192-mt6359-rt1015-rt5682.yaml | 6 +- sound/soc/mediatek/Kconfig | 1 + .../mt8192/mt8192-mt6359-rt1015-rt5682.c | 171 +++++++++++++----- 3 files changed, 129 insertions(+), 49 deletions(-) -- 2.29.2.454.gaff20da3a2-goog
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml
index 342232a61cfb..bf8c8ba25009 100644
--- a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml
+++ b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml
@@ -15,7 +15,9 @@ description:
properties:
compatible:
- const: mediatek,mt8192_mt6359_rt1015_rt5682
+ enum:
+ - mediatek,mt8192_mt6359_rt1015_rt5682
+ - mediatek,mt8192_mt6359_rt1015p_rt5682
mediatek,platform:
$ref: "/schemas/types.yaml#/definitions/phandle"
@@ -31,7 +33,7 @@ examples:
- |
sound: mt8192-sound {
- compatible = "mediatek,mt8192-mt6359-rt1015-rt5682";
+ compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
mediatek,platform = <&afe>;
pinctrl-names = "aud_clk_mosi_off",
"aud_clk_mosi_on";