ASoC: amd: Add support for RT5682 codec in machine driver
Subsystems (3)
Vijendar Mukunda
maintainerPATCH v5 1/2 ASoC: amd: Add support for RT5682 codec in machine driver
Add support for RT5682 codec in machine driver.
---
v4->v5:add checks for clk_set_rate() API return value fixed multiple definition error for acp_soc_is_rltk_max() API v3->v4: fixed clk_prepare_enable() for wclk instead of bclk v2->v3: updated SPDX licensev1->v2: updated kconfig, spdx license, removed unnecessary initialization and updated comment
sound/soc/amd/Kconfig | 5 +- sound/soc/amd/acp-da7219-max98357a.c | 357 +++++++++++++++++++++++++++++++++-- 2 files changed, 345 insertions(+), 17 deletions(-)
sound/soc/amd/Kconfig +3 -2
@@ -5,14 +5,15 @@ config SND_SOC_AMD_ACP This option enables ACP DMA support on AMD platform. config SND_SOC_AMD_CZ_DA7219MX98357_MACH - tristate "AMD CZ support for DA7219 and MAX9835" + tristate "AMD CZ support for DA7219, RT5682 and MAX9835" select SND_SOC_DA7219 + select SND_SOC_RT5682_I2C select SND_SOC_MAX98357A select SND_SOC_ADAU7002 select REGULATOR depends on SND_SOC_AMD_ACP && I2C && GPIOLIB help - This option enables machine driver for DA7219 and MAX9835. + This option enables machine driver for DA7219, RT5682 and MAX9835. config SND_SOC_AMD_CZ_RT5645_MACH tristate "AMD CZ support for RT5645"
sound/soc/amd/acp-da7219-max98357a.c +342 -15
439 lines not on this page · raw message
Signature · 1 line
2.7.4
Vijendar Mukunda
maintainerPATCH 2/2 ASoC: amd: update spdx license for acp machine driver
update SPDX license for acp machine driver.
--- sound/soc/amd/acp-da7219-max98357a.c | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-)
sound/soc/amd/acp-da7219-max98357a.c +5 -24
@@ -1,27 +1,8 @@ -/* -* Machine driver for AMD ACP Audio engine using DA7219 & MAX98357 codec -* -* Copyright 2017 Advanced Micro Devices, Inc. -* -* Permission is hereby granted, free of charge, to any person obtaining a -* copy of this software and associated documentation files (the "Software"), -* to deal in the Software without restriction, including without limitation -* the rights to use, copy, modify, merge, publish, distribute, sublicense, -* and/or sell copies of the Software, and to permit persons to whom the -* Software is furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR -* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -* OTHER DEALINGS IN THE SOFTWARE. -* -*/ +// SPDX-License-Identifier: MIT +// +// Machine driver for AMD ACP Audio engine using DA7219, RT5682 & MAX98357 codec +// +//Copyright 2017-2021 Advanced Micro Devices, Inc. #include <sound/core.h> #include <sound/soc.h>
Signature · 1 line
2.7.4
Mukunda,Vijendar
maintainerRe: [PATCH v1 2/2] ASoC: amd: update spdx license for acp machine driver
Quoted 35 lines · Vijendar Mukunda
update SPDX license for acp machine driver.
Signed-off-by Vijendar Mukunda <[email protected]>--- sound/soc/amd/acp-da7219-max98357a.c | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-)sound/soc/amd/acp-da7219-max98357a.c +0
-22@@ -1,27 +1,8 @@ -/* -* Machine driver for AMD ACP Audio engine using DA7219 & MAX98357 codec -* -* Copyright 2017 Advanced Micro Devices, Inc. -* -* Permission is hereby granted, free of charge, to any person obtaining a -* copy of this software and associated documentation files (the "Software"), -* to deal in the Software without restriction, including without limitation -* the rights to use, copy, modify, merge, publish, distribute, sublicense, -* and/or sell copies of the Software, and to permit persons to whom the -* Software is furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR -* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -* OTHER DEALINGS IN THE SOFTWARE.
sound/soc/amd/acp-da7219-max98357a.c line 8
Quoted 10 lines
sound/soc/amd/acp-da7219-max98357a.c +5
-2-* -*/ +// SPDX-License-Identifier: MIT +// +// Machine driver for AMD ACP Audio engine using DA7219, RT5682 & MAX98357 codec +// +//Copyright 2017-2021 Advanced Micro Devices, Inc. #include <sound/core.h> #include <sound/soc.h>
Hi Mark,
I see in the same patch series patch 1 got merged and this patch hasn't been reviewed. Should I resend the patch again?
Thanks,
Vijendar
Mark Brown
maintainerRe: [PATCH v1 2/2] ASoC: amd: update spdx license for acp machine driver
Quoted 3 lines · Mukunda,Vijendar
I see in the same patch series patch 1 got merged and this patch hasn't been reviewed.
Should I resend the patch again?
Yes.
Mark Brown
maintainerQuoted 1 line · Vijendar Mukunda
Add support for RT5682 codec in machine driver.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: amd: Add support for RT5682 codec in machine driver
commit: 7e71b48f9e27e437ca523432ea285c2585a539dc
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