Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
5b42887
ASoC: cpcap: Implement .set_bias_level
freemangordon Jan 22, 2025
02d4a97
dt-bindings: mfd: motorola-cpcap: Document audio-codec interrupts
freemangordon Jan 22, 2025
7ed1b26
ASoC: cpcap: Implement jack detection
freemangordon Jan 22, 2025
c9e9aa8
ASoC: mediatek: Remove unused mtk_memif_set_rate
Feb 1, 2025
f9a5c4b
ASoC: rt722-sdca: Add some missing readable registers
charleskeepax Jan 7, 2025
299ce4b
ASoC: rt722-sdca: Make use of new expanded MBQ regmap
charleskeepax Jan 7, 2025
4a91fe4
ASoC: tegra: Add interconnect support
Feb 3, 2025
a05143a
ASoC: SOF: topology: Use krealloc_array() to replace krealloc()
Jan 17, 2025
fb6ec1d
ASoC: mediatek: mt6358: Remove unused functions
Jan 28, 2025
1a4a5a7
ASoC: soc-ops: remove soc-dpcm.h
morimoto Feb 3, 2025
6eab703
ASoC: soc-core: Stop using of_property_read_bool() for non-boolean pr…
geertu Jan 22, 2025
dc561ab
ASoC: codecs: pcm3168a: Add ACPI match table
crojewsk-intel Feb 3, 2025
e92f042
ASoC: codecs: pcm3168a: Relax probing conditions
crojewsk-intel Feb 3, 2025
7d92a38
ASoC: codecs: pcm3168a: Allow for 24-bit in provider mode
crojewsk-intel Feb 3, 2025
79ebb59
ASoC: Intel: avs: Add pcm3168a machine board
crojewsk-intel Feb 3, 2025
b9fb916
ASoC: Intel: avs: pcm3168a board selection
crojewsk-intel Feb 3, 2025
e995c51
ASoC: Intel: avs: Move DSP-boot steps into individual functions
crojewsk-intel Feb 3, 2025
cbe37a4
ASoC: Intel: avs: Configure basefw on TGL-based platforms
Feb 3, 2025
f0173cb
ASoC: Intel: avs: New gateway configuration mechanism
crojewsk-intel Feb 3, 2025
320155a
ASoC: Intel: avs: Remove unused gateway configuration code
crojewsk-intel Feb 3, 2025
4343af6
ASoC: Intel: avs: Add WHM module support
crojewsk-intel Feb 3, 2025
856366d
ALSA: hda: Select avs-driver by default on MBL
crojewsk-intel Feb 3, 2025
fc016ef
ASoC: Intel: sof_sdw: Add lookup of quirk using PCI subsystem ID
rfvirgil Feb 4, 2025
0843449
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S14
rfvirgil Feb 4, 2025
d898910
ASoC: Intel: sof_sdw: Add support for Fatcat board with BT offload en…
udaymb Feb 4, 2025
3588b76
ASoC: Intel: soc-acpi-intel-tgl-match: declare adr as ull
bardliao Feb 4, 2025
20efccc
ASoC: Intel: soc-acpi-intel-mtl-match: declare adr as ull
bardliao Feb 4, 2025
6b24e67
ASoC: rockchip: i2s-tdm: fix shift config for SND_SOC_DAIFMT_DSP_[AB]
johnkeeping Feb 4, 2025
8478dad
ASoC: dt-bindings: Add bindings for WCD934x DAIs
Dec 9, 2024
e27c125
ASoC: codecs: wcd934x: use wcd934x binding header
Dec 9, 2024
98fcb50
ASoC: Intel: soc-acpi-intel-tgl/mtl-match: declare adr
broonie Feb 4, 2025
dabbd32
ASoC: simple-card-utils.c: add missing dlc->of_node
morimoto Feb 4, 2025
32ffed0
regmap-irq: Add missing kfree()
Feb 5, 2025
76b0a22
ALSA: hda/realtek: Limit mic boost on Positivo ARN50
drosdeck Feb 1, 2025
e8d04a9
ALSA: lola: Remove unused lola_(save|restore)_mixer
Jan 22, 2025
1b0e9d7
ALSA: hda/hdmi: extract common interface for ELD handling
lumag Jan 24, 2025
0ecd24a
ASoC: hdmi-codec: dump ELD through procfs
lumag Jan 24, 2025
1d5efdd
ALSA: docs: Fix typo
jwilk Jan 30, 2025
de7d2a7
ALSA: docs: Fix module paths in /sys
jwilk Jan 30, 2025
796106e
ASoC: rsnd: indicate unsupported clock rate
morimoto Feb 5, 2025
c3fc002
ASoC: rsnd: don't indicate warning on rsnd_kctrl_accept_runtime()
morimoto Feb 5, 2025
89f9cf1
ASoC: rsnd: adjust convert rate limitation
morimoto Feb 5, 2025
6786818
ASoC: dmic: Add DSD big endian format support
TE-N-ShengjiuWang Feb 5, 2025
b3d993c
ASoC: amd: acp: Use str_low_high() helper function
toblux Feb 4, 2025
3f75771
ASoC: SOF: mediatek: Use str_on_off() helper function
toblux Feb 4, 2025
185ac20
ASoC: rt722: get lane mapping property
bardliao Feb 4, 2025
6603c51
ASoC: dt-bindings: atmel,at91-ssc: Convert to YAML format
Feb 3, 2025
d8d99c3
ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
ujfalusi Feb 5, 2025
46c7b90
ASoC: SOF: pcm: Clear the susbstream pointer to NULL on close
ujfalusi Feb 5, 2025
169ec0a
ASoC: SOF: Relocate and rework functionality for PCM stream freeing
ujfalusi Feb 6, 2025
4d2ea16
ASoC: SOF: pcm: Move period/buffer configuration print after platform…
ujfalusi Feb 6, 2025
8606931
ASoC: SOF: pcm: Add snd_sof_pcm specific wrappers for dev_dbg() and d…
ujfalusi Feb 6, 2025
583348b
ASoC: SOF: ipc4-topology: Improve the information in prepare_copier p…
ujfalusi Feb 6, 2025
6790749
ASoC: arizona/madera: use fsleep() in up/down DAPM event delays.
Feb 5, 2025
1d44a30
ASoC: cs35l41: Fallback to using HID for system_name if no SUB is ava…
Feb 5, 2025
6fd6013
ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers
ujfalusi Feb 6, 2025
33b7dc7
ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module
terry182 Feb 6, 2025
7282638
ASoC: dt-bindings: wcd937x-sdw: Add static channel mapping support
mohsRafi Feb 6, 2025
c06c4f7
ASoC: codecs: wcd937x: Add static channel mapping support in wcd937x-sdw
mohsRafi Feb 6, 2025
7796c97
soundwire: qcom: Add set_channel_map api support
mohsRafi Feb 6, 2025
0e9a970
ASoC: qcom: sdw: Add get and set channel maps support from codec to c…
mohsRafi Feb 6, 2025
0b06000
ASoC: tas2781: drop a redundant code
Shenghao-Ding Feb 6, 2025
b9cb90a
ASoC: rsnd: adjust convert rate in 1%
broonie Feb 6, 2025
199b87f
ASoC: SOF: Correct sps->stream and cstream nullity
broonie Feb 6, 2025
7858def
ASoC: Intel: sof_sdw: Add support for new devices
broonie Feb 6, 2025
78e66dd
ASoC: mediatek: mt8186: Remove unused mt8186_afe_(suspend|resume)_clock
Feb 6, 2025
ecfcee2
ASoC: dapm: unexport snd_soc_dapm_init()
masahir0y Feb 5, 2025
3f78762
ASoC: dapm: unexport snd_soc_dapm_update_dai()
masahir0y Feb 5, 2025
5ea46b4
ASoC: SOF: ipc4-pcm: Move out be_rate initialization from for loop in…
ujfalusi Feb 6, 2025
2466b62
ASoC: dapm: unexport dapm_mark_endpoints_dirty()
masahir0y Feb 5, 2025
4c75180
ASoC: SOF: ipc4: Add support for split firmware releases
ujfalusi Feb 6, 2025
943116b
ASoC: add common snd_soc_ret() and use it
morimoto Feb 5, 2025
062b7ef
ASoC: soc-utils: care -EOPNOTSUPP on snd_soc_ret()
morimoto Feb 5, 2025
be61cd4
ASoC: soc-pcm: use snd_soc_ret()
morimoto Feb 5, 2025
a0ef5b4
ASoC: simple-card: use snd_soc_ret()
morimoto Feb 5, 2025
2d7395b
ASoC: simple-card-utils: use snd_soc_ret()
morimoto Feb 5, 2025
74a0ca4
ASoC: audio-graph-card: use snd_soc_ret()
morimoto Feb 5, 2025
8d83282
ASoC: audio-graph-card2: use snd_soc_ret()
morimoto Feb 5, 2025
a23ff14
ASoC: Intel: avs: Add support for MalibouLake
broonie Feb 6, 2025
96dd187
This is continued work on Samsung S9(SM-9600)
broonie Feb 6, 2025
f2d161e
ASoC: and adn use snd_soc_ret()
broonie Feb 6, 2025
f0703ce
ASoC: cpcap: Implement jack headset detection
broonie Feb 6, 2025
46ab7d8
Add static channel mapping between soundwire master
broonie Feb 6, 2025
6b8f162
ASoC: SOF: Improve the spcm and ipc4 copier prints
broonie Feb 6, 2025
cb161c3
ASoC: tas2781: Switch to use %ptTsr
andy-shev Feb 6, 2025
153dbf4
regmap: irq: Use one way of setting all bits in the register
andy-shev Feb 6, 2025
e2ceac2
ASoC: amd: ps: rename structure names, variable and other macros
vijendarmukunda Feb 7, 2025
4b36a47
ASoC: amd: ps: use macro for ACP6.3 pci revision id
vijendarmukunda Feb 7, 2025
db746ff
ASoC: amd: ps: add acp pci driver hw_ops for acp6.3 platform
vijendarmukunda Feb 7, 2025
4916283
ASoC: amd: ps: add callback functions for acp pci driver pm ops
vijendarmukunda Feb 7, 2025
6547577
ASoC: amd: ps: add callback to read acp pin configuration
vijendarmukunda Feb 7, 2025
0a27b2d
ASoC: amd: ps: add soundwire dma irq thread callback
vijendarmukunda Feb 7, 2025
4516be3
ASoC: amd: ps: refactor soundwire dma interrupt handling
vijendarmukunda Feb 7, 2025
fcb7546
ASoC: amd: ps: store acp revision id in SoundWire dma driver private …
vijendarmukunda Feb 7, 2025
0fa0843
ASoC: amd: ps: refactor soundwire dma driver code
vijendarmukunda Feb 7, 2025
43d6140
ASoC: amd: ps: refactor soundwire dma interrupts enable/disable sequence
vijendarmukunda Feb 7, 2025
605aab3
ASoC: amd: ps: rename acp_restore_sdw_dma_config() function
vijendarmukunda Feb 7, 2025
7c0ea26
ASoC: amd: ps: add pci driver hw_ops for ACP7.0 & ACP7.1 variants
vijendarmukunda Feb 7, 2025
fde277d
ASoC: amd: ps: add pm ops related hw_ops for ACP7.0 & ACP7.1 platforms
vijendarmukunda Feb 7, 2025
c878d5c
ASoC: amd: ps: add ACP7.0 & ACP7.1 specific soundwire dma driver changes
vijendarmukunda Feb 7, 2025
1c35755
ASoC: amd: ps: implement function to restore dma config for ACP7.0 pl…
vijendarmukunda Feb 7, 2025
0b6914a
ASoC: amd: ps: add soundwire dma interrupts handling for ACP7.0 platform
vijendarmukunda Feb 7, 2025
3898b18
ASoC: amd: ps: add soundwire wake interrupt handling
vijendarmukunda Feb 7, 2025
0eb8f83
ASoC: amd: ps: update module description
vijendarmukunda Feb 7, 2025
f1e91ac
ASoC: amd: ps: update file description and copyright year
vijendarmukunda Feb 7, 2025
552f66c
ASoC: amd: update Pink Sardine platform Kconfig description
vijendarmukunda Feb 7, 2025
638ad2b
ASoC: amd: acp: add machine driver changes for ACP7.0 and ACP7.1 plat…
vijendarmukunda Feb 7, 2025
1871506
ASoC: amd: acp: add RT711, RT714 & RT1316 support for ACP7.0 platform
vijendarmukunda Feb 7, 2025
d0252b0
ASoC: amd: acp: amd-acp70-acpi-match: Add rt722 support
vijendarmukunda Feb 7, 2025
31e3100
ASoC: amd: acp: amd-acp70-acpi-match: Add RT1320 & RT722 combination …
vijendarmukunda Feb 7, 2025
4bb5b6f
ASoC: amd: amd_sdw: Add quirks for Dell SKU's
vijendarmukunda Feb 7, 2025
91f505d
ASoC: Intel: soc-acpi-intel-ptl-match: add rt712_vb + rt1320 support
ujfalusi Feb 7, 2025
852c0b7
ASoC: Intel: soc-acpi-intel-ptl-match: add rt713_vb_l2_rt1320_l13
ujfalusi Feb 7, 2025
14b3392
Merge remote-tracking branch 'regmap/for-6.15' into regmap-next
broonie Feb 7, 2025
f98d420
ASoC: Intel: soc-acpi-intel-ptl-match typo fixups
broonie Feb 7, 2025
651e0ed
ASoC: SOF: imx: introduce more common structures and functions
LaurentiuM1234 Feb 7, 2025
645753d
ASoC: SOF: imx8: use common imx chip interface
LaurentiuM1234 Feb 7, 2025
563e401
ASoC: SOF: imx8: use IMX_SOF_* macros
LaurentiuM1234 Feb 7, 2025
45e02ed
ASoC: SOF: imx8: drop unneeded/unused macros/header includes
LaurentiuM1234 Feb 7, 2025
896530b
ASoC: SOF: imx: merge imx8 and imx8m drivers
LaurentiuM1234 Feb 7, 2025
07e3e51
ASoC: SOF: imx: merge imx8 and imx8ulp drivers
LaurentiuM1234 Feb 7, 2025
6cf5df1
ASoC: SOF: imx: add driver for the imx95 chip
LaurentiuM1234 Feb 7, 2025
629dd55
ASoC: SDCA: Minor formatting and naming tweaks
charleskeepax Feb 5, 2025
996bf83
ASoC: SDCA: Add code to parse Function information
plbossart Feb 5, 2025
19f6748
ASoC: SDCA: Parse initialization write table
plbossart Feb 5, 2025
9ee6d50
ASoC: SDCA: Add support for Entity 0
charleskeepax Feb 5, 2025
42b144c
ASoC: SDCA: Add SDCA Control parsing
charleskeepax Feb 5, 2025
64fb5af
ASoC: SDCA: Add parsing for Control range structures
charleskeepax Feb 5, 2025
f87c2a2
ASoC: SDCA: Add Channel Cluster parsing
charleskeepax Feb 5, 2025
5c93b20
ASoC: SDCA: Add support for IT/OT Entity properties
charleskeepax Feb 5, 2025
e80b8e5
ASoC: SDCA: Add support for clock Entity properties
charleskeepax Feb 5, 2025
9da1958
ASoC: SDCA: Add support for PDE Entity properties
charleskeepax Feb 5, 2025
005859a
ASoC: amd: Add support for ACP7.0 & ACP7.1
broonie Feb 7, 2025
2b360ba
ALSA: hda: intel: Fix Optimus when GPU has no sound
gentoo-root Feb 8, 2025
becc794
ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist
gentoo-root Feb 8, 2025
3c331bd
Refactor imx drivers and introduce support for
broonie Feb 10, 2025
d1541ca
Add SDCA DisCo parsing support
broonie Feb 10, 2025
78ccf6a
ASoC: Intel: soc-acpi-intel-ptl-match: revise typo of rt712_vb + rt13…
ujfalusi Feb 10, 2025
cb78b8d
ASoC: Intel: soc-acpi-intel-ptl-match: revise typo of rt713_vb_l2_rt1…
ujfalusi Feb 10, 2025
91b98d5
ASoC: SOF: amd: Add post_fw_run_delay ACP quirk
cristicc Feb 7, 2025
2ecbc2e
ASoC: SOF: amd: Drop unused includes from Vangogh driver
cristicc Feb 7, 2025
ac84ca8
ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE
cristicc Feb 7, 2025
ccc8480
ASoC: SOF: amd: Add branch prediction hint in ACP IRQ handler
cristicc Feb 7, 2025
330cbb4
dt-bindings: ASoC: rockchip: Add compatible for RK3588 SPDIF
alchark Jan 20, 2025
e97d06c
ASoC: tscs454: Use str_enable_disable() in pll_power_event()
toblux Feb 10, 2025
c552821
ASoC: codecs: wcd93xx-sdw: fix of_property_read_bool() warnings
jhovold Feb 10, 2025
b191816
ASoC: cs35l41: Fix acpi_device_hid() not found
Feb 10, 2025
2a91231
ALSA: firewire: isight: changed strcpy to strscpy
jacklivingood Feb 5, 2025
ad1212a
arm64: dts: rockchip: Add SPDIF on RK3588
broonie Feb 10, 2025
f684130
ASoC: Intel: soc-acpi-intel-ptl-match typo fixups
broonie Feb 10, 2025
21aa330
ASoC: fsl_micfil: Add decimation filter bypass mode support
TE-N-ShengjiuWang Feb 6, 2025
119932b
Merge remote-tracking branch 'asoc/for-6.15' into asoc-next
broonie Feb 11, 2025
aa71400
Merge remote-tracking branch 'takashi/for-next' into sound/upstream-2…
bardliao Feb 12, 2025
4904a47
Merge remote-tracking branch 'regmap/for-next' into sound/upstream-20…
bardliao Feb 12, 2025
78c6562
Merge branch 'sound/upstream-20250212' into merge/sound-upstream-2025…
bardliao Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/mfd/motorola-cpcap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ node must be named "audio-codec".
Required properties for the audio-codec subnode:

