Unverified Commit dc98f1d6 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown
Browse files

ASoC: remove zte zx drivers



The zte zx platform is getting removed, so this driver is no
longer needed.

Cc: Jun Nie <jun.nie@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210120162553.21666-3-arnd@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 61fbeb5d
Loading
Loading
Loading
Loading
+0 −30
Original line number Diff line number Diff line
ZTE TDM DAI driver

Required properties:

- compatible : should be one of the following.
       * zte,zx296718-tdm
- reg : physical base address of the controller and length of memory mapped
    region.
- clocks : Pairs of phandle and specifier referencing the controller's clocks.
- clock-names: "wclk" for the wclk.
               "pclk" for the pclk.
-#clock-cells: should be 1.
- zte,tdm-dma-sysctrl : Reference to the sysctrl controller controlling
    the dma. includes:
	phandle of sysctrl.
	register offset in sysctrl for control dma.
	mask of the register that be written to sysctrl.

Example:

	tdm: tdm@1487000 {
		compatible = "zte,zx296718-tdm";
		reg = <0x01487000 0x1000>;
		clocks = <&audiocrm AUDIO_TDM_WCLK>, <&audiocrm AUDIO_TDM_PCLK>;
		clock-names = "wclk", "pclk";
		#clock-cells = <1>;
		pinctrl-names = "default";
		pinctrl-0 = <&tdm_global_pin>;
		zte,tdm-dma-sysctrl = <&sysctrl 0x10c 4>;
	};
+0 −24
Original line number Diff line number Diff line
ZTE ZX AUD96P22 Audio Codec

Required properties:
 - compatible: Must be "zte,zx-aud96p22"
 - #sound-dai-cells: Should be 0
 - reg: I2C bus slave address of AUD96P22

Example:

	i2c0: i2c@1486000 {
		compatible = "zte,zx296718-i2c";
		reg = <0x01486000 0x1000>;
		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
		#address-cells = <1>;
		#size-cells = <0>;
		clocks = <&audiocrm AUDIO_I2C0_WCLK>;
		clock-frequency = <1600000>;

		aud96p22: codec@22 {
			compatible = "zte,zx-aud96p22";
			#sound-dai-cells = <0>;
			reg = <0x22>;
		};
	};
+0 −45
Original line number Diff line number Diff line
ZTE ZX296702 I2S controller

Required properties:
 - compatible : Must be one of:
	"zte,zx296718-i2s", "zte,zx296702-i2s"
	"zte,zx296702-i2s"
 - reg : Must contain I2S core's registers location and length
 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
 - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface.
 - dmas: Pairs of phandle and specifier for the DMA channel that is used by
   the core. The core expects two dma channels for transmit.
 - dma-names : Must be "tx" and "rx"

For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
please check:
	* resource-names.txt
	* clock/clock-bindings.txt
	* dma/dma.txt

Example:
	i2s0: i2s@b005000 {
		#sound-dai-cells = <0>;
		compatible = "zte,zx296718-i2s", "zte,zx296702-i2s";
		reg = <0x0b005000 0x1000>;
		clocks = <&audiocrm AUDIO_I2S0_WCLK>, <&audiocrm AUDIO_I2S0_PCLK>;
		clock-names = "wclk", "pclk";
		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
		dmas = <&dma 5>, <&dma 6>;
		dma-names = "tx", "rx";
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "zx296702_snd";
		simple-audio-card,format = "left_j";
		simple-audio-card,bitclock-master = <&sndcodec>;
		simple-audio-card,frame-master = <&sndcodec>;
		sndcpu: simple-audio-card,cpu {
			sound-dai = <&i2s0>;
		};

		sndcodec: simple-audio-card,codec {
			sound-dai = <&acodec>;
		};
	};
+0 −27
Original line number Diff line number Diff line
ZTE ZX296702 SPDIF controller

Required properties:
 - compatible : Must be "zte,zx296702-spdif"
 - reg : Must contain SPDIF core's registers location and length
 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
 - clock-names: "tx" for the clock to the SPDIF interface.
 - dmas: Pairs of phandle and specifier for the DMA channel that is used by
   the core. The core expects one dma channel for transmit.
 - dma-names : Must be "tx"

For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties
please check:
	* resource-names.txt
	* clock/clock-bindings.txt
	* dma/dma.txt

Example:
	spdif0: spdif0@b004000 {
		compatible = "zte,zx296702-spdif";
		reg = <0x0b004000 0x1000>;
		clocks = <&lsp0clk ZX296702_SPDIF0_DIV>;
		clock-names = "tx";
		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
		dmas = <&dma 4>;
		dma-names = "tx";
	};
+0 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ source "sound/soc/uniphier/Kconfig"
source "sound/soc/ux500/Kconfig"
source "sound/soc/xilinx/Kconfig"
source "sound/soc/xtensa/Kconfig"
source "sound/soc/zte/Kconfig"

# Supported codecs
source "sound/soc/codecs/Kconfig"
Loading