Skip to content

Commit 242f66c

Browse files
committed
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic/amd' and 'asoc/topic/arizona-mfd' into asoc-next
5 parents 357c59a + 6f8acad + ae9d1b5 + 31c45b3 + 0340afe commit 242f66c

43 files changed

Lines changed: 2678 additions & 672 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/mfd/arizona.txt‎

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -65,45 +65,6 @@ Optional properties:
6565
a value that is out of range for a 16 bit register then the chip default
6666
will be used. If present exactly five values must be specified.
6767

68-
- wlf,inmode : A list of INn_MODE register values, where n is the number
69-
of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
70-
2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
71-
If present, values must be specified less than or equal to the number of
72-
input signals. If values less than the number of input signals, elements
73-
that have not been specified are set to 0 by default. Entries are:
74-
<IN1, IN2, IN3, IN4> (wm5102, wm5110, wm8280, wm8997)
75-
<IN1A, IN2A, IN1B, IN2B> (wm8998, wm1814)
76-
- wlf,out-mono : A list of boolean values indicating whether each output is
77-
mono or stereo. Position within the list indicates the output affected
78-
(eg. First entry in the list corresponds to output 1). A non-zero value
79-
indicates a mono output. If present, the number of values should be less
80-
than or equal to the number of outputs, if less values are supplied the
81-
additional outputs will be treated as stereo.
82-
83-
- wlf,dmic-ref : DMIC reference voltage source for each input, can be
84-
selected from either MICVDD or one of the MICBIAS's, defines
85-
(ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
86-
present, the number of values should be less than or equal to the
87-
number of inputs, unspecified inputs will use the chip default.
88-
89-
- wlf,max-channels-clocked : The maximum number of channels to be clocked on
90-
each AIF, useful for I2S systems with multiple data lines being mastered.
91-
Specify one cell for each AIF to be configured, specify zero for AIFs that
92-
should be handled normally.
93-
If present, number of cells must be less than or equal to the number of
94-
AIFs. If less than the number of AIFs, for cells that have not been
95-
specified the corresponding AIFs will be treated as default setting.
96-
97-
- wlf,spk-fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).
98-
See the datasheet for values.
99-
The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
100-
wm8998, wm1814)
101-
102-
- wlf,spk-mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
103-
See the datasheet for values.
104-
The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
105-
wm8998, wm1814)
106-
10768
- DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
10869
they are being externally supplied. As covered in
10970
Documentation/devicetree/bindings/regulator/regulator.txt
@@ -112,6 +73,7 @@ Optional properties:
11273
Also see child specific device properties:
11374
Regulator - ../regulator/arizona-regulator.txt
11475
Extcon - ../extcon/extcon-arizona.txt
76+
Sound - ../sound/arizona.txt
11577

11678
Example:
11779

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Cirrus Logic Arizona class audio SoCs
2+
3+
These devices are audio SoCs with extensive digital capabilities and a range
4+
of analogue I/O.
5+
6+
This document lists sound specific bindings, see the primary binding
7+
document:
8+
../mfd/arizona.txt
9+
10+
Optional properties:
11+
12+
- wlf,inmode : A list of INn_MODE register values, where n is the number
13+
of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
14+
2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
15+
If present, values must be specified less than or equal to the number of
16+
input signals. If values less than the number of input signals, elements
17+
that have not been specified are set to 0 by default. Entries are:
18+
<IN1, IN2, IN3, IN4> (wm5102, wm5110, wm8280, wm8997)
19+
<IN1A, IN2A, IN1B, IN2B> (wm8998, wm1814)
20+
- wlf,out-mono : A list of boolean values indicating whether each output is
21+
mono or stereo. Position within the list indicates the output affected
22+
(eg. First entry in the list corresponds to output 1). A non-zero value
23+
indicates a mono output. If present, the number of values should be less
24+
than or equal to the number of outputs, if less values are supplied the
25+
additional outputs will be treated as stereo.
26+
27+
- wlf,dmic-ref : DMIC reference voltage source for each input, can be
28+
selected from either MICVDD or one of the MICBIAS's, defines
29+
(ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
30+
present, the number of values should be less than or equal to the
31+
number of inputs, unspecified inputs will use the chip default.
32+
33+
- wlf,max-channels-clocked : The maximum number of channels to be clocked on
34+
each AIF, useful for I2S systems with multiple data lines being mastered.
35+
Specify one cell for each AIF to be configured, specify zero for AIFs that
36+
should be handled normally.
37+
If present, number of cells must be less than or equal to the number of
38+
AIFs. If less than the number of AIFs, for cells that have not been
39+
specified the corresponding AIFs will be treated as default setting.
40+
41+
- wlf,spk-fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).
42+
See the datasheet for values.
43+
The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
44+
wm8998, wm1814)
45+
46+
- wlf,spk-mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
47+
See the datasheet for values.
48+
The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
49+
wm8998, wm1814)
50+
51+
- wlf,out-volume-limit : The volume limit value that should be applied to each
52+
output channel. See the datasheet for exact values. Channels are specified
53+
in the order OUT1L, OUT1R, OUT2L, OUT2R, etc.