- #sound-dai-cells = <1>;
- interrupts : should contain jack detection interrupts, with headset
detect interrupt matching "hs" and microphone bias 2
detect interrupt matching "mb2" in interrupt-names.
- interrupt-names : Contains "hs", "mb2"

The audio-codec provides two DAIs. The first one is connected to the
Stereo HiFi DAC and the second one is connected to the Voice DAC.
Expand All @@ -52,6 +56,8 @@ Example:

audio-codec {
#sound-dai-cells = <1>;
interrupts-extended = <&cpcap 9 0>, <&cpcap 10 0>;
interrupt-names = "hs", "mb2";

/* HiFi */
port@0 {
Expand Down
50 changes: 0 additions & 50 deletions Documentation/devicetree/bindings/misc/atmel-ssc.txt

This file was deleted.

104 changes: 104 additions & 0 deletions Documentation/devicetree/bindings/sound/atmel,at91-ssc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/atmel,at91-ssc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Atmel Serial Synchronous Serial (SSC)

maintainers:
- Andrei Simion <andrei.simion@microchip.com>

description:
The Atmel Synchronous Serial Controller (SSC) provides a versatile
synchronous communication link for audio and telecom applications,
supporting protocols like I2S, Short Frame Sync, and Long Frame Sync.

properties:
compatible:
enum:
- atmel,at91rm9200-ssc
- atmel,at91sam9g45-ssc

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1

clock-names:
items:
- const: pclk

dmas:
items:
- description: TX DMA Channel
- description: RX DMA Channel

dma-names:
items:
- const: tx
- const: rx

atmel,clk-from-rk-pin:
description:
Specify the clock source for the SSC (Synchronous Serial Controller)
when operating in slave mode. By default, the clock is sourced from
the TK pin.
type: boolean

"#sound-dai-cells":
const: 0

required:
- compatible
- reg
- interrupts
- clocks
- clock-names

allOf:
- $ref: dai-common.yaml#
- if:
properties:
compatible:
contains:
enum:
- atmel,at91sam9g45-ssc
then:
required:
- dmas
- dma-names

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>

ssc@100000 {
compatible = "atmel,at91sam9g45-ssc";
reg = <0x100000 0x4000>;
interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
dmas = <&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
AT91_XDMAC_DT_PERID(38))>,
<&dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
AT91_XDMAC_DT_PERID(39))>;
dma-names = "tx", "rx";
clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
clock-names = "pclk";
#sound-dai-cells = <0>;
};

