| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | snps,designware-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/snps,designware-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare I2S controller 10 - Jose Abreu <joabreu@synopsys.com> 15 - items: 16 - const: canaan,k210-i2s 17 - const: snps,designware-i2s 18 - enum: [all …]
|
| /linux/sound/soc/dwc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "DesignWare" menu 5 tristate "Synopsys I2S Device Driver" 9 Say Y or M if you want to add support for I2S driver for 10 Synopsys designware I2S device. The device supports up to 14 bool "PCM PIO extension for I2S driver" 20 This functionality is specially suited for I2S devices that don't have
|
| H A D | dwc-i2s.c | 2 * ALSA SoC Synopsys I2S Audio Layer 47 i2s_write_reg(dev->i2s_base, TER(i), 0); in i2s_disable_channels() 50 i2s_write_reg(dev->i2s_base, RER(i), 0); in i2s_disable_channels() 60 i2s_read_reg(dev->i2s_base, TOR(i)); in i2s_clear_irqs() 63 i2s_read_reg(dev->i2s_base, ROR(i)); in i2s_clear_irqs() 74 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs() 75 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x30); in i2s_disable_irqs() 79 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs() 80 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x03); in i2s_disable_irqs() 92 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_enable_irqs() [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | spear1340.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 compatible = "st,spear-spics-gpio"; 18 st-spics,peripcfg-reg = <0x42c>; 19 st-spics,sw-enable-bit = <21>; 20 st-spics,cs-value-bit = <20>; 21 st-spics,cs-enable-mask = <3>; 22 st-spics,cs-enable-shift = <18>; 23 gpio-controller; 24 #gpio-cells = <2>; 29 compatible = "st,spear1340-miphy"; [all …]
|
| H A D | spear13xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #address-cells = <1>; 10 #size-cells = <1>; 11 interrupt-parent = <&gic>; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "arm,cortex-a9"; 21 next-level-cache = <&L2>; 25 compatible = "arm,cortex-a9"; 28 next-level-cache = <&L2>; [all …]
|
| /linux/arch/riscv/boot/dts/canaan/ |
| H A D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 6 #include <dt-bindings/clock/k210-clk.h> 7 #include <dt-bindings/pinctrl/k210-fpioa.h> 8 #include <dt-bindings/reset/k210-rst.h> 12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 15 #address-cells = <1>; 16 #size-cells = <1>; 17 compatible = "canaan,kendryte-k210"; 21 * Since this is a non-ratified draft specification, the kernel does not [all …]
|
| /linux/arch/arc/boot/dts/ |
| H A D | axs10x_mb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) 14 compatible = "simple-bus"; 15 #address-cells = <1>; 16 #size-cells = <1>; 18 interrupt-parent = <&mb_intc>; 20 creg_rst: reset-controller@11220 { 21 compatible = "snps,axs10x-reset"; 22 #reset-cells = <1>; 27 compatible = "snps,axs10x-i2s-pll-clock"; [all …]
|
| /linux/sound/soc/amd/ |
| H A D | acp-rt5645.c | 33 #include <sound/soc-dapm.h> 66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params() 73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params() 86 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in cz_init() 87 card = rtd->card; in cz_init() 97 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init() 111 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.1"))); 113 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.2"))); 116 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5650:00", "rt5645-aif1"))); 123 .name = "amd-rt5645-play", [all …]
|
| H A D | acp-da7219-max98357a.c | 1 // SPDX-License-Identifier: MIT 5 //Copyright 2017-2021 Advanced Micro Devices, Inc. 11 #include <sound/soc-dapm.h> 56 struct snd_soc_card *card = rtd->card; in cz_da7219_init() 58 struct snd_soc_component *component = codec_dai->component; in cz_da7219_init() 60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in cz_da7219_init() 65 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_da7219_init() 72 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_da7219_init() 76 da7219_dai_wclk = devm_clk_get(component->dev, "da7219-dai-wclk"); in cz_da7219_init() 80 da7219_dai_bclk = devm_clk_get(component->dev, "da7219-dai-bclk"); in cz_da7219_init() [all …]
|
| H A D | acp-es8336.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <sound/soc-dapm.h> 65 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in st_es8336_init() 66 card = rtd->card; in st_es8336_init() 72 dev_err(card->dev, "HP jack creation failed %d\n", ret); in st_es8336_init() 78 dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret); in st_es8336_init() 113 runtime = substream->runtime; in st_es8336_codec_startup() 115 card = rtd->card; in st_es8336_codec_startup() 120 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in st_es8336_codec_startup() 123 runtime->hw.channels_max = DUAL_CHANNEL; in st_es8336_codec_startup() [all …]
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-i2s-audio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dw-hdmi-i2s-audio.c 9 #include <linux/dma-mapping.h> 15 #include <sound/hdmi-codec.h> 17 #include "dw-hdmi.h" 18 #include "dw-hdmi-audio.h" 20 #define DRIVER_NAME "dw-hdmi-i2s-audio" 25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write() 27 audio->write(hdmi, val, offset); in hdmi_write() 32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read() [all …]
|
| H A D | dw-hdmi-gp-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * dw-hdmi-gp-audio.c 5 * Copyright 2020-2022 NXP 12 #include <linux/dma-mapping.h> 17 #include <sound/hdmi-codec.h> 26 #include "dw-hdmi-audio.h" 28 #define DRIVER_NAME "dw-hdmi-gp-audio" 29 #define DRV_NAME "hdmi-gp-audio" 44 * allocation bits. Note that we can't do channel remapping here - 47 * Mappings for alsa-lib pcm/surround*.conf files: [all …]
|
| H A D | dw-hdmi-qp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2021-2022 Rockchip Electronics Co., Ltd. 6 * Author: Algea Cao <algea.cao@rock-chips.com> 29 #include <sound/hdmi-codec.h> 31 #include "dw-hdmi-qp.h" 43 * slow so we pre-compute values we expect to see. 153 regmap_write(hdmi->regm, offset, val); in dw_hdmi_qp_write() 160 regmap_read(hdmi->regm, offset, &val); in dw_hdmi_qp_read() 168 regmap_update_bits(hdmi->regm, reg, mask, data); in dw_hdmi_qp_mod() 209 return -ENOENT; in dw_hdmi_qp_match_tmds_n_table() [all …]
|
| H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 21 #include <linux/dma-mapping.h> 24 #include <media/cec-notifier.h> 26 #include <linux/media-bus-format.h> 40 #include "dw-hdmi-audio.h" 41 #include "dw-hdmi-cec.h" 42 #include "dw-hdmi.h" [all …]
|
| /linux/drivers/misc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 See Documentation/misc-devices/ad525x_dpot.rst for the 40 module will be called ad525x_dpot-i2c. 51 module will be called ad525x_dpot-spi. 65 This option enables device driver support for in-band access to the 78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/> 112 UFS. Provides interface for in-kernel security controllers to access 176 communications, i.e. I2S, SPI, etc. 211 called smpro-errmon. 221 called smpro-misc. [all …]
|