Skip to content

Commit f4c80d5

Browse files
committed
Merge tag 'sound-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai: "This time was again a relatively calm development cycle; most of updates are about drivers, and no radical changes are seen in any core code. Here are some highlights: ALSA core: - Continued hardening of ALSA hrtimer - A few leak fixes in timer interface - Fix poll error handling in PCM and compress - Add error propagation in compress API - Removal of dead rtctimer driver HD-audio: - Native ELD notify support for i915 HDMI - Realtek ALC234 & co support - Code refactoring to standardize chmap support - Continued development for SKL HDMI core support Firewire: - Apply delayed card registration to all drivers - Improved / stabilized the handling of PCM stream start / stop - Add tracepoints to dump a part of isochronous packet data - Fixed incoming/outgoing packet parameter usages - Add support for M-Audio profire series USB-audio: - Fixes for UAC2 clock source - SS+ support - Workaround for oft-seen repeated sample rate read errors ASoC: - Further slow progress on the topology code - Substantial updates and improvements for the da7219, es8328, fsl-ssi, Intel and rcar drivers. - Compress error handling in WM ADSP driver" * tag 'sound-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (177 commits) ALSA: firewire-lib: change a member of event structure to suppress sparse wanings to bool type sound: oss: Use setup_timer and mod_timer. ASoC: hdac_hdmi: Remove the unused 'timeout' variable ASoC: fsl_ssi: Fix channel slipping on capture (or playback) restart in full duplex. ASoC: fsl_ssi: Fix channel slipping in Playback at startup ASoC: fsl_ssi: Fix samples being dropped at Playback startup ASoC: fsl_ssi: Save a dev reference for dev_err() purpose. ASoC: fsl_ssi: The IPG/5 limitation concerns the bitclk, not the sysclk. ASoC: fsl_ssi: Real hardware channels max number is 32 ASoC: pcm5102a: Add support for PCM5102A codec ASoC: hdac_hdmi: add link management ASoC: Intel: Skylake: add link management ALSA: hdac: add link pm and ref counting ALSA: au88x0: Fix zero clear of stream->resources ASoC: rt298: Add DMI match for Broxton-P reference platform ASoC: rt298: fix null deref on acpi driver data ASoC: dapm: deprecate MICBIAS widget type ALSA: firewire-lib: drop skip argument from helper functions to queue a packet ALSA: firewire-lib: add context information to tracepoints ALSA: firewire-lib: permit to flush queued packets only in process context for better PCM period granularity ...
2 parents 7afd16f + 17e1717 commit f4c80d5

144 files changed

Lines changed: 4737 additions & 1525 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Texas Instruments DaVinci McBSP module
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
This binding describes the "Multi-channel Buffered Serial Port" (McBSP)
5+
audio interface found in some TI DaVinci processors like the OMAP-L138 or AM180x.
6+
7+
8+
Required properties:
9+
~~~~~~~~~~~~~~~~~~~~
10+
- compatible :
11+
"ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms
12+
13+
- reg : physical base address and length of the controller memory mapped
14+
region(s).
15+
- reg-names : Should contain:
16+
* "mpu" for the main registers (required).
17+
* "dat" for the data FIFO (optional).
18+
19+
- dmas: three element list of DMA controller phandles, DMA request line and
20+
TC channel ordered triplets.
21+
- dma-names: identifier string for each DMA request line in the dmas property.
22+
These strings correspond 1:1 with the ordered pairs in dmas. The dma
23+
identifiers must be "rx" and "tx".
24+
25+
Optional properties:
26+
~~~~~~~~~~~~~~~~~~~~
27+
- interrupts : Interrupt numbers for McBSP
28+
- interrupt-names : Known interrupt names are "rx" and "tx"
29+
30+
- pinctrl-0: Should specify pin control group used for this controller.
31+
- pinctrl-names: Should contain only one value - "default", for more details
32+
please refer to pinctrl-bindings.txt
33+
34+
Example (AM1808):
35+
~~~~~~~~~~~~~~~~~
36+
37+
mcbsp0: mcbsp@1d10000 {
38+
compatible = "ti,da850-mcbsp";
39+
pinctrl-names = "default";
40+
pinctrl-0 = <&mcbsp0_pins>;
41+
42+
reg = <0x00110000 0x1000>,
43+
<0x00310000 0x1000>;
44+
reg-names = "mpu", "dat";
45+
interrupts = <97 98>;
46+
interrupts-names = "rx", "tx";
47+
dmas = <&edma0 3 1
48+
&edma0 2 1>;
49+
dma-names = "tx", "rx";
50+
status = "okay";
51+
};

