2023-03-07 13:28:37

by Vijendar Mukunda

[permalink] [raw]
Subject: [PATCH V6 4/8] soundwire: amd: enable build for AMD SoundWire manager driver

Enable build for SoundWire manager driver for AMD platforms.

Signed-off-by: Vijendar Mukunda <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
---
drivers/soundwire/Kconfig | 10 ++++++++++
drivers/soundwire/Makefile | 4 ++++
2 files changed, 14 insertions(+)

diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig
index 2b7795233282..983afe3570b2 100644
--- a/drivers/soundwire/Kconfig
+++ b/drivers/soundwire/Kconfig
@@ -46,4 +46,14 @@ config SOUNDWIRE_QCOM
config SOUNDWIRE_GENERIC_ALLOCATION
tristate

+config SOUNDWIRE_AMD
+ tristate "AMD SoundWire Manager driver"
+ select SOUNDWIRE_GENERIC_ALLOCATION
+ depends on ACPI && SND_SOC
+ help
+ SoundWire AMD Manager driver.
+ If you have an AMD platform which has a SoundWire Manager then
+ enable this config option to get the SoundWire support for that
+ device.
+
endif
diff --git a/drivers/soundwire/Makefile b/drivers/soundwire/Makefile
index ca97414ada70..5956229d3eb3 100644
--- a/drivers/soundwire/Makefile
+++ b/drivers/soundwire/Makefile
@@ -26,3 +26,7 @@ obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
#Qualcomm driver
soundwire-qcom-y := qcom.o
obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
+
+#AMD driver
+soundwire-amd-y := amd_manager.o
+obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
--
2.34.1



2023-03-15 10:01:03

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH V6 4/8] soundwire: amd: enable build for AMD SoundWire manager driver

On 07-03-23, 19:01, Vijendar Mukunda wrote:
> Enable build for SoundWire manager driver for AMD platforms.
>
> Signed-off-by: Vijendar Mukunda <[email protected]>
> Reviewed-by: Pierre-Louis Bossart <[email protected]>
> Link: https://lore.kernel.org/lkml/[email protected]
> ---
> drivers/soundwire/Kconfig | 10 ++++++++++
> drivers/soundwire/Makefile | 4 ++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig
> index 2b7795233282..983afe3570b2 100644
> --- a/drivers/soundwire/Kconfig
> +++ b/drivers/soundwire/Kconfig
> @@ -46,4 +46,14 @@ config SOUNDWIRE_QCOM
> config SOUNDWIRE_GENERIC_ALLOCATION
> tristate
>
> +config SOUNDWIRE_AMD
> + tristate "AMD SoundWire Manager driver"

Alphabetically sorted please

> + select SOUNDWIRE_GENERIC_ALLOCATION
> + depends on ACPI && SND_SOC
> + help
> + SoundWire AMD Manager driver.
> + If you have an AMD platform which has a SoundWire Manager then
> + enable this config option to get the SoundWire support for that
> + device.
> +
> endif
> diff --git a/drivers/soundwire/Makefile b/drivers/soundwire/Makefile
> index ca97414ada70..5956229d3eb3 100644
> --- a/drivers/soundwire/Makefile
> +++ b/drivers/soundwire/Makefile
> @@ -26,3 +26,7 @@ obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
> #Qualcomm driver
> soundwire-qcom-y := qcom.o
> obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
> +
> +#AMD driver
> +soundwire-amd-y := amd_manager.o
> +obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o

here as well

> --
> 2.34.1

--
~Vinod

2023-03-16 03:28:29

by Vijendar Mukunda

[permalink] [raw]
Subject: Re: [PATCH V6 4/8] soundwire: amd: enable build for AMD SoundWire manager driver

On 15/03/23 15:29, Vinod Koul wrote:
> On 07-03-23, 19:01, Vijendar Mukunda wrote:
>> Enable build for SoundWire manager driver for AMD platforms.
>>
>> Signed-off-by: Vijendar Mukunda <[email protected]>
>> Reviewed-by: Pierre-Louis Bossart <[email protected]>
>> Link: https://lore.kernel.org/lkml/[email protected]
>> ---
>> drivers/soundwire/Kconfig | 10 ++++++++++
>> drivers/soundwire/Makefile | 4 ++++
>> 2 files changed, 14 insertions(+)
>>
>> diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig
>> index 2b7795233282..983afe3570b2 100644
>> --- a/drivers/soundwire/Kconfig
>> +++ b/drivers/soundwire/Kconfig
>> @@ -46,4 +46,14 @@ config SOUNDWIRE_QCOM
>> config SOUNDWIRE_GENERIC_ALLOCATION
>> tristate
>>
>> +config SOUNDWIRE_AMD
>> + tristate "AMD SoundWire Manager driver"
> Alphabetically sorted please
will fix it.
>
>> + select SOUNDWIRE_GENERIC_ALLOCATION
>> + depends on ACPI && SND_SOC
>> + help
>> + SoundWire AMD Manager driver.
>> + If you have an AMD platform which has a SoundWire Manager then
>> + enable this config option to get the SoundWire support for that
>> + device.
>> +
>> endif
>> diff --git a/drivers/soundwire/Makefile b/drivers/soundwire/Makefile
>> index ca97414ada70..5956229d3eb3 100644
>> --- a/drivers/soundwire/Makefile
>> +++ b/drivers/soundwire/Makefile
>> @@ -26,3 +26,7 @@ obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
>> #Qualcomm driver
>> soundwire-qcom-y := qcom.o
>> obj-$(CONFIG_SOUNDWIRE_QCOM) += soundwire-qcom.o
>> +
>> +#AMD driver
>> +soundwire-amd-y := amd_manager.o
>> +obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
> here as well
Will fix it.
>
>> --
>> 2.34.1