| /linux/Documentation/devicetree/bindings/sound/ |
| H A 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/sound/soc/meson/ |
| H A D | Makefile | 1 # 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 …]
|
| H A 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 …]
|
| H A 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/arch/arm64/boot/dts/amlogic/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | meson-libretech-cottonwood.dtsi | 1 // 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 …]
|
| H A D | meson-g12a-fbx8am.dts | 1 // 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/Documentation/devicetree/bindings/clock/ |
| H A D | amlogic,axg-audio-clkc.yaml | 1 # 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/drivers/pinctrl/meson/ |
| H A 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 …]
|
| H A 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",
|
| H A 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",
|
| H A 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",
|
| H A D | pinctrl-amlogic-t7.c | 1 // 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/drivers/soc/amlogic/ |
| H A D | meson-clk-measure.c | 1 // SPDX-License-Identifier: GPL-2.0+ 119 CLK_MSR_ID(12, "pdm"), 793 struct meson_msr *priv = clk_msr_id->priv; in meson_measure_id() 794 const struct msr_reg_offset *reg = priv->data.reg; in meson_measure_id() 802 regmap_write(priv->regmap, reg->freq_ctrl, 0); in meson_measure_id() 805 regmap_update_bits(priv->regmap, reg->freq_ctrl, MSR_DURATION, in meson_measure_id() 806 FIELD_PREP(MSR_DURATION, duration - 1)); in meson_measure_id() 809 regmap_update_bits(priv->regmap, reg->freq_ctrl, MSR_CLK_SRC, in meson_measure_id() 810 FIELD_PREP(MSR_CLK_SRC, clk_msr_id->id)); in meson_measure_id() 813 regmap_update_bits(priv->regmap, reg->freq_ctrl, in meson_measure_id() [all …]
|