ASoC: Mediatek: MT8183: Add support for machine driver with DA7219 or TS3A227
Subsystems (4)
cover ASoC: Mediatek: MT8183: Add support for machine driver with DA7219 or TS3A227
ASoC: Mediatek: MT8183: Add support for machine driver with DA7219 or TS3A227
Shunli Wang (4):
ASoC: Mediatek: MT8183: Add machine driver with TS3A227
ASoC: Mediatek: Add document for mt8183-mt6358-ts3a227-max98357
ASoC: Mediatek: MT8183: Add machine driver with DA7219
ASoC: Mediatek: Add document for mt8183-da7219-max98357
.../bindings/sound/mt8183-da7219-max98357.txt | 15 + .../sound/mt8183-mt6358-ts3a227-max98357.txt | 15 + sound/soc/mediatek/Kconfig | 26 ++ sound/soc/mediatek/mt8183/Makefile | 2 + sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 472 +++++++++++++++++++++ .../mt8183/mt8183-mt6358-ts3a227-max98357.c | 382 +++++++++++++++++ 6 files changed, 912 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt create mode 100644 Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt create mode 100644 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c create mode 100644 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
Signature · 1 line
1.9.1
PATCH 1/4 ASoC: Mediatek: MT8183: Add machine driver with TS3A227
In reply to a message not in the archiveThis patch adds support for the machine board with TS3A227.
--- sound/soc/mediatek/Kconfig | 13 + sound/soc/mediatek/mt8183/Makefile | 1 + .../mt8183/mt8183-mt6358-ts3a227-max98357.c | 382 +++++++++++++++++++++ 3 files changed, 396 insertions(+) create mode 100644 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
sound/soc/mediatek/Kconfig +13 -0
@@ -116,6 +116,19 @@ config SND_SOC_MT8183 Select Y if you have such device. If unsure select "N". +config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A + tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A codec" + depends on SND_SOC_MT8183 + select SND_SOC_MT6358 + select SND_SOC_MAX98357A + select SND_SOC_BT_SCO + select SND_SOC_TS3A227E + help + This adds ASoC driver for Mediatek MT8183 boards + with the MT6358 TS3A227E MAX98357A audio codec. + 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/Makefile +1 -0
@@ -11,3 +11,4 @@ snd-soc-mt8183-afe-objs := \ mt8183-dai-adda.o obj-$(CONFIG_SND_SOC_MT8183) += snd-soc-mt8183-afe.o +obj-$(CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A) += mt8183-mt6358-ts3a227-max98357.o
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c new file +382 -0
382 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 2/4 ASoC: Mediatek: Add document for mt8183-mt6358-ts3a227-max98357
In reply to a message not in the archiveThis patch adds document for the machine board with mt6358, ts3a227 and max98357 codecs.
--- .../bindings/sound/mt8183-mt6358-ts3a227-max98357.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt
Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt new file +15 -0
@@ -0,0 +1,15 @@ +MT8183 with MT6358, TS3A227 and MAX98357 CODECS + +Required properties: +- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" +- mediatek,headset-codec: the phandles of ts3a227 codecs +- mediatek,platform: the phandle of MT8183 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; + mediatek,headset-codec = <&ts3a227>; + mediatek,platform = <&afe>; + }; +
Signature · 1 line
1.9.1
PATCH 3/4 ASoC: Mediatek: MT8183: Add machine driver with DA7219
In reply to a message not in the archiveThis patch adds support for the machine board with mt6358, da7219 and max98357 codecs.
--- sound/soc/mediatek/Kconfig | 13 + sound/soc/mediatek/mt8183/Makefile | 1 + sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 472 +++++++++++++++++++++ 3 files changed, 486 insertions(+) create mode 100644 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
sound/soc/mediatek/Kconfig +13 -0
@@ -129,6 +129,19 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A Select Y if you have such device. If unsure select "N". +config SND_SOC_MT8183_DA7219_MAX98357A + tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A codec" + depends on SND_SOC_MT8183 + select SND_SOC_MT6358 + select SND_SOC_MAX98357A + select SND_SOC_DA7219 + select SND_SOC_BT_SCO + help + This adds ASoC driver for Mediatek MT8183 boards + with the DA7219 MAX98357A audio codec. + 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/Makefile +1 -0
@@ -12,3 +12,4 @@ snd-soc-mt8183-afe-objs := \ obj-$(CONFIG_SND_SOC_MT8183) += snd-soc-mt8183-afe.o obj-$(CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A) += mt8183-mt6358-ts3a227-max98357.o +obj-$(CONFIG_SND_SOC_MT8183_DA7219_MAX98357A) += mt8183-da7219-max98357.o
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c new file +472 -0
472 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 4/4 ASoC: Mediatek: Add document for mt8183-da7219-max98357
In reply to a message not in the archiveThis patch adds document for the machine board with mt6358, da7219 and max98357 codecs.
--- .../devicetree/bindings/sound/mt8183-da7219-max98357.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt
Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt new file +15 -0
@@ -0,0 +1,15 @@ +MT8183 with MT6358, DA7219 and MAX98357 CODECS + +Required properties: +- compatible : "mediatek,mt8183_da7219_max98357" +- mediatek,headset-codec: the phandles of da7219 codecs +- mediatek,platform: the phandle of MT8183 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8183_da7219_max98357"; + mediatek,headset-codec = <&da7219>; + mediatek,platform = <&afe>; + }; +
Signature · 1 line
1.9.1
Applied "ASoC: Mediatek: Add document for mt8183-da7219-max98357" to the asoc tree
In reply to a message not in the archiveThe patch
ASoC: Mediatek: Add document for mt8183-da7219-max98357
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
5a79acf9a9188d85e1f1a697ed7531e0f0f36943Mon Sep 17 00:00:00 2001
From: Shunli Wang <shunli.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>
Date: Fri, 29 Mar 2019 16:34:49 +0800
Subject: [PATCH] ASoC: Mediatek: Add document for mt8183-da7219-max98357
This patch adds document for the machine board with mt6358, da7219 and max98357 codecs.
--- .../bindings/sound/mt8183-da7219-max98357.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt
Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt new file +15 -0
@@ -0,0 +1,15 @@ +MT8183 with MT6358, DA7219 and MAX98357 CODECS + +Required properties: +- compatible : "mediatek,mt8183_da7219_max98357" +- mediatek,headset-codec: the phandles of da7219 codecs +- mediatek,platform: the phandle of MT8183 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8183_da7219_max98357"; + mediatek,headset-codec = <&da7219>; + mediatek,platform = <&afe>; + }; +
Signature · 1 line
2.20.1
Applied "ASoC: Mediatek: MT8183: Add machine driver with DA7219" to the asoc tree
In reply to a message not in the archiveThe patch
ASoC: Mediatek: MT8183: Add machine driver with DA7219
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
ebbddc75bbe8d8eab64d3285b0480f5ae9232b2eMon Sep 17 00:00:00 2001
From: Shunli Wang <shunli.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>
Date: Fri, 29 Mar 2019 16:34:48 +0800
Subject: [PATCH] ASoC: Mediatek: MT8183: Add machine driver with DA7219
This patch adds support for the machine board with mt6358, da7219 and max98357 codecs.
--- sound/soc/mediatek/Kconfig | 13 + sound/soc/mediatek/mt8183/Makefile | 1 + .../mediatek/mt8183/mt8183-da7219-max98357.c | 472 ++++++++++++++++++ 3 files changed, 486 insertions(+) create mode 100644 sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
sound/soc/mediatek/Kconfig +13 -0
@@ -129,6 +129,19 @@ config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A Select Y if you have such device. If unsure select "N". +config SND_SOC_MT8183_DA7219_MAX98357A + tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A codec" + depends on SND_SOC_MT8183 + select SND_SOC_MT6358 + select SND_SOC_MAX98357A + select SND_SOC_DA7219 + select SND_SOC_BT_SCO + help + This adds ASoC driver for Mediatek MT8183 boards + with the DA7219 MAX98357A audio codec. + 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/Makefile +1 -0
@@ -12,3 +12,4 @@ snd-soc-mt8183-afe-objs := \ obj-$(CONFIG_SND_SOC_MT8183) += snd-soc-mt8183-afe.o obj-$(CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A) += mt8183-mt6358-ts3a227-max98357.o +obj-$(CONFIG_SND_SOC_MT8183_DA7219_MAX98357A) += mt8183-da7219-max98357.o
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c new file +472 -0
472 lines not on this page · raw message
Signature · 1 line
2.20.1
Applied "ASoC: Mediatek: Add document for mt8183-mt6358-ts3a227-max98357" to the asoc tree
In reply to a message not in the archiveThe patch
ASoC: Mediatek: Add document for mt8183-mt6358-ts3a227-max98357
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
9067cdea17954f4c5b0d5b114a588b8d85ce3219Mon Sep 17 00:00:00 2001
From: Shunli Wang <shunli.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>
Date: Fri, 29 Mar 2019 16:34:47 +0800
Subject: [PATCH] ASoC: Mediatek: Add document for
mt8183-mt6358-ts3a227-max98357
This patch adds document for the machine board with mt6358, ts3a227 and max98357 codecs.
--- .../sound/mt8183-mt6358-ts3a227-max98357.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt
Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt new file +15 -0
@@ -0,0 +1,15 @@ +MT8183 with MT6358, TS3A227 and MAX98357 CODECS + +Required properties: +- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" +- mediatek,headset-codec: the phandles of ts3a227 codecs +- mediatek,platform: the phandle of MT8183 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; + mediatek,headset-codec = <&ts3a227>; + mediatek,platform = <&afe>; + }; +
Signature · 1 line
2.20.1
Applied "ASoC: Mediatek: MT8183: Add machine driver with TS3A227" to the asoc tree
In reply to a message not in the archiveThe patch
ASoC: Mediatek: MT8183: Add machine driver with TS3A227
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
11c0269017b212fd47c593307d2dc3eb9713b2d0Mon Sep 17 00:00:00 2001
From: Shunli Wang <shunli.wang-NuS5LvNUpcJWk0Htik3J/[email protected]>
Date: Fri, 29 Mar 2019 16:34:46 +0800
Subject: [PATCH] ASoC: Mediatek: MT8183: Add machine driver with TS3A227
This patch adds support for the machine board with TS3A227.
--- sound/soc/mediatek/Kconfig | 13 + sound/soc/mediatek/mt8183/Makefile | 1 + .../mt8183/mt8183-mt6358-ts3a227-max98357.c | 382 ++++++++++++++++++ 3 files changed, 396 insertions(+) create mode 100644 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
sound/soc/mediatek/Kconfig +13 -0
@@ -116,6 +116,19 @@ config SND_SOC_MT8183 Select Y if you have such device. If unsure select "N". +config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A + tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A codec" + depends on SND_SOC_MT8183 + select SND_SOC_MT6358 + select SND_SOC_MAX98357A + select SND_SOC_BT_SCO + select SND_SOC_TS3A227E + help + This adds ASoC driver for Mediatek MT8183 boards + with the MT6358 TS3A227E MAX98357A audio codec. + 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/Makefile +1 -0
@@ -11,3 +11,4 @@ snd-soc-mt8183-afe-objs := \ mt8183-dai-adda.o obj-$(CONFIG_SND_SOC_MT8183) += snd-soc-mt8183-afe.o +obj-$(CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A) += mt8183-mt6358-ts3a227-max98357.o
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c new file +382 -0
382 lines not on this page · raw message
Signature · 1 line
2.20.1