ssc@c00000 {
compatible = "atmel,at91rm9200-ssc";
reg = <0xc00000 0x4000>;
interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
clock-names = "pclk";
};
36 changes: 36 additions & 0 deletions Documentation/devicetree/bindings/sound/qcom,wcd937x-sdw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,40 @@ properties:
items:
enum: [1, 2, 3, 4, 5]

qcom,tx-channel-mapping:
description: |
Specifies static channel mapping between slave and master tx port
channels.
In the order of slave port channels which is adc1, adc2, adc3,
dmic0, dmic1, mbhc, dmic2, dmic3, dmci4, dmic5, dmic6, dmic7.
$ref: /schemas/types.yaml#/definitions/uint8-array
minItems: 12
maxItems: 12
additionalItems: false
items:
enum:
- 1 # WCD9370_SWRM_CH1
- 2 # WCD9370_SWRM_CH2
- 3 # WCD9370_SWRM_CH3
- 4 # WCD9370_SWRM_CH4

qcom,rx-channel-mapping:
description: |
Specifies static channels mapping between slave and master rx port
channels.
In the order of slave port channels, which is
hph_l, hph_r, clsh, comp_l, comp_r, lo, dsd_r, dsd_l.
$ref: /schemas/types.yaml#/definitions/uint8-array
minItems: 8
maxItems: 8
additionalItems: false
items:
enum:
- 1 # WCD9370_SWRM_CH1
- 2 # WCD9370_SWRM_CH2
- 3 # WCD9370_SWRM_CH3
- 4 # WCD9370_SWRM_CH4