‎Documentation/devicetree/bindings/sound/fsl-sai.txt‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ codec/DSP interfaces.
77

88
Required properties:
99

10-
- compatible : Compatible list, contains "fsl,vf610-sai" or
11-
"fsl,imx6sx-sai".
10+
- compatible : Compatible list, contains "fsl,vf610-sai",
11+
"fsl,imx6sx-sai" or "fsl,imx6ul-sai"
1212

1313
- reg : Offset and length of the register set for the device.
1414

@@ -48,6 +48,11 @@ Required properties:
4848
receive data by following their own bit clocks and
4949
frame sync clocks separately.
5050

51+
Optional properties (for mx6ul):
52+
53+
- fsl,sai-mclk-direction-output: This is a boolean property. If present,
54+
indicates that SAI will output the SAI MCLK clock.
55+
5156
Note:
5257
- If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
5358
default synchronous mode (sync Rx with Tx) will be used, which means both
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
PCM5102a audio CODECs
2+
3+
These devices does not use I2C or SPI.
4+
5+
Required properties:
6+
7+
- compatible : set as "ti,pcm5102a"
8+
9+
Examples:
10+
11+
pcm5102a: pcm5102a {
12+
compatible = "ti,pcm5102a";
13+
};

‎Documentation/sound/alsa/HD-Audio.txt‎

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -655,17 +655,6 @@ development branches in general while the development for the current
655655
and next kernels are found in for-linus and for-next branches,
656656
respectively.
657657

658-
If you are using the latest Linus tree, it'd be better to pull the
659-
above GIT tree onto it. If you are using the older kernels, an easy
660-
way to try the latest ALSA code is to build from the snapshot
661-
tarball. There are daily tarballs and the latest snapshot tarball.
662-
All can be built just like normal alsa-driver release packages, that
663-
is, installed via the usual spells: configure, make and make
664-
install(-modules). See INSTALL in the package. The snapshot tarballs
665-
are found at:
666-
667-
- ftp://ftp.suse.com/pub/people/tiwai/snapshot/
668-
669658

670659
Sending a Bug Report
671660
~~~~~~~~~~~~~~~~~~~~
@@ -699,7 +688,12 @@ problems.
699688
alsa-info
700689
~~~~~~~~~
701690
The script `alsa-info.sh` is a very useful tool to gather the audio
702-
device information. You can fetch the latest version from:
691+
device information. It's included in alsa-utils package. The latest
692+
version can be found on git repository:
693+
694+
- git://git.alsa-project.org/alsa-utils.git
695+
696+
The script can be fetched directly from the following URL, too:
703697

704698
- http://www.alsa-project.org/alsa-info.sh
705699

@@ -836,15 +830,11 @@ can get a proc-file dump at the current state, get a list of control
836830
(mixer) elements, set/get the control element value, simulate the PCM
837831
operation, the jack plugging simulation, etc.
838832

839-
The package is found in:
840-
841-
- ftp://ftp.suse.com/pub/people/tiwai/misc/
842-
843-
A git repository is available:
833+
The program is found in the git repository below:
844834

845835
- git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/hda-emu.git
846836

847-
See README file in the tarball for more details about hda-emu
837+
See README file in the repository for more details about hda-emu
848838
program.
849839

850840

‎Documentation/sound/alsa/compress_offload.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Gapless Playback
149149
================
150150
When playing thru an album, the decoders have the ability to skip the encoder
151151
delay and padding and directly move from one track content to another. The end
152-
user can perceive this as gapless playback as we dont have silence while
152+
user can perceive this as gapless playback as we don't have silence while
153153
switching from one track to another
154154

