forked from skristiansson/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'sound-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/tiwai/sound Pull sound updates from Takashi Iwai: "The most significant changes at this cycle are the Sound Open Firmware support from Intel for the common DSP framework along with its support for Intel platforms. It's a door opened to a real "free" firmware (in the sense of FOSS), and other parties show interests in it. In addition to SOF, we've got a bunch of updates and fixes as usual. Some highlights are below. ALSA core: - Cleanups and fixes in ALSA timer code to cover some races spotted by syzkaller - Cleanups and fixes in ALSA sequencer code to cover some races, again unsurprisingly, spotted by syzkaller - Optimize the common page allocation helper with alloc_pages_exact() ASoC: - Add SOF core support, as well as Intel SOF platform support - Generic card driver improvements: support for MCLK/sample rate ratio and pin switches - A big set of improvements to TLV320AIC32x4 drivers - New drivers for Freescale audio mixers, several Intel machines, several Mediatek machines, Meson G12A, Spreadtrum compressed audio and DMA devices HD-audio: - A few Realtek codec fixes for reducing pop noises - Quirks for Chromebooks - Workaround for faulty connection report on AMD/Nvidia HDMI Others: - A quirk for Focusrite Scarlett Solo USB-audio - Add support for MOTU 8pre FireWire - 24bit sample format support in aloop - GUS patch format support (finally, over a decade) in native emux synth code" * tag 'sound-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (375 commits) ASoC: SOF: Fix unused variable warnings ALSA: line6: toneport: Fix broken usage of timer for delayed execution ALSA: aica: Fix a long-time build breakage ALSA: hda/realtek - Support low power consumption for ALC256 ASoC: stm32: i2s: update pcm hardware constraints ASoC: codec: hdac_hdmi: no checking monitor in hw_params ASoC: mediatek: mt6358: save PGA for mixer control ASoC: mediatek: mt6358: save output volume for mixer controls ASoC: mediatek: mt6358: initialize setting when ramping volume ASoC: SOF: core: fix undefined nocodec reference ASoC: SOF: xtensa: fix undefined references ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14) ALSA: hda/intel: add CometLake PCI IDs ALSA: hda/realtek - Support low power consumption for ALC295 ASoC: rockchip: Fix an uninitialized variable compile warning ASoC: SOF: Fix a compile warning with CONFIG_PCI=n ASoC: da7219: Fix a compile warning at CONFIG_COMMON_CLK=n ASoC: sound/soc/sof/: fix kconfig dependency warning ASoC: stm32: spdifrx: change trace level on iec control ...
- Loading branch information
Showing
321 changed files
with
30,072 additions
and
3,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
Documentation/devicetree/bindings/sound/cirrus,lochnagar.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Cirrus Logic Lochnagar Audio Development Board | ||
|
||
Lochnagar is an evaluation and development board for Cirrus Logic | ||
Smart CODEC and Amp devices. It allows the connection of most Cirrus | ||
Logic devices on mini-cards, as well as allowing connection of | ||
various application processor systems to provide a full evaluation | ||
platform. Audio system topology, clocking and power can all be | ||
controlled through the Lochnagar, allowing the device under test | ||
to be used in a variety of possible use cases. | ||
|
||
This binding document describes the binding for the audio portion | ||
of the driver. | ||
|
||
This binding must be part of the Lochnagar MFD binding: | ||
[4] ../mfd/cirrus,lochnagar.txt | ||
|
||
Required properties: | ||
|
||
- compatible : One of the following strings: | ||
"cirrus,lochnagar2-soundcard" | ||
|
||
- #sound-dai-cells : Must be set to 1. | ||
|
||
- clocks : Contains an entry for each entry in clock-names. | ||
- clock-names : Must include the following clocks: | ||
"mclk" Master clock source for the sound card, should normally | ||
be set to LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar | ||
clock driver. | ||
|
||
Example: | ||
|
||
lochnagar-sc { | ||
compatible = "cirrus,lochnagar2-soundcard"; | ||
|
||
#sound-dai-cells = <1>; | ||
|
||
clocks = <&lochnagar_clk LOCHNAGAR_SOUNDCARD_MCLK>; | ||
clock-names = "mclk"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
NXP Audio Mixer (AUDMIX). | ||
|
||
The Audio Mixer is a on-chip functional module that allows mixing of two | ||
audio streams into a single audio stream. Audio Mixer has two input serial | ||
audio interfaces. These are driven by two Synchronous Audio interface | ||
modules (SAI). Each input serial interface carries 8 audio channels in its | ||
frame in TDM manner. Mixer mixes audio samples of corresponding channels | ||
from two interfaces into a single sample. Before mixing, audio samples of | ||
two inputs can be attenuated based on configuration. The output of the | ||
Audio Mixer is also a serial audio interface. Like input interfaces it has | ||
the same TDM frame format. This output is used to drive the serial DAC TDM | ||
interface of audio codec and also sent to the external pins along with the | ||
receive path of normal audio SAI module for readback by the CPU. | ||
|
||
The output of Audio Mixer can be selected from any of the three streams | ||
- serial audio input 1 | ||
- serial audio input 2 | ||
- mixed audio | ||
|
||
Mixing operation is independent of audio sample rate but the two audio | ||
input streams must have same audio sample rate with same number of channels | ||
in TDM frame to be eligible for mixing. | ||
|
||
Device driver required properties: | ||
================================= | ||
- compatible : Compatible list, contains "fsl,imx8qm-audmix" | ||
|
||
- reg : Offset and length of the register set for the device. | ||
|
||
- clocks : Must contain an entry for each entry in clock-names. | ||
|
||
- clock-names : Must include the "ipg" for register access. | ||
|
||
- power-domains : Must contain the phandle to AUDMIX power domain node | ||
|
||
- dais : Must contain a list of phandles to AUDMIX connected | ||
DAIs. The current implementation requires two phandles | ||
to SAI interfaces to be provided, the first SAI in the | ||
list being used to route the AUDMIX output. | ||
|
||
Device driver configuration example: | ||
====================================== | ||
audmix: audmix@59840000 { | ||
compatible = "fsl,imx8qm-audmix"; | ||
reg = <0x0 0x59840000 0x0 0x10000>; | ||
clocks = <&clk IMX8QXP_AUD_AUDMIX_IPG>; | ||
clock-names = "ipg"; | ||
power-domains = <&pd_audmix>; | ||
dais = <&sai4>, <&sai5>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
* Microchip I2S Multi-Channel Controller | ||
|
||
Required properties: | ||
- compatible: Should be "microchip,sam9x60-i2smcc". | ||
- reg: Should be the physical base address of the controller and the | ||
length of memory mapped region. | ||
- interrupts: Should contain the interrupt for the controller. | ||
- dmas: Should be one per channel name listed in the dma-names property, | ||
as described in atmel-dma.txt and dma.txt files. | ||
- dma-names: Identifier string for each DMA request line in the dmas property. | ||
Two dmas have to be defined, "tx" and "rx". | ||
- clocks: Must contain an entry for each entry in clock-names. | ||
Please refer to clock-bindings.txt. | ||
- clock-names: Should be one of each entry matching the clocks phandles list: | ||
- "pclk" (peripheral clock) Required. | ||
- "gclk" (generated clock) Optional (1). | ||
|
||
Optional properties: | ||
- pinctrl-0: Should specify pin control groups used for this controller. | ||
- princtrl-names: Should contain only one value - "default". | ||
|
||
|
||
(1) : Only the peripheral clock is required. The generated clock is optional | ||
and should be set mostly when Master Mode is required. | ||
|
||
Example: | ||
|
||
i2s@f001c000 { | ||
compatible = "microchip,sam9x60-i2smcc"; | ||
reg = <0xf001c000 0x100>; | ||
interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>; | ||
dmas = <&dma0 | ||
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | | ||
AT91_XDMAC_DT_PERID(36))>, | ||
<&dma0 | ||
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | | ||
AT91_XDMAC_DT_PERID(37))>; | ||
dma-names = "tx", "rx"; | ||
clocks = <&i2s_clk>, <&i2s_gclk>; | ||
clock-names = "pclk", "gclk"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_i2s_default>; | ||
}; |
15 changes: 15 additions & 0 deletions
15
Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
MT8183 with MT6358, DA7219 and MAX98357 CODECS | ||
|
||
Required properties: | ||
- compatible : "mediatek,mt8183_da7219_max98357" | ||
- mediatek,headset-codec: the phandles of da7219 codecs | ||
- mediatek,platform: the phandle of MT8183 ASoC platform | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "mediatek,mt8183_da7219_max98357"; | ||
mediatek,headset-codec = <&da7219>; | ||
mediatek,platform = <&afe>; | ||
}; | ||
|
15 changes: 15 additions & 0 deletions
15
Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
MT8183 with MT6358, TS3A227 and MAX98357 CODECS | ||
|
||
Required properties: | ||
- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" | ||
- mediatek,headset-codec: the phandles of ts3a227 codecs | ||
- mediatek,platform: the phandle of MT8183 ASoC platform | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; | ||
mediatek,headset-codec = <&ts3a227>; | ||
mediatek,platform = <&afe>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Spreadtrum Multi-Channel Data Transfer Binding | ||
|
||
The Multi-channel data transfer controller is used for sound stream | ||
transmission between audio subsystem and other AP/CP subsystem. It | ||
supports 10 DAC channel and 10 ADC channel, and each channel can be | ||
configured with DMA mode or interrupt mode. | ||
|
||
Required properties: | ||
- compatible: Should be "sprd,sc9860-mcdt". | ||
- reg: Should contain registers address and length. | ||
- interrupts: Should contain one interrupt shared by all channel. | ||
|
||
Example: | ||
|
||
mcdt@41490000 { | ||
compatible = "sprd,sc9860-mcdt"; | ||
reg = <0 0x41490000 0 0x170>; | ||
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.