Home
last modified time | relevance | path

Searched full:pcm3168a (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/sound/soc/codecs/
Dpcm3168a.c3 * PCM3168A codec driver
22 #include "pcm3168a.h"
276 static int pcm3168a_reset(struct pcm3168a_priv *pcm3168a) in pcm3168a_reset() argument
280 ret = regmap_write(pcm3168a->regmap, PCM3168A_RST_SMODE, 0); in pcm3168a_reset()
285 msleep(DIV_ROUND_UP(3846 * 1000, pcm3168a->sysclk)); in pcm3168a_reset()
287 return regmap_write(pcm3168a->regmap, PCM3168A_RST_SMODE, in pcm3168a_reset()
294 struct pcm3168a_priv *pcm3168a = snd_soc_component_get_drvdata(component); in pcm3168a_mute() local
296 regmap_write(pcm3168a->regmap, PCM3168A_DAC_MUTE, mute ? 0xff : 0); in pcm3168a_mute()
304 struct pcm3168a_priv *pcm3168a = snd_soc_component_get_drvdata(dai->component); in pcm3168a_set_dai_sysclk() local
317 ret = clk_set_rate(pcm3168a->scki, freq); in pcm3168a_set_dai_sysclk()
[all …]
Dpcm3168a-spi.c3 * PCM3168A codec spi driver
16 #include "pcm3168a.h"
35 { "pcm3168a", },
41 { .compatible = "ti,pcm3168a", },
51 .name = "pcm3168a",
58 MODULE_DESCRIPTION("PCM3168A SPI codec driver");
Dpcm3168a-i2c.c3 * PCM3168A codec i2c driver
16 #include "pcm3168a.h"
35 { "pcm3168a", },
41 { .compatible = "ti,pcm3168a", },
51 .name = "pcm3168a",
58 MODULE_DESCRIPTION("PCM3168A I2C codec driver");
DMakefile179 snd-soc-pcm3168a-objs := pcm3168a.o
180 snd-soc-pcm3168a-i2c-objs := pcm3168a-i2c.o
181 snd-soc-pcm3168a-spi-objs := pcm3168a-spi.o
534 obj-$(CONFIG_SND_SOC_PCM3168A) += snd-soc-pcm3168a.o
535 obj-$(CONFIG_SND_SOC_PCM3168A_I2C) += snd-soc-pcm3168a-i2c.o
536 obj-$(CONFIG_SND_SOC_PCM3168A_SPI) += snd-soc-pcm3168a-spi.o
Dpcm3168a.h3 * PCM3168A codec driver header
DKconfig1178 tristate "Texas Instruments PCM3168A CODEC - I2C"
1184 tristate "Texas Instruments PCM3168A CODEC - SPI"
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dti,j721e-cpb-ivi-audio.yaml20 connected to two pcm3168a codecs with dedicated set of serializers to each.
21 The SCKI for pcm3168a is sourced from j721e AUDIO_REFCLK0 pin.
34 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI
41 |-> PLL15_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI
58 description: phandle to the pcm3168a codec used on the CPB
66 description: phandle to the pcm3168a-A codec on the expansion board
70 description: phandle to the pcm3168a-B codec on the expansion board
78 - description: SCKI clock for the pcm3168a codec on CPB
84 - description: SCKI clock for the pcm3168a codec on IVI
Dti,j721e-cpb-audio.yaml15 The audio support on the board is using pcm3168a codec connected to McASP10
17 The pcm3168a SCKI clock is sourced from j721e AUDIO_REFCLK2 pin.
26 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI
30 |-> PLL15_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI
35 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI
52 description: phandle to the pcm3168a codec used on the CPB
87 - description: SCKI clock for the pcm3168a codec on CPB
112 - description: SCKI clock for the pcm3168a codec on CPB
Dti,pcm3168a.txt1 Texas Instruments pcm3168a DT bindings
7 - compatible: "ti,pcm3168a"
41 pcm3168a: audio-codec@44 {
42 compatible = "ti,pcm3168a";
Dsimple-card.yaml425 # CPU1 ------ PCM3168A-p /* DPCM 1ch/2ch */
429 # CPU5 ------ PCM3168A-c
438 "pcm3168a Playback", "DAI1 Playback",
439 "pcm3168a Playback", "DAI2 Playback",
440 "pcm3168a Playback", "DAI3 Playback",
441 "pcm3168a Playback", "DAI4 Playback";
479 prefix = "pcm3168a";
481 sound-dai = <&pcm3168a 0>;
496 prefix = "pcm3168a";
497 sound-dai = <&pcm3168a 1>;
/Linux-v6.1/sound/soc/ti/
Dj721e-evm.c517 .num_links = 2, /* CPB pcm3168a */
526 .num_links = 4, /* CPB pcm3168a + 2x pcm3168a on IVI */
535 .num_links = 2, /* CPB pcm3168a */
667 priv->dai_links[*link_idx].name = "CPB PCM3168A Playback"; in j721e_soc_probe_cpb()
668 priv->dai_links[*link_idx].stream_name = "CPB PCM3168A Analog"; in j721e_soc_probe_cpb()
672 priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-dac"; in j721e_soc_probe_cpb()
687 priv->dai_links[*link_idx].name = "CPB PCM3168A Capture"; in j721e_soc_probe_cpb()
688 priv->dai_links[*link_idx].stream_name = "CPB PCM3168A Analog"; in j721e_soc_probe_cpb()
692 priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-adc"; in j721e_soc_probe_cpb()
787 priv->dai_links[*link_idx].codecs[0].dai_name = "pcm3168a-dac"; in j721e_soc_probe_ivi()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/renesas/
Dulcb-kf.dtsi10 * SSI-PCM3168A
202 pcm3168a: audio-codec@44 { label
204 compatible = "ti,pcm3168a";
482 &rsnd_port2 /* pcm3168a playback */
483 &rsnd_port3 /* pcm3168a capture */
/Linux-v6.1/arch/arm64/boot/dts/ti/
Dk3-j721e-common-proc-board.dts613 compatible = "ti,pcm3168a";