155155
Also, there might be low-intensity noises due to encoding. Perfect gapless is
@@ -184,7 +184,7 @@ Sequence flow for gapless would be:
184184
- Fill data of the first track
185185
- Trigger start
186186
- User-space finished sending all,
187-
- Indicaite next track data by sending set_next_track
187+
- Indicate next track data by sending set_next_track
188188
- Set metadata of the next track
189189
- then call partial_drain to flush most of buffer in DSP
190190
- Fill data of the next track

‎Documentation/sound/alsa/soc/dapm.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ SOC_DAPM_SINGLE("HiFi Playback Switch", WM8731_APANA, 4, 1, 0),
132132
SND_SOC_DAPM_MIXER("Output Mixer", WM8731_PWR, 4, 1, wm8731_output_mixer_controls,
133133
ARRAY_SIZE(wm8731_output_mixer_controls)),
134134

135-
If you dont want the mixer elements prefixed with the name of the mixer widget,
135+
If you don't want the mixer elements prefixed with the name of the mixer widget,
136136
you can use SND_SOC_DAPM_MIXER_NAMED_CTL instead. the parameters are the same
137137
as for SND_SOC_DAPM_MIXER.
138138

‎Documentation/sound/alsa/soc/overview.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ multiple re-usable component drivers :-
6363
and any audio DSP drivers for that platform.
6464

6565
* Machine class driver: The machine driver class acts as the glue that
66-
decribes and binds the other component drivers together to form an ALSA
66+
describes and binds the other component drivers together to form an ALSA
6767
"sound card device". It handles any machine specific controls and
6868
machine level audio events (e.g. turning on an amp at start of playback).
6969

‎Documentation/sound/alsa/timestamping.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ will be required to issue multiple queries and perform an
129129
interpolation of the results
130130

131131
In some hardware-specific configuration, the system timestamp is
132-
latched by a low-level audio subsytem, and the information provided
132+
latched by a low-level audio subsystem, and the information provided
133133
back to the driver. Due to potential delays in the communication with
134134
the hardware, there is a risk of misalignment with the avail and delay
135135
information. To make sure applications are not confused, a

‎MAINTAINERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,6 +4732,7 @@ FREESCALE SOC SOUND DRIVERS
47324732
M: Timur Tabi <timur@tabi.org>
47334733
M: Nicolin Chen <nicoleotsuka@gmail.com>
47344734
M: Xiubo Li <Xiubo.Lee@gmail.com>
4735+
R: Fabio Estevam <fabio.estevam@nxp.com>
47354736
L: alsa-devel@alsa-project.org (moderated for non-subscribers)
47364737
L: linuxppc-dev@lists.ozlabs.org
47374738
S: Maintained

‎include/linux/mfd/syscon/imx6q-iomuxc-gpr.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,5 +448,11 @@
448448
#define IMX6UL_GPR1_ENET2_CLK_OUTPUT (0x1 << 18)
449449
#define IMX6UL_GPR1_ENET_CLK_DIR (0x3 << 17)
450450
#define IMX6UL_GPR1_ENET_CLK_OUTPUT (0x3 << 17)
451+
#define IMX6UL_GPR1_SAI1_MCLK_DIR (0x1 << 19)
452+
#define IMX6UL_GPR1_SAI2_MCLK_DIR (0x1 << 20)
453+
#define IMX6UL_GPR1_SAI3_MCLK_DIR (0x1 << 21)
454+
#define IMX6UL_GPR1_SAI_MCLK_MASK (0x7 << 19)
455+
#define MCLK_DIR(x) (x == 1 ? IMX6UL_GPR1_SAI1_MCLK_DIR : x == 2 ? \
456+
IMX6UL_GPR1_SAI2_MCLK_DIR : IMX6UL_GPR1_SAI3_MCLK_DIR)
451457

452458
#endif /* __LINUX_IMX6Q_IOMUXC_GPR_H */

0 commit comments

Comments
 (0)