Searched +full:axg +full:- +full:pdm (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.6/drivers/pinctrl/meson/ |
D | pinctrl-meson-axg.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Pin controller and GPIO driver for Amlogic Meson AXG SoC. 9 #include <dt-bindings/gpio/meson-axg-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 306 /* pdm */ 982 FUNCTION(pdm), 1044 .name = "periphs-banks", 1058 .name = "aobus-banks", 1074 .compatible = "amlogic,meson-axg-periphs-pinctrl", [all …]
|
D | pinctrl-meson-a1.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/meson-a1-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 244 /* pdm */ 858 FUNCTION(pdm), 907 .name = "periphs-banks", 923 .compatible = "amlogic,meson-a1-periphs-pinctrl", 933 .name = "meson-a1-pinctrl",
|
D | pinctrl-meson-g12a.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 12 #include "pinctrl-meson.h" 13 #include "pinctrl-meson-axg-pmx.h" 346 /* pdm */ 1288 FUNCTION(pdm), 1372 pc->reg_pull = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra() 1373 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra() 1379 .name = "periphs-banks", [all …]
|
D | pinctrl-amlogic-c3.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 9 #include <dt-bindings/gpio/amlogic-c3-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 1031 FUNCTION(pdm), 1074 .name = "periphs-banks", 1090 .compatible = "amlogic,c3-periphs-pinctrl", 1100 .name = "amlogic-c3-pinctrl",
|
D | pinctrl-meson-s4.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include "pinctrl-meson.h" 11 #include "pinctrl-meson-axg-pmx.h" 1121 FUNCTION(pdm), 1179 BANK_DS("TEST_N", GPIO_TEST_N, GPIO_TEST_N, -1, -1, 1201 .name = "periphs-banks", 1217 .compatible = "amlogic,meson-s4-periphs-pinctrl", 1227 .name = "meson-s4-pinctrl",
|
/Linux-v6.6/drivers/soc/amlogic/ |
D | meson-clk-measure.c | 1 // SPDX-License-Identifier: GPL-2.0+ 113 CLK_MSR_ID(12, "pdm"), 494 struct meson_msr *priv = clk_msr_id->priv; in meson_measure_id() 502 regmap_write(priv->regmap, MSR_CLK_REG0, 0); in meson_measure_id() 505 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_DURATION, in meson_measure_id() 506 FIELD_PREP(MSR_DURATION, duration - 1)); in meson_measure_id() 509 regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_CLK_SRC, in meson_measure_id() 510 FIELD_PREP(MSR_CLK_SRC, clk_msr_id->id)); in meson_measure_id() 513 regmap_update_bits(priv->regmap, MSR_CLK_REG0, in meson_measure_id() 517 ret = regmap_read_poll_timeout(priv->regmap, MSR_CLK_REG0, in meson_measure_id() [all …]
|