/Linux-v6.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() 220 struct aiu *aiu = dev_get_drvdata(dev); in aiu_clk_get() local 223 aiu->pclk = devm_clk_get(dev, "pclk"); in aiu_clk_get() 224 if (IS_ERR(aiu->pclk)) in aiu_clk_get() 225 return dev_err_probe(dev, PTR_ERR(aiu->pclk), "Can't get the aiu pclk\n"); in aiu_clk_get() 227 aiu->spdif_mclk = devm_clk_get(dev, "spdif_mclk"); in aiu_clk_get() 228 if (IS_ERR(aiu->spdif_mclk)) in aiu_clk_get() [all …]
|
D | Makefile | 3 snd-soc-meson-aiu-objs := aiu.o 4 snd-soc-meson-aiu-objs += aiu-acodec-ctrl.o 5 snd-soc-meson-aiu-objs += aiu-codec-ctrl.o 6 snd-soc-meson-aiu-objs += aiu-encoder-i2s.o 7 snd-soc-meson-aiu-objs += aiu-encoder-spdif.o 8 snd-soc-meson-aiu-objs += aiu-fifo.o 9 snd-soc-meson-aiu-objs += aiu-fifo-i2s.o 10 snd-soc-meson-aiu-objs += 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 | 153 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_i2s_dai_probe() local 166 fifo->pclk = aiu->i2s.clks[PCLK].clk; in aiu_fifo_i2s_dai_probe() 167 fifo->irq = aiu->i2s.irq; in aiu_fifo_i2s_dai_probe()
|
D | aiu-fifo-spdif.c | 168 struct aiu *aiu = snd_soc_component_get_drvdata(component); in aiu_fifo_spdif_dai_probe() local 181 fifo->pclk = aiu->spdif.clks[PCLK].clk; in aiu_fifo_spdif_dai_probe() 182 fifo->irq = aiu->spdif.irq; in aiu_fifo_spdif_dai_probe()
|
D | aiu.h | 35 struct aiu { struct
|
/Linux-v6.1/arch/arm64/boot/dts/amlogic/ |
D | meson-gxbb-wetek-hub.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 29 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 33 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 38 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 43 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 52 &aiu {
|
D | meson-gxbb-wetek-play2.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 62 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 66 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 70 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 75 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 80 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 88 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 97 &aiu {
|
D | meson-gxm-nexbox-a1.dts | 13 #include <dt-bindings/sound/meson-aiu.h> 100 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 104 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 108 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 113 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 118 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 126 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 135 &aiu {
|
D | meson-gx-p23x-q20x.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 143 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 147 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 151 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 156 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 160 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 165 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 173 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 181 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 195 &aiu {
|
D | meson-gxm-rbox-pro.dts | 17 #include <dt-bindings/sound/meson-aiu.h> 115 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 119 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 123 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 128 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 133 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 141 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 150 &aiu {
|
D | meson-gxl-s805x-p241.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 141 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 145 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 150 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 154 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 159 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 167 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 181 &aiu {
|
D | meson-gxbb-vega-s95.dtsi | 7 #include <dt-bindings/sound/meson-aiu.h> 122 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 126 sound-dai = <&aiu AIU_CPU CPU_SPDIF_FIFO>; 130 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 135 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 140 sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>; 148 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 157 &aiu {
|
D | meson-gxl-s805x-libretech-ac.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 136 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 140 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 145 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 149 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 154 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 162 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 176 &aiu {
|
D | meson-gxl-s905x-libretech-cc.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 155 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 159 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 164 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 168 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 173 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 181 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 195 &aiu {
|
D | meson-gxl-s905x-khadas-vim.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 80 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 84 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 89 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 94 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 103 &aiu {
|
D | meson-gxbb-nexbox-a95x.dts | 13 #include <dt-bindings/sound/meson-aiu.h> 155 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 159 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 164 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 169 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 178 &aiu {
|
D | meson-gxl-s905x-libretech-cc-v2.dts | 11 #include <dt-bindings/sound/meson-aiu.h> 173 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 177 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 182 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 187 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 196 &aiu {
|
D | meson-gx-libretech-pc.dtsi | 11 #include <dt-bindings/sound/meson-aiu.h> 207 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 211 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 216 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 220 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>; 225 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 233 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>; 247 &aiu {
|
D | meson-gxm-khadas-vim2.dts | 12 #include <dt-bindings/sound/meson-aiu.h> 162 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 166 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 171 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 176 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 185 &aiu {
|
D | meson-gxbb-nanopi-k2.dts | 10 #include <dt-bindings/sound/meson-aiu.h> 148 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 152 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 157 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 162 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 171 &aiu {
|
D | meson-gxbb-odroidc2.dts | 12 #include <dt-bindings/sound/meson-aiu.h> 190 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 194 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 199 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 204 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 213 &aiu {
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | meson.dtsi | 8 #include <dt-bindings/sound/meson-aiu.h> 40 aiu: audio-controller@5400 { label 41 compatible = "amlogic,aiu";
|
D | meson8b-ec100.dts | 111 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 115 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 271 &aiu {
|