required:
- compatible
- reg
Expand All @@ -74,6 +108,7 @@ examples:
compatible = "sdw20217010a00";
reg = <0 4>;
qcom,rx-port-mapping = <1 2 3 4 5>;
qcom,rx-channel-mapping = /bits/ 8 <1 2 1 1 2 1 1 2>;
};
};

Expand All @@ -85,6 +120,7 @@ examples:
compatible = "sdw20217010a00";
reg = <0 3>;
qcom,tx-port-mapping = <2 2 3 4>;
qcom,tx-channel-mapping = /bits/ 8 <1 2 1 1 2 3 3 4 1 2 3 4>;
};
};

Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ properties:
- rockchip,rk3288-spdif
- rockchip,rk3308-spdif
- const: rockchip,rk3066-spdif
- items:
- enum:
- rockchip,rk3588-spdif
- const: rockchip,rk3568-spdif

reg:
maxItems: 1
Expand Down
2 changes: 1 addition & 1 deletion Documentation/sound/alsa-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ debug
2 = verbose debug messages);
This option appears only when ``CONFIG_SND_DEBUG=y``.
This option can be dynamically changed via sysfs
/sys/modules/snd/parameters/debug file.
/sys/module/snd/parameters/debug file.

Module snd-pcm-oss
------------------
Expand Down
6 changes: 3 additions & 3 deletions Documentation/sound/designs/powersave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ operations.
The ``power_save`` option is exported as writable. This means you can
adjust the value via sysfs on the fly. For example, to turn on the
automatic power-save mode with 10 seconds, write to
``/sys/modules/snd_ac97_codec/parameters/power_save`` (usually as root):
``/sys/module/snd_ac97_codec/parameters/power_save`` (usually as root):
::

