Home
last modified time | relevance | path

Searched +full:axg +full:- +full:pdm (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Damlogic,axg-pdm.yaml1 # 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-6.12.1/sound/soc/meson/
DMakefile1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
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
11 snd-soc-meson-axg-fifo-y := axg-fifo.o
[all …]
DKconfig1 # 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 …]
Daxg-pdm.c1 // 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-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12.dtsi1 // 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 …]
Dmeson-axg.dtsi1 // 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 …]
Dmeson-sm1.dtsi1 // 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 …]
Dmeson-g12-common.dtsi1 // 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 …]
Dmeson-axg-s400.dts1 // 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 …]
Dmeson-g12a-sei510.dts1 // 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 …]
Dmeson-sm1-sei610.dts1 // 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 …]
Dmeson-libretech-cottonwood.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/clock/g12a-clkc.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
28 stdout-path = "serial0:115200n8";
31 dioo2133: audio-amplifier-0 {
[all …]
Dmeson-g12a-fbx8am.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 /dts-v1/;
12 #include "meson-g12a.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/meson-g12a-gpio.h>
16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
21 chassis-type = "embedded";
25 compatible = "linaro,optee-tz";
30 gpio-keys-polled {
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Damlogic,axg-audio-clkc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/clock/amlogic,axg-audio-clkc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic AXG Audio Clock Controller
10 - Neil Armstrong <neil.armstrong@linaro.org>
11 - Jerome Brunet <jbrunet@baylibre.com>
14 The Amlogic AXG audio clock controller generates and supplies clock to the
15 other elements of the audio subsystem, such as fifos, i2s, spdif and pdm
21 - amlogic,axg-audio-clkc
[all …]
/linux-6.12.1/drivers/clk/meson/
Daxg-audio.c1 // 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-6.12.1/drivers/pinctrl/meson/
Dpinctrl-meson-axg.c1 // 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 …]
Dpinctrl-meson-a1.c1 // 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",
Dpinctrl-meson-g12a.c1 // 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 …]
Dpinctrl-amlogic-c3.c1 // 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",
Dpinctrl-meson-s4.c1 // 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",
Dpinctrl-amlogic-t7.c1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
9 #include <dt-bindings/gpio/amlogic,t7-periphs-pinctrl.h>
10 #include "pinctrl-meson.h"
11 #include "pinctrl-meson-axg-pmx.h"
1515 FUNCTION(pdm),
1577 .name = "periphs-banks",
1593 .compatible = "amlogic,t7-periphs-pinctrl",
1603 .name = "amlogic-t7-pinctrl",
/linux-6.12.1/drivers/soc/amlogic/
Dmeson-clk-measure.c1 // 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 …]