Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de7975c2 authored by Shawn Guo's avatar Shawn Guo Committed by Mark Brown
Browse files

ASoC: zte: spdif and i2s drivers are not zx296702 specific



ZTE ZX SPDIF and I2S drivers can work on not only ZX296702 but also
other ZTE ZX family SoCs like ZX296718, which is an arm64 platform.
Let's make a few renaming and tweak the Kconfig a bit to get the drivers
available for other ZTE ZX platforms.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Reviewed-by: default avatarJun Nie <jun.nie@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1001354c
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
config ZX296702_SPDIF
config ZX_SPDIF
	tristate "ZX296702 spdif"
	tristate "ZTE ZX SPDIF Driver Support"
	depends on SOC_ZX296702 || COMPILE_TEST
	depends on ARCH_ZX || COMPILE_TEST
	depends on COMMON_CLK
	depends on COMMON_CLK
	select SND_SOC_GENERIC_DMAENGINE_PCM
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	help
	  Say Y or M if you want to add support for codecs attached to the
	  Say Y or M if you want to add support for codecs attached to the
	  zx296702 spdif interface
	  ZTE ZX SPDIF interface


config ZX296702_I2S
config ZX_I2S
	tristate "ZX296702 i2s"
	tristate "ZTE ZX I2S Driver Support"
	depends on SOC_ZX296702 || COMPILE_TEST
	depends on ARCH_ZX || COMPILE_TEST
	depends on COMMON_CLK
	depends on COMMON_CLK
	select SND_SOC_GENERIC_DMAENGINE_PCM
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	help
	  Say Y or M if you want to add support for codecs attached to the
	  Say Y or M if you want to add support for codecs attached to the
	  zx296702 i2s interface
	  ZTE ZX I2S interface
+2 −2
Original line number Original line Diff line number Diff line
obj-$(CONFIG_ZX296702_SPDIF)	+= zx296702-spdif.o
obj-$(CONFIG_ZX_SPDIF)	+= zx-spdif.o
obj-$(CONFIG_ZX296702_I2S)	+= zx296702-i2s.o
obj-$(CONFIG_ZX_I2S)	+= zx-i2s.o
+0 −0

File moved.

+0 −0

File moved.