Skip to content

Commit accaf69

Browse files
committed
Merge tag 'asoc-v3.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: More updates for v3.11 Some more fixes and enhancements, and also a bunch of refectoring for AC'97 support which enables more than one AC'97 controller driver to be built in.
2 parents 975cc02 + 2751608 commit accaf69

195 files changed

Lines changed: 2186 additions & 1128 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: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
<title>Codec Interface</title>
22

3-
<note>
4-
<title>Suspended</title>
3+
<para>A V4L2 codec can compress, decompress, transform, or otherwise
4+
convert video data from one format into another format, in memory. Typically
5+
such devices are memory-to-memory devices (i.e. devices with the
6+
<constant>V4L2_CAP_VIDEO_M2M</constant> or <constant>V4L2_CAP_VIDEO_M2M_MPLANE</constant>
7+
capability set).
8+
</para>
59

6-
<para>This interface has been be suspended from the V4L2 API
7-
implemented in Linux 2.6 until we have more experience with codec
8-
device interfaces.</para>
9-
</note>
10+
<para>A memory-to-memory video node acts just like a normal video node, but it
11+
supports both output (sending frames from memory to the codec hardware) and
12+
capture (receiving the processed frames from the codec hardware into memory)
13+
stream I/O. An application will have to setup the stream
14+
I/O for both sides and finally call &VIDIOC-STREAMON; for both capture and output
15+
to start the codec.</para>
1016

11-
<para>A V4L2 codec can compress, decompress, transform, or otherwise
12-
convert video data from one format into another format, in memory.
13-
Applications send data to be converted to the driver through a
14-
&func-write; call, and receive the converted data through a
15-
&func-read; call. For efficiency a driver may also support streaming
16-
I/O.</para>
17+
<para>Video compression codecs use the MPEG controls to setup their codec parameters
18+
(note that the MPEG controls actually support many more codecs than just MPEG).
19+
See <xref linkend="mpeg-controls"></xref>.</para>
1720

18-
<para>[to do]</para>
21+
<para>Memory-to-memory devices can often be used as a shared resource: you can
22+
open the video node multiple times, each application setting up their own codec properties
23+
that are local to the file handle, and each can use it independently from the others.
24+
The driver will arbitrate access to the codec and reprogram it whenever another file
25+
handler gets access. This is different from the usual video node behavior where the video properties
26+
are global to the device (i.e. changing something through one file handle is visible
27+
through another file handle).</para>

‎Documentation/DocBook/media/v4l/v4l2.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ and discussions on the V4L mailing list.</revremark>
493493
</partinfo>
494494

495495
<title>Video for Linux Two API Specification</title>
496-
<subtitle>Revision 3.9</subtitle>
496+
<subtitle>Revision 3.10</subtitle>
497497

498498
<chapter id="common">
499499
&sub-common;

‎Documentation/devicetree/bindings/media/exynos-fimc-lite.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Exynos4x12/Exynos5 SoC series camera host interface (FIMC-LITE)
22

33
Required properties:
44

5-
- compatible : should be "samsung,exynos4212-fimc" for Exynos4212 and
5+
- compatible : should be "samsung,exynos4212-fimc-lite" for Exynos4212 and
66
Exynos4412 SoCs;
77
- reg : physical base address and size of the device memory mapped
88
registers;

‎Documentation/devicetree/bindings/sound/adi,adau1701.txt‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ Optional properties:
1111
- reset-gpio: A GPIO spec to define which pin is connected to the
1212
chip's !RESET pin. If specified, the driver will
1313
assert a hardware reset at probe time.
14+
- adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
15+
the ADAU's PLL config pins are connected to.
16+
The state of the pins are set according to the
17+
configured clock divider on ASoC side before the
18+
firmware is loaded.
19+
- adi,pin-config: An array of 12 numerical values selecting one of the
20+
pin configurations as described in the datasheet,
21+
table 53. Note that the value of this property has
22+
to be prefixed with '/bits/ 8'.
1423

1524
Examples:
1625

@@ -19,5 +28,8 @@ Examples:
1928
compatible = "adi,adau1701";
2029
reg = <0x34>;
2130
reset-gpio = <&gpio 23 0>;
31+
adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>;
32+
adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4
33+
0x4 0x4 0x4 0x4 0x4 0x4>;
2234
};
2335
};

‎Documentation/devicetree/bindings/sound/ti,tas5086.txt‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Optional properties:
2020
When not specified, the hardware default of 1300ms
2121
is retained.
2222

23+
- ti,mid-z-channel-X: Boolean properties, X being a number from 1 to 6.
24+
If given, channel X will start with the Mid-Z start
25+
sequence, otherwise the default Low-Z scheme is used.
26+
27+
The correct configuration depends on how the power
28+
stages connected to the PWM output pins work. Not all
29+
power stages are compatible to Mid-Z - please refer
30+
to the datasheets for more details.
31+
32+
Most systems should not set any of these properties.
33+
2334
Examples:
2435

2536
i2c_bus {

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 10
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc6
4+
EXTRAVERSION = -rc7
55
NAME = Unicycling Gorilla
66

77
# *DOCUMENTATION*

‎arch/arm/Kconfig‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,16 @@ config PL310_ERRATA_588369
11891189
is not correctly implemented in PL310 as clean lines are not
11901190
invalidated as a result of these operations.
11911191

1192+
config ARM_ERRATA_643719
1193+
bool "ARM errata: LoUIS bit field in CLIDR register is incorrect"
1194+
depends on CPU_V7 && SMP
1195+
help
1196+
This option enables the workaround for the 643719 Cortex-A9 (prior to
1197+
r1p0) erratum. On affected cores the LoUIS bit field of the CLIDR
1198+
register returns zero when it should return one. The workaround
1199+
corrects this value, ensuring cache maintenance operations which use
1200+
it behave as intended and avoiding data corruption.
1201+
11921202
config ARM_ERRATA_720789
11931203
bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
11941204
depends on CPU_V7
@@ -2006,7 +2016,7 @@ config XIP_PHYS_ADDR
20062016

20072017
config KEXEC
20082018
bool "Kexec system call (EXPERIMENTAL)"
2009-
depends on (!SMP || HOTPLUG_CPU)
2019+
depends on (!SMP || PM_SLEEP_SMP)
20102020
help
20112021
kexec is a system call that implements the ability to shutdown your
20122022
current kernel, and to start another kernel. It is like a reboot

‎arch/arm/boot/compressed/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ targets := vmlinux vmlinux.lds \
116116

117117
# Make sure files are removed during clean
118118
extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern \
119-
lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs)
119+
lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs) \
120+
hyp-stub.S
120121

121122
ifeq ($(CONFIG_FUNCTION_TRACER),y)
122123
ORIG_CFLAGS := $(KBUILD_CFLAGS)

‎arch/arm/boot/dts/exynos5250-pinctrl.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@
763763
};
764764
};
765765

766-
pinctrl@03680000 {
766+
pinctrl@03860000 {
767767
gpz: gpz {
768768
gpio-controller;
769769
#gpio-cells = <2>;

‎arch/arm/boot/dts/exynos5250.dtsi‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@
161161
interrupts = <0 50 0>;
162162
};
163163

164-
pinctrl_3: pinctrl@03680000 {
164+
pinctrl_3: pinctrl@03860000 {
165165
compatible = "samsung,exynos5250-pinctrl";
166-
reg = <0x0368000 0x1000>;
166+
reg = <0x03860000 0x1000>;
167167
interrupts = <0 47 0>;
168168
};
169169

0 commit comments

Comments
 (0)