‎MAINTAINERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14597,6 +14597,7 @@ F: Documentation/devicetree/bindings/extcon/extcon-arizona.txt
1459714597
F: Documentation/devicetree/bindings/regulator/arizona-regulator.txt
1459814598
F: Documentation/devicetree/bindings/mfd/arizona.txt
1459914599
F: Documentation/devicetree/bindings/mfd/wm831x.txt
14600+
F: Documentation/devicetree/bindings/sound/wlf,arizona.txt
1460014601
F: arch/arm/mach-s3c64xx/mach-crag6410*
1460114602
F: drivers/clk/clk-wm83*.c
1460214603
F: drivers/extcon/extcon-arizona.c

‎drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ static int acp_hw_init(void *handle)
371371
adev->acp.acp_cell[0].name = "acp_audio_dma";
372372
adev->acp.acp_cell[0].num_resources = 4;
373373
adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0];
374+
adev->acp.acp_cell[0].platform_data = &adev->asic_type;
375+
adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type);
374376

375377
adev->acp.acp_cell[1].name = "designware-i2s";
376378
adev->acp.acp_cell[1].num_resources = 1;

‎drivers/gpu/drm/amd/include/amd_shared.h‎

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,34 +23,9 @@
2323
#ifndef __AMD_SHARED_H__
2424
#define __AMD_SHARED_H__
2525

26-
#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */
26+
#include <drm/amd_asic_type.h>
2727

28-
/*
29-
* Supported ASIC types
30-
*/
31-
enum amd_asic_type {
32-
CHIP_TAHITI = 0,
33-
CHIP_PITCAIRN,
34-
CHIP_VERDE,
35-
CHIP_OLAND,
36-
CHIP_HAINAN,
37-
CHIP_BONAIRE,
38-
CHIP_KAVERI,
39-
CHIP_KABINI,
40-
CHIP_HAWAII,
41-
CHIP_MULLINS,
42-
CHIP_TOPAZ,
43-
CHIP_TONGA,
44-
CHIP_FIJI,
45-
CHIP_CARRIZO,
46-
CHIP_STONEY,
47-
CHIP_POLARIS10,
48-
CHIP_POLARIS11,
49-
CHIP_POLARIS12,
50-
CHIP_VEGA10,
51-
CHIP_RAVEN,
52-
CHIP_LAST,
53-
};
28+
#define AMD_MAX_USEC_TIMEOUT 200000 /* 200 ms */
5429

5530
/*
5631
* Chip flags

‎drivers/input/touchscreen/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ config TOUCHSCREEN_WM831X
727727

728728
config TOUCHSCREEN_WM97XX
729729
tristate "Support for WM97xx AC97 touchscreen controllers"
730-
depends on AC97_BUS
730+
depends on AC97_BUS || AC97_BUS_NEW
731731
help
732732
Say Y here if you have a Wolfson Microelectronics WM97xx
733733
touchscreen connected to your system. Note that this option

0 commit comments

Comments
 (0)