/linux-6.12.1/sound/soc/meson/ |
D | aiu.c | 83 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_cpu_component_probe() local 86 return clk_prepare_enable(aiu->i2s.clks[PCLK].clk); in aiu_cpu_component_probe() 91 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_cpu_component_remove() local 93 clk_disable_unprepare(aiu->i2s.clks[PCLK].clk); in aiu_cpu_component_remove() 214 struct aiu *aiu = dev_get_drvdata(dev); in aiu_clk_get() local 222 aiu->spdif_mclk = devm_clk_get(dev, "spdif_mclk"); in aiu_clk_get() 223 if (IS_ERR(aiu->spdif_mclk)) in aiu_clk_get() 224 return dev_err_probe(dev, PTR_ERR(aiu->spdif_mclk), in aiu_clk_get() 228 &aiu->i2s); in aiu_clk_get() 233 &aiu->spdif); in aiu_clk_get() [all …]
|
D | Makefile | 3 snd-soc-meson-aiu-y := aiu.o 4 snd-soc-meson-aiu-y += aiu-acodec-ctrl.o 5 snd-soc-meson-aiu-y += aiu-codec-ctrl.o 6 snd-soc-meson-aiu-y += aiu-encoder-i2s.o 7 snd-soc-meson-aiu-y += aiu-encoder-spdif.o 8 snd-soc-meson-aiu-y += aiu-fifo.o 9 snd-soc-meson-aiu-y += aiu-fifo-i2s.o 10 snd-soc-meson-aiu-y += aiu-fifo-spdif.o 29 obj-$(CONFIG_SND_MESON_AIU) += snd-soc-meson-aiu.o
|
D | aiu-encoder-spdif.c | 100 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_encoder_spdif_hw_params() local 144 ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate); in aiu_encoder_spdif_hw_params() 168 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_spdif_startup() local 183 ret = clk_set_parent(aiu->spdif.clks[MCLK].clk, in aiu_encoder_spdif_startup() 184 aiu->spdif_mclk); in aiu_encoder_spdif_startup() 188 ret = clk_bulk_prepare_enable(aiu->spdif.clk_num, aiu->spdif.clks); in aiu_encoder_spdif_startup() 198 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_spdif_shutdown() local 200 clk_bulk_disable_unprepare(aiu->spdif.clk_num, aiu->spdif.clks); in aiu_encoder_spdif_shutdown()
|
D | aiu-encoder-i2s.c | 147 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_encoder_i2s_set_clocks() local 153 fs = DIV_ROUND_CLOSEST(clk_get_rate(aiu->i2s.clks[MCLK].clk), srate); in aiu_encoder_i2s_set_clocks() 171 if (aiu->platform->has_clk_ctrl_more_i2s_div) in aiu_encoder_i2s_set_clocks() 270 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_set_sysclk() local 279 ret = clk_set_rate(aiu->i2s.clks[MCLK].clk, freq); in aiu_encoder_i2s_set_sysclk() 296 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_startup() local 308 ret = clk_bulk_prepare_enable(aiu->i2s.clk_num, aiu->i2s.clks); in aiu_encoder_i2s_startup() 318 struct aiu *aiu = snd_soc_component_get_drvdata(dai->component); in aiu_encoder_i2s_shutdown() local 320 clk_bulk_disable_unprepare(aiu->i2s.clk_num, aiu->i2s.clks); in aiu_encoder_i2s_shutdown()
|
D | aiu-fifo-i2s.c | 156 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_i2s_dai_probe() local 169 fifo->pclk = aiu->i2s.clks[PCLK].clk; in aiu_fifo_i2s_dai_probe() 170 fifo->irq = aiu->i2s.irq; in aiu_fifo_i2s_dai_probe()
|
D | aiu-fifo-spdif.c | 171 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_spdif_dai_probe() local 184 fifo->pclk = aiu->spdif.clks[PCLK].clk; in aiu_fifo_spdif_dai_probe() 185 fifo->irq = aiu->spdif.irq; in aiu_fifo_spdif_dai_probe()
|
/linux-6.12.1/arch/arm64/boot/dts/amlogic/ |
D | meson-gxbb-wetek-play2.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 64 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 68 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 72 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 77 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 82 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 90 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 99 &aiu {
|
D | meson-gxbb-wetek-hub.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 32 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 36 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 41 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 46 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 55 &aiu {
|
D | meson-gxl-s905x-vero4k.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 107 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 111 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 115 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 120 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 124 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 129 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 137 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 145 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 159 &aiu {
|
D | meson-gxl-s905x-p212.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 65 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 69 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 74 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 78 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 83 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 91 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 105 &aiu {
|
D | meson-gxbb-p201.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 33 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 37 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 42 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 47 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 56 &aiu {
|
D | meson-gxbb-p200.dts | 12 #include <dt-bindings/sound/meson-aiu.h> 84 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 88 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 92 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 97 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 102 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 110 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 119 &aiu {
|
D | meson-gxbb-kii-pro.dts | 12 #include <dt-bindings/sound/meson-aiu.h> 61 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 65 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 69 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 74 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 79 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 87 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 96 &aiu {
|
D | meson-gxm-nexbox-a1.dts | 13 #include <dt-bindings/sound/meson-aiu.h> 102 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 106 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 110 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 115 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 120 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 128 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 137 &aiu {
|
D | meson-gx-p23x-q20x.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 144 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 148 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 152 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 157 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 161 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 166 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 174 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 182 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 196 &aiu {
|
D | meson-gxm-rbox-pro.dts | 17 #include <dt-bindings/sound/meson-aiu.h> 117 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 121 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 125 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 130 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 135 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 143 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 152 &aiu {
|
D | meson-gxl-s805x-p241.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 144 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 148 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 153 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 157 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 162 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 170 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 184 &aiu {
|
D | meson-gxbb-vega-s95.dtsi | 7 #include <dt-bindings/sound/meson-aiu.h> 124 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 128 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 132 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 137 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 142 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 150 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 159 &aiu {
|
D | meson-gxl-s805x-libretech-ac.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 139 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 143 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 148 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 152 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 157 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 165 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 179 &aiu {
|
D | meson-gxl-s905x-libretech-cc.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 158 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 162 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 167 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 171 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 176 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 184 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 198 &aiu {
|
D | meson-gxl-s905x-khadas-vim.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 83 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 87 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 92 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 97 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 106 &aiu {
|
D | meson-gx-libretech-pc.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 210 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 214 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 219 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 223 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 228 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 236 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 250 &aiu {
|
D | meson-gxbb-nexbox-a95x.dts | 13 #include <dt-bindings/sound/meson-aiu.h> 158 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 162 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 167 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 172 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 181 &aiu {
|
D | meson-gxl-s905x-libretech-cc-v2.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 176 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 180 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 185 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 190 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 199 &aiu {
|
D | meson-gxm-khadas-vim2.dts | 12 #include <dt-bindings/sound/meson-aiu.h> 166 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 170 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 175 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 180 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 189 &aiu {
|