# echo 10 > /sys/modules/snd_ac97_codec/parameters/power_save
# echo 10 > /sys/module/snd_ac97_codec/parameters/power_save


Note that you might hear click noise/pop when changing the power
state. Also, it often takes certain time to wake up from the
power-down to the active state. These are often hardly to fix, so
power-down to the active state. These are often hard to fix, so
don't report extra bug reports unless you have a fix patch ;-)

For HD-audio interface, there is another module option,
Expand Down
3 changes: 2 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -15632,7 +15632,7 @@ M: Claudiu Beznea <claudiu.beznea@tuxon.dev>
M: Andrei Simion <andrei.simion@microchip.com>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Supported
F: Documentation/devicetree/bindings/misc/atmel-ssc.txt
F: Documentation/devicetree/bindings/sound/atmel,at91-ssc.yaml
F: drivers/misc/atmel-ssc.c
F: include/linux/atmel-ssc.h

Expand Down Expand Up @@ -19149,6 +19149,7 @@ F: Documentation/devicetree/bindings/soc/qcom/qcom,apr*
F: Documentation/devicetree/bindings/sound/qcom,*
F: drivers/soc/qcom/apr.c
F: include/dt-bindings/sound/qcom,wcd9335.h
F: include/dt-bindings/sound/qcom,wcd934x.h
F: sound/soc/codecs/lpass-rx-macro.*
F: sound/soc/codecs/lpass-tx-macro.*
F: sound/soc/codecs/lpass-va-macro.c
Expand Down
4 changes: 3 additions & 1 deletion drivers/base/regmap/regmap-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,
/* Ack masked but set interrupts */
if (d->chip->no_status) {
/* no status register so default to all active */
d->status_buf[i] = GENMASK(31, 0);
d->status_buf[i] = UINT_MAX;
} else {
reg = d->get_irq_reg(d, d->chip->status_base, i);
ret = regmap_read(map, reg, &d->status_buf[i]);
Expand Down Expand Up @@ -906,6 +906,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,
kfree(d->wake_buf);
kfree(d->mask_buf_def);
kfree(d->mask_buf);
kfree(d->main_status_buf);
kfree(d->status_buf);
kfree(d->status_reg_buf);
if (d->config_buf) {
Expand Down Expand Up @@ -981,6 +982,7 @@ void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *d)
kfree(d->wake_buf);
kfree(d->mask_buf_def);
kfree(d->mask_buf);
kfree(d->main_status_buf);
kfree(d->status_reg_buf);
kfree(d->status_buf);
if (d->config_buf) {
Expand Down
26 changes: 26 additions & 0 deletions drivers/soundwire/qcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ struct qcom_swrm_port_config {
u8 word_length;
u8 blk_group_count;
u8 lane_control;
u8 ch_mask;
};

/*
Expand Down Expand Up @@ -1048,9 +1049,13 @@ static int qcom_swrm_port_enable(struct sdw_bus *bus,
{
u32 reg = SWRM_DP_PORT_CTRL_BANK(enable_ch->port_num, bank);
struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus);
struct qcom_swrm_port_config *pcfg;
u32 val;

pcfg = &ctrl->pconfig[enable_ch->port_num];
ctrl->reg_read(ctrl, reg, &val);
if (pcfg->ch_mask != SWR_INVALID_PARAM && pcfg->ch_mask != 0)
enable_ch->ch_mask = pcfg->ch_mask;

if (enable_ch->enable)
val |= (enable_ch->ch_mask << SWRM_DP_PORT_CTRL_EN_CHAN_SHFT);
Expand Down Expand Up @@ -1270,6 +1275,26 @@ static void *qcom_swrm_get_sdw_stream(struct snd_soc_dai *dai, int direction)
return ctrl->sruntime[dai->id];
}

static int qcom_swrm_set_channel_map(struct snd_soc_dai *dai,
unsigned int tx_num, const unsigned int *tx_slot,
unsigned int rx_num, const unsigned int *rx_slot)
{
struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev);
int i;

if (tx_slot) {
for (i = 0; i < tx_num; i++)
ctrl->pconfig[i].ch_mask = tx_slot[i];
}

if (rx_slot) {
for (i = 0; i < rx_num; i++)
ctrl->pconfig[i].ch_mask = rx_slot[i];
}

return 0;
}

static int qcom_swrm_startup(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
Expand Down Expand Up @@ -1306,6 +1331,7 @@ static const struct snd_soc_dai_ops qcom_swrm_pdm_dai_ops = {
.shutdown = qcom_swrm_shutdown,
.set_stream = qcom_swrm_set_sdw_stream,
.get_stream = qcom_swrm_get_sdw_stream,
.set_channel_map = qcom_swrm_set_channel_map,
};

static const struct snd_soc_component_driver qcom_swrm_dai_component = {
Expand Down
16 changes: 16 additions & 0 deletions include/dt-bindings/sound/qcom,wcd934x.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */

#ifndef __DT_SOUND_QCOM_WCD934x_H
#define __DT_SOUND_QCOM_WCD934x_H

#define AIF1_PB 0
#define AIF1_CAP 1
#define AIF2_PB 2
#define AIF2_CAP 3
#define AIF3_PB 4
#define AIF3_CAP 5
#define AIF4_PB 6
#define AIF4_VIFEED 7
#define AIF4_MAD_TX 8

#endif
Loading
Loading