mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
ASoC: TSCS454: Add Support
Currently there is no support for Tempo Semiconductor's TSCS454 CODEC. Add support for it. Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
56c3a95385
commit
0e725b483b
23
Documentation/devicetree/bindings/sound/tscs454.txt
Normal file
23
Documentation/devicetree/bindings/sound/tscs454.txt
Normal file
@ -0,0 +1,23 @@
|
||||
TSCS454 Audio CODEC
|
||||
|
||||
Required Properties:
|
||||
|
||||
- compatible : "tempo,tscs454"
|
||||
|
||||
- reg : <0x69>
|
||||
|
||||
- clock-names: Must one of the following "xtal", "mclk1", "mclk2"
|
||||
|
||||
- clocks: phandle of the clock that provides the codec sysclk
|
||||
|
||||
Note: If clock is not provided then bit clock is assumed
|
||||
|
||||
Example:
|
||||
|
||||
redwood: codec@69 {
|
||||
#sound-dai-cells = <1>;
|
||||
compatible = "tempo,tscs454";
|
||||
reg = <0x69>;
|
||||
clock-names = "mclk1";
|
||||
clocks = <&audio_mclk>;
|
||||
};
|
@ -172,6 +172,7 @@ config SND_SOC_ALL_CODECS
|
||||
select SND_SOC_TPA6130A2 if I2C
|
||||
select SND_SOC_TLV320DAC33 if I2C
|
||||
select SND_SOC_TSCS42XX if I2C
|
||||
select SND_SOC_TSCS454 if I2C
|
||||
select SND_SOC_TS3A227E if I2C
|
||||
select SND_SOC_TWL4030 if TWL4030_CORE
|
||||
select SND_SOC_TWL6040 if TWL6040_CORE
|
||||
@ -1031,6 +1032,13 @@ config SND_SOC_TSCS42XX
|
||||
help
|
||||
Add support for Tempo Semiconductor's TSCS42xx audio CODEC.
|
||||
|
||||
config SND_SOC_TSCS454
|
||||
tristate "Tempo Semiconductor TSCS454 CODEC"
|
||||
depends on I2C
|
||||
select REGMAP_I2C
|
||||
help
|
||||
Add support for Tempo Semiconductor's TSCS454 audio CODEC.
|
||||
|
||||
config SND_SOC_TWL4030
|
||||
select MFD_TWL4030_AUDIO
|
||||
tristate
|
||||
|
@ -184,6 +184,7 @@ snd-soc-tlv320aic32x4-spi-objs := tlv320aic32x4-spi.o
|
||||
snd-soc-tlv320aic3x-objs := tlv320aic3x.o
|
||||
snd-soc-tlv320dac33-objs := tlv320dac33.o
|
||||
snd-soc-tscs42xx-objs := tscs42xx.o
|
||||
snd-soc-tscs454-objs := tscs454.o
|
||||
snd-soc-ts3a227e-objs := ts3a227e.o
|
||||
snd-soc-twl4030-objs := twl4030.o
|
||||
snd-soc-twl6040-objs := twl6040.o
|
||||
@ -440,6 +441,7 @@ obj-$(CONFIG_SND_SOC_TLV320AIC32X4_SPI) += snd-soc-tlv320aic32x4-spi.o
|
||||
obj-$(CONFIG_SND_SOC_TLV320AIC3X) += snd-soc-tlv320aic3x.o
|
||||
obj-$(CONFIG_SND_SOC_TLV320DAC33) += snd-soc-tlv320dac33.o
|
||||
obj-$(CONFIG_SND_SOC_TSCS42XX) += snd-soc-tscs42xx.o
|
||||
obj-$(CONFIG_SND_SOC_TSCS454) += snd-soc-tscs454.o
|
||||
obj-$(CONFIG_SND_SOC_TS3A227E) += snd-soc-ts3a227e.o
|
||||
obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o
|
||||
obj-$(CONFIG_SND_SOC_TWL6040) += snd-soc-twl6040.o
|
||||
|
3497
sound/soc/codecs/tscs454.c
Normal file
3497
sound/soc/codecs/tscs454.c
Normal file
File diff suppressed because it is too large
Load Diff
2323
sound/soc/codecs/tscs454.h
Normal file
2323
sound/soc/codecs/tscs454.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user