forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
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-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/tiwai/sound Pull sound updates from Takashi Iwai: "As the diffstat shows, we've had lots of developments in a wide range at this time; the majority of changes are about ASoC, including subsystem-wide cleanups, continued SOF / Intel updates and a bunch of new drivers (as usual), while there have been some significant (but almost invisible) improvements in ALSA core side, too. Below are some highlights: Core: - Faster lookups of control elements with Xarray; normal user won't notice, but on the devices with tons of control elements, it can be visibly faster - Support for input validation for controls; this will harden for badly written drivers in general with a slight overhead - Deferred async signal handling for working around the potential deadlocks - Cleanup / refactoring raw MIDI locking code ASoC: - Restructing of the set_fmt() callbacks for making things clearer in situations like CODEC to CODEC links - Clean up and modernizing the DAI naming scheme setups - Merge of more of the Intel AVS driver stack, including some board integrations - New version 4 mechanism for communication with SOF DSPs - Suppoort for dynamically selecting the PLL to use at runtime on i.MX platforms - Improvements for CODEC to CODEC support in the generic cards - Support for AMD Jadeite and various machines, AMD RPL, Intel MetorLake DSPs, Mediatek MT8186 DSPs and MT6366, nVidia Tegra MDDRC, OPE and PEQ, NXP TFA9890, Qualcomm SDM845, WCD9335 and WAS883x, and Texas Instruments TAS2780 HD- and USB-audio: - Continued improvement for CS35L41 (sub)codec support - More quirks for various devices (HP, Lenovo, Dell, Clevo)" * tag 'sound-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (778 commits) ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx ALSA: line6: Replace sprintf() with sysfs_emit() ALSA: hda: Replace sprintf() with sysfs_emit() ALSA: pcm: Replace sprintf() with sysfs_emit() ALSA: core: Replace scnprintf() with sysfs_emit() ALSA: control-led: Replace sprintf() with sysfs_emit() ALSA: aoa: Replace sprintf() with sysfs_emit() ALSA: ac97: Replace sprintf() with sysfs_emit() ALSA: hda/realtek: Add quirk for Clevo NV45PZ ALSA: hda/realtek: Add quirk for Lenovo Yoga9 14IAP7 ALSA: control: Use deferred fasync helper ALSA: pcm: Use deferred fasync helper ALSA: timer: Use deferred fasync helper ALSA: core: Add async signal helpers ASoC: q6asm: use kcalloc() instead of kzalloc() ACPI: scan: Add CLSA0101 Laptop Support ALSA: hda: cs35l41: Support CLSA0101 ALSA: hda: cs35l41: Use the CS35L41 HDA internal define ASoC: dt-bindings: use spi-peripheral-props.yaml ASoC: codecs: va-macro: use fsgen as clock ...
- Loading branch information
Showing
797 changed files
with
37,816 additions
and
4,268 deletions.
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
Documentation/devicetree/bindings/dsp/mediatek,mt8186-dsp.yaml
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,91 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MediaTek mt8186 DSP core | ||
|
||
maintainers: | ||
- Tinghan Shen <[email protected]> | ||
|
||
description: | | ||
MediaTek mt8186 SoC contains a DSP core used for | ||
advanced pre- and post- audio processing. | ||
properties: | ||
compatible: | ||
const: mediatek,mt8186-dsp | ||
|
||
reg: | ||
items: | ||
- description: Address and size of the DSP config registers | ||
- description: Address and size of the DSP SRAM | ||
- description: Address and size of the DSP secure registers | ||
- description: Address and size of the DSP bus registers | ||
|
||
reg-names: | ||
items: | ||
- const: cfg | ||
- const: sram | ||
- const: sec | ||
- const: bus | ||
|
||
clocks: | ||
items: | ||
- description: mux for audio dsp clock | ||
- description: mux for audio dsp local bus | ||
|
||
clock-names: | ||
items: | ||
- const: audiodsp | ||
- const: adsp_bus | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
mboxes: | ||
items: | ||
- description: mailbox for receiving audio DSP requests. | ||
- description: mailbox for transmitting requests to audio DSP. | ||
|
||
mbox-names: | ||
items: | ||
- const: rx | ||
- const: tx | ||
|
||
memory-region: | ||
items: | ||
- description: dma buffer between host and DSP. | ||
- description: DSP system memory. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- reg-names | ||
- clocks | ||
- clock-names | ||
- power-domains | ||
- mbox-names | ||
- mboxes | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/mt8186-clk.h> | ||
dsp@10680000 { | ||
compatible = "mediatek,mt8186-dsp"; | ||
reg = <0x10680000 0x2000>, | ||
<0x10800000 0x100000>, | ||
<0x1068b000 0x100>, | ||
<0x1068f000 0x1000>; | ||
reg-names = "cfg", "sram", "sec", "bus"; | ||
clocks = <&topckgen CLK_TOP_AUDIODSP>, | ||
<&topckgen CLK_TOP_ADSP_BUS>; | ||
clock-names = "audiodsp", | ||
"adsp_bus"; | ||
power-domains = <&spm 6>; | ||
mbox-names = "rx", "tx"; | ||
mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>; | ||
}; |
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
100 changes: 100 additions & 0 deletions
100
Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml
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,100 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/atmel,sama5d2-classd.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Atmel ClassD Amplifier | ||
|
||
maintainers: | ||
- Nicolas Ferre <[email protected]> | ||
- Alexandre Belloni <[email protected]> | ||
- Claudiu Beznea <[email protected]> | ||
|
||
description: | ||
The Audio Class D Amplifier (CLASSD) is a digital input, Pulse Width | ||
Modulated (PWM) output stereo Class D amplifier. | ||
|
||
properties: | ||
compatible: | ||
const: atmel,sama5d2-classd | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
dmas: | ||
maxItems: 1 | ||
|
||
dma-names: | ||
const: tx | ||
|
||
clocks: | ||
maxItems: 2 | ||
|
||
clock-names: | ||
items: | ||
- const: pclk | ||
- const: gclk | ||
|
||
atmel,model: | ||
$ref: /schemas/types.yaml#/definitions/string | ||
default: CLASSD | ||
description: The user-visible name of this sound complex. | ||
|
||
atmel,pwm-type: | ||
$ref: /schemas/types.yaml#/definitions/string | ||
enum: | ||
- single | ||
- diff | ||
default: single | ||
description: PWM modulation type. | ||
|
||
atmel,non-overlap-time: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
enum: | ||
- 5 | ||
- 10 | ||
- 15 | ||
- 20 | ||
default: 10 | ||
description: | ||
Set non-overlapping time, the unit is nanosecond(ns). | ||
Non-overlapping will be disabled if not specified. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- dmas | ||
- dma-names | ||
- clock-names | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/dma/at91.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
classd: sound@fc048000 { | ||
compatible = "atmel,sama5d2-classd"; | ||
reg = <0xfc048000 0x100>; | ||
interrupts = <59 IRQ_TYPE_LEVEL_HIGH 7>; | ||
dmas = <&dma0 | ||
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | ||
| AT91_XDMAC_DT_PERID(47))>; | ||
dma-names = "tx"; | ||
clocks = <&classd_clk>, <&classd_gclk>; | ||
clock-names = "pclk", "gclk"; | ||
assigned-clocks = <&classd_gclk>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_classd_default>; | ||
atmel,model = "classd @ SAMA5D2-Xplained"; | ||
atmel,pwm-type = "diff"; | ||
atmel,non-overlap-time = <10>; | ||
}; |
85 changes: 85 additions & 0 deletions
85
Documentation/devicetree/bindings/sound/atmel,sama5d2-i2s.yaml
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,85 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/atmel,sama5d2-i2s.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Atmel I2S controller | ||
|
||
maintainers: | ||
- Nicolas Ferre <[email protected]> | ||
- Alexandre Belloni <[email protected]> | ||
- Claudiu Beznea <[email protected]> | ||
|
||
description: | ||
Atmel I2S (Inter-IC Sound Controller) bus is the standard | ||
interface for connecting audio devices, such as audio codecs. | ||
|
||
properties: | ||
compatible: | ||
const: atmel,sama5d2-i2s | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: Peripheral clock | ||
- description: Generated clock (Optional) | ||
- description: I2S mux clock (Optional). Set | ||
with gclk when Master Mode is required. | ||
minItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: pclk | ||
- const: gclk | ||
- const: muxclk | ||
minItems: 1 | ||
|
||
dmas: | ||
items: | ||
- description: TX DMA Channel | ||
- description: RX DMA Channel | ||
|
||
dma-names: | ||
items: | ||
- const: tx | ||
- const: rx | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- dmas | ||
- dma-names | ||
- clocks | ||
- clock-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/dma/at91.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
i2s@f8050000 { | ||
compatible = "atmel,sama5d2-i2s"; | ||
reg = <0xf8050000 0x300>; | ||
interrupts = <54 IRQ_TYPE_LEVEL_HIGH 7>; | ||
dmas = <&dma0 | ||
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | | ||
AT91_XDMAC_DT_PERID(31))>, | ||
<&dma0 | ||
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | | ||
AT91_XDMAC_DT_PERID(32))>; | ||
dma-names = "tx", "rx"; | ||
clocks = <&i2s0_clk>, <&i2s0_gclk>, <&i2s0muxck>; | ||
clock-names = "pclk", "gclk", "muxclk"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_i2s0_default>; | ||
}; |
Oops, something went wrong.