ASoC: Mediatek: Add mt8183-mt6358 machine driver
Subsystems (4)
cover ASoC: Mediatek: Add mt8183-mt6358 machine driver
This patch adds machine driver which uses MT8183 as SoC and MT6358 as external codec.
The patch is based on broonie tree "for-next" branch
Shunli Wang (2):
ASoC: mediatek: mt8183: add mt8183-mt6358 machine driver
ASoC: mediatek: add document for mt8183-mt6358
.../devicetree/bindings/sound/mt8183-mt6358.txt | 12 ++ sound/soc/mediatek/Kconfig | 10 + sound/soc/mediatek/mt8183/mt8183-mt6358.c | 201 +++++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-mt6358.txt create mode 100644 sound/soc/mediatek/mt8183/mt8183-mt6358.c
Signature · 1 line
1.9.1
PATCH 1/2 ASoC: mediatek: mt8183: add mt8183-mt6358 machine driver
In reply to a message not in the archiveThe board uses mt8183 as SoC and codec as mt6358. Between SoC and codec, a mtk-properity audio inferface is used.
--- sound/soc/mediatek/Kconfig | 10 ++ sound/soc/mediatek/mt8183/mt8183-mt6358.c | 201 ++++++++++++++++++++++++++++++ 2 files changed, 211 insertions(+) create mode 100644 sound/soc/mediatek/mt8183/mt8183-mt6358.c
sound/soc/mediatek/Kconfig +10 -0
@@ -116,6 +116,16 @@ config SND_SOC_MT8183 Select Y if you have such device. If unsure select "N". +config SND_SOC_MT8183_MT6358 + tristate "ASoc Audio driver for MT8183 with MT6358 codec" + depends on SND_SOC_MT8183 && MTK_PMIC_WRAP + select SND_SOC_MT8183 + help + This adds ASoC driver for Mediatek MT8183 boards + with the MT6358 codecs. + Select Y if you have such device. + If unsure select "N". + config SND_SOC_MTK_BTCVSD tristate "ALSA BT SCO CVSD/MSBC Driver" help
sound/soc/mediatek/mt8183/mt8183-mt6358.c new file +201 -0
201 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 2/2 ASoC: mediatek: add document for mt8183-mt6358
In reply to a message not in the archiveA device node usage notice for the machine with mt8183 as soc and mt6358 as codec.
--- Documentation/devicetree/bindings/sound/mt8183-mt6358.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-mt6358.txt
Documentation/devicetree/bindings/sound/mt8183-mt6358.txt new file +12 -0
@@ -0,0 +1,12 @@ +MT8183 with MT6358 CODEC + +Required properties: +- compatible: "mediatek,mt8183-mt6358-sound" +- mediatek,platform: the phandle of MT8183 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8183-mt6358-sound"; + mediatek,platform = <&afe>; + };
Signature · 1 line
1.9.1
Re: [PATCH 1/2] ASoC: mediatek: mt8183: add mt8183-mt6358 machine driver
In reply to a message not in the archivesound/soc/mediatek/Kconfig config SND_SOC_MT8183 · line 123
Quoted 5 lines · Shunli Wang
sound/soc/mediatek/Kconfig +5
-0+config SND_SOC_MT8183_MT6358 + tristate "ASoc Audio driver for MT8183 with MT6358 codec" + depends on SND_SOC_MT8183 && MTK_PMIC_WRAP + select SND_SOC_MT8183 + help
This doesn't build:
scripts/kconfig/conf --oldconfig Kconfig sound/soc/mediatek/Kconfig:119:error: recursive dependency detected!sound/soc/mediatek/Kconfig:119: symbol SND_SOC_MT8183_MT6358 depends on SND_SOC_MT8183sound/soc/mediatek/Kconfig:109: symbol SND_SOC_MT8183 is selected by SND_SOC_MT8183_MT6358
For a resolution refer to Documentation/kbuild/kconfig-language.txt
_______________________________________________
Linux-mediatek mailing list [email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek