| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | amlogic,axg-pdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-pdm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Audio AXG PDM input 10 - Jerome Brunet <jbrunet@baylibre.com> 15 - items: 16 - enum: 17 - amlogic,g12a-pdm 18 - amlogic,sm1-pdm [all …]
|
| /kernel/linux/linux-6.6/sound/soc/meson/ |
| D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 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 11 snd-soc-meson-axg-fifo-objs := axg-fifo.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 tristate "Amlogic AXG Playback FIFO support" 26 embedded in the Amlogic AXG SoC family 29 tristate "Amlogic AXG Capture FIFO support" 33 embedded in the Amlogic AXG SoC family 45 tristate "Amlogic AXG TDM Input Support" 50 in the Amlogic AXG SoC family 53 tristate "Amlogic AXG TDM Output Support" 58 in the Amlogic AXG SoC family 61 tristate "Amlogic AXG Sound Card Support" [all …]
|
| D | axg-pdm.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 12 #include <sound/soc-dai.h> 53 #define PDM_CHAN_CTRL_POINTER_MAX ((1 << PDM_CHAN_CTRL_POINTER_WIDTH) - 1) 105 /* Enable PDM */ in axg_pdm_enable() 134 axg_pdm_enable(priv->map); in axg_pdm_trigger() 140 axg_pdm_disable(priv->map); in axg_pdm_trigger() 144 return -EINVAL; in axg_pdm_trigger() 150 const struct axg_pdm_filters *filters = priv->cfg->filters; in axg_pdm_get_os() 151 unsigned int os = filters->hcic.ds; in axg_pdm_get_os() 160 os *= filters->lpf[i].ds; in axg_pdm_get_os() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 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 11 snd-soc-meson-axg-fifo-objs := axg-fifo.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 tristate "Amlogic AXG Playback FIFO support" 26 embedded in the Amlogic AXG SoC family 29 tristate "Amlogic AXG Capture FIFO support" 33 embedded in the Amlogic AXG SoC family 45 tristate "Amlogic AXG TDM Input Support" 50 in the Amlogic AXG SoC family 53 tristate "Amlogic AXG TDM Output Support" 58 in the Amlogic AXG SoC family 61 tristate "Amlogic AXG Sound Card Support" [all …]
|
| D | axg-pdm.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 12 #include <sound/soc-dai.h> 53 #define PDM_CHAN_CTRL_POINTER_MAX ((1 << PDM_CHAN_CTRL_POINTER_WIDTH) - 1) 105 /* Enable PDM */ in axg_pdm_enable() 134 axg_pdm_enable(priv->map); in axg_pdm_trigger() 140 axg_pdm_disable(priv->map); in axg_pdm_trigger() 144 return -EINVAL; in axg_pdm_trigger() 150 const struct axg_pdm_filters *filters = priv->cfg->filters; in axg_pdm_get_os() 151 unsigned int os = filters->hcic.ds; in axg_pdm_get_os() 160 os *= filters->lpf[i].ds; in axg_pdm_get_os() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | amlogic,axg-pdm.txt | 1 * Amlogic Audio PDM input 4 - compatible: 'amlogic,axg-pdm' or 5 'amlogic,g12a-pdm' or 6 'amlogic,sm1-pdm' 7 - reg: physical base address of the controller and length of memory 9 - clocks: list of clock phandle, one for each entry clock-names. 10 - clock-names: should contain the following: 12 * "dclk" : pdm digital clock 14 - #sound-dai-cells: must be 0. 17 - resets: phandle to the dedicated reset line of the pdm input. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
| D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
| D | meson-sm1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-sm1-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 16 tdmif_a: audio-controller-0 { 17 compatible = "amlogic,axg-tdm-iface"; 18 #sound-dai-cells = <0>; 19 sound-name-prefix = "TDM_A"; [all …]
|
| D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
| D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 13 model = "Amlogic Meson AXG S400 Development Board"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; [all …]
|
| D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
| D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
| D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
| D | meson-sm1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-sm1-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 16 tdmif_a: audio-controller-0 { 17 compatible = "amlogic,axg-tdm-iface"; 18 #sound-dai-cells = <0>; 19 sound-name-prefix = "TDM_A"; [all …]
|
| D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 13 model = "Amlogic Meson AXG S400 Development Board"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; [all …]
|
| D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
| D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | amlogic,axg-audio-clkc.txt | 1 * Amlogic AXG Audio Clock Controllers 3 The Amlogic AXG audio clock controller generates and supplies clock to the 4 other elements of the audio subsystem, such as fifos, i2s, spdif and pdm 9 - compatible : should be "amlogic,axg-audio-clkc" for the A113X and A113D, 10 "amlogic,g12a-audio-clkc" for G12A, 11 "amlogic,sm1-audio-clkc" for S905X3. 12 - reg : physical base address of the clock controller and length of 14 - clocks : a list of phandle + clock-specifier pairs for the clocks listed 15 in clock-names. 16 - clock-names : must contain the following: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | amlogic,axg-audio-clkc.txt | 1 * Amlogic AXG Audio Clock Controllers 3 The Amlogic AXG audio clock controller generates and supplies clock to the 4 other elements of the audio subsystem, such as fifos, i2s, spdif and pdm 9 - compatible : should be "amlogic,axg-audio-clkc" for the A113X and A113D, 10 "amlogic,g12a-audio-clkc" for G12A, 11 "amlogic,sm1-audio-clkc" for S905X3. 12 - reg : physical base address of the clock controller and length of 14 - clocks : a list of phandle + clock-specifier pairs for the clocks listed 15 in clock-names. 16 - clock-names : must contain the following: [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/meson/ |
| D | axg-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <linux/clk-provider.h> 15 #include <linux/reset-controller.h> 18 #include "meson-clkc-utils.h" 19 #include "axg-audio.h" 20 #include "clk-regmap.h" 21 #include "clk-phase.h" 22 #include "sclk-div.h" 24 #include <dt-bindings/clock/axg-audio-clkc.h> 232 { .name = "aud_mst_a_sclk", .index = -1, }, [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/meson/ |
| D | axg-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <linux/clk-provider.h> 15 #include <linux/reset-controller.h> 18 #include "axg-audio.h" 19 #include "clk-regmap.h" 20 #include "clk-phase.h" 21 #include "sclk-div.h" 229 { .name = "aud_mst_a_sclk", .index = -1, }, 230 { .name = "aud_mst_b_sclk", .index = -1, }, 231 { .name = "aud_mst_c_sclk", .index = -1, }, [all …]
|