Skip to content

Commit 0799f6b

Browse files
authored
Merge pull request #2425 from kv2019i/merge/sound-upstream-20200909
Merge/sound upstream 20200909
2 parents 6cac5f6 + 9f043a2 commit 0799f6b

File tree

394 files changed

+3751
-1946
lines changed

Some content is hidden

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

394 files changed

+3751
-1946
lines changed

.clang-format

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ ForEachMacros:
111111
- 'css_for_each_descendant_pre'
112112
- 'device_for_each_child_node'
113113
- 'dma_fence_chain_for_each'
114+
- 'do_for_each_ftrace_op'
114115
- 'drm_atomic_crtc_for_each_plane'
115116
- 'drm_atomic_crtc_state_for_each_plane'
116117
- 'drm_atomic_crtc_state_for_each_plane_state'
@@ -136,6 +137,7 @@ ForEachMacros:
136137
- 'for_each_active_dev_scope'
137138
- 'for_each_active_drhd_unit'
138139
- 'for_each_active_iommu'
140+
- 'for_each_aggr_pgid'
139141
- 'for_each_available_child_of_node'
140142
- 'for_each_bio'
141143
- 'for_each_board_func_rsrc'
@@ -234,6 +236,7 @@ ForEachMacros:
234236
- 'for_each_node_state'
235237
- 'for_each_node_with_cpus'
236238
- 'for_each_node_with_property'
239+
- 'for_each_nonreserved_multicast_dest_pgid'
237240
- 'for_each_of_allnodes'
238241
- 'for_each_of_allnodes_from'
239242
- 'for_each_of_cpu_node'
@@ -256,6 +259,7 @@ ForEachMacros:
256259
- 'for_each_pci_dev'
257260
- 'for_each_pci_msi_entry'
258261
- 'for_each_pcm_streams'
262+
- 'for_each_physmem_range'
259263
- 'for_each_populated_zone'
260264
- 'for_each_possible_cpu'
261265
- 'for_each_present_cpu'
@@ -265,6 +269,8 @@ ForEachMacros:
265269
- 'for_each_process_thread'
266270
- 'for_each_property_of_node'
267271
- 'for_each_registered_fb'
272+
- 'for_each_requested_gpio'
273+
- 'for_each_requested_gpio_in_range'
268274
- 'for_each_reserved_mem_region'
269275
- 'for_each_rtd_codec_dais'
270276
- 'for_each_rtd_codec_dais_rollback'
@@ -278,12 +284,17 @@ ForEachMacros:
278284
- 'for_each_sg'
279285
- 'for_each_sg_dma_page'
280286
- 'for_each_sg_page'
287+
- 'for_each_sgtable_dma_page'
288+
- 'for_each_sgtable_dma_sg'
289+
- 'for_each_sgtable_page'
290+
- 'for_each_sgtable_sg'
281291
- 'for_each_sibling_event'
282292
- 'for_each_subelement'
283293
- 'for_each_subelement_extid'
284294
- 'for_each_subelement_id'
285295
- '__for_each_thread'
286296
- 'for_each_thread'
297+
- 'for_each_unicast_dest_pgid'
287298
- 'for_each_wakeup_source'
288299
- 'for_each_zone'
289300
- 'for_each_zone_zonelist'
@@ -464,6 +475,7 @@ ForEachMacros:
464475
- 'v4l2_m2m_for_each_src_buf'
465476
- 'v4l2_m2m_for_each_src_buf_safe'
466477
- 'virtio_device_for_each_vq'
478+
- 'while_for_each_ftrace_op'
467479
- 'xa_for_each'
468480
- 'xa_for_each_marked'
469481
- 'xa_for_each_range'

Documentation/RCU/lockdep.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ checking of rcu_dereference() primitives:
4949
is invoked by both RCU-sched readers and updaters.
5050
srcu_dereference_check(p, c):
5151
Use explicit check expression "c" along with
52-
srcu_read_lock_held()(). This is useful in code that
52+
srcu_read_lock_held(). This is useful in code that
5353
is invoked by both SRCU readers and updaters.
5454
rcu_dereference_raw(p):
5555
Don't check. (Use sparingly, if at all.)

Documentation/admin-guide/devices.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,7 @@
16621662

16631663
98 block User-mode virtual block device
16641664
0 = /dev/ubda First user-mode block device
1665-
16 = /dev/udbb Second user-mode block device
1665+
16 = /dev/ubdb Second user-mode block device
16661666
...
16671667

16681668
Partitions are handled in the same way as for IDE

Documentation/admin-guide/laptops/thinkpad-acpi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ on the feature, restricting the viewing angles.
14341434

14351435

14361436
DYTC Lapmode sensor
1437-
------------------
1437+
-------------------
14381438

14391439
sysfs: dytc_lapmode
14401440

Documentation/admin-guide/pm/intel_pstate.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ Energy-Performance Bias (EPB) knob (otherwise), which means that the processor's
123123
internal P-state selection logic is expected to focus entirely on performance.
124124

125125
This will override the EPP/EPB setting coming from the ``sysfs`` interface
126-
(see `Energy vs Performance Hints`_ below).
126+
(see `Energy vs Performance Hints`_ below). Moreover, any attempts to change
127+
the EPP/EPB to a value different from 0 ("performance") via ``sysfs`` in this
128+
configuration will be rejected.
127129

128130
Also, in this configuration the range of P-states available to the processor's
129131
internal P-state selection logic is always restricted to the upper boundary

Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ allOf:
3030
then:
3131
properties:
3232
clock-output-names:
33-
items:
34-
- const: clk_out_sd0
35-
- const: clk_in_sd0
33+
oneOf:
34+
- items:
35+
- const: clk_out_sd0
36+
- const: clk_in_sd0
37+
- items:
38+
- const: clk_out_sd1
39+
- const: clk_in_sd1
3640

3741
properties:
3842
compatible:

Documentation/devicetree/bindings/mmc/mtk-sd.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Optional properties:
5050
error caused by stop clock(fifo full)
5151
Valid range = [0:0x7]. if not present, default value is 0.
5252
applied to compatible "mediatek,mt2701-mmc".
53+
- resets: Phandle and reset specifier pair to softreset line of MSDC IP.
54+
- reset-names: Should be "hrst".
5355

5456
Examples:
5557
mmc0: mmc@11230000 {

Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ Required properties:
1515
- "nvidia,tegra210-sdhci": for Tegra210
1616
- "nvidia,tegra186-sdhci": for Tegra186
1717
- "nvidia,tegra194-sdhci": for Tegra194
18-
- clocks : Must contain one entry, for the module clock.
19-
See ../clocks/clock-bindings.txt for details.
18+
- clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries.
19+
One for the module clock and one for the timeout clock.
20+
For all other Tegra devices, must contain a single entry for
21+
the module clock. See ../clocks/clock-bindings.txt for details.
22+
- clock-names: For Tegra210, Tegra186 and Tegra194 must contain the
23+
strings 'sdhci' and 'tmclk' to represent the module and
24+
the timeout clocks, respectively.
25+
For all other Tegra devices must contain the string 'sdhci'
26+
to represent the module clock.
2027
- resets : Must contain an entry for each entry in reset-names.
2128
See ../reset/reset.txt for details.
2229
- reset-names : Must include the following entries:
@@ -99,7 +106,7 @@ Optional properties for Tegra210, Tegra186 and Tegra194:
99106

100107
Example:
101108
sdhci@700b0000 {
102-
compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
109+
compatible = "nvidia,tegra124-sdhci";
103110
reg = <0x0 0x700b0000 0x0 0x200>;
104111
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
105112
clocks = <&tegra_car TEGRA210_CLK_SDMMC1>;
@@ -115,3 +122,22 @@ sdhci@700b0000 {
115122
nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>;
116123
status = "disabled";
117124
};
125+
126+
sdhci@700b0000 {
127+
compatible = "nvidia,tegra210-sdhci";
128+
reg = <0x0 0x700b0000 0x0 0x200>;
129+
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
130+
clocks = <&tegra_car TEGRA210_CLK_SDMMC1>,
131+
<&tegra_car TEGRA210_CLK_SDMMC_LEGACY>;
132+
clock-names = "sdhci", "tmclk";
133+
resets = <&tegra_car 14>;
134+
reset-names = "sdhci";
135+
pinctrl-names = "sdmmc-3v3", "sdmmc-1v8";
136+
pinctrl-0 = <&sdmmc1_3v3>;
137+
pinctrl-1 = <&sdmmc1_1v8>;
138+
nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>;
139+
nvidia,pad-autocal-pull-down-offset-3v3 = <0x7d>;
140+
nvidia,pad-autocal-pull-up-offset-1v8 = <0x7b>;
141+
nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>;
142+
status = "disabled";
143+
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Distributed Switch Architecture Device Tree Bindings
22
----------------------------------------------------
33

4-
See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documenation.
4+
See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documentation.

Documentation/devicetree/bindings/sound/qcom,apq8016-sbc.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ Required properties:
3434
* DMIC
3535
* Ext Spk
3636

37+
Optional properties:
38+
39+
- aux-devs : A list of phandles for auxiliary devices (e.g. analog
40+
amplifiers) that do not appear directly within the DAI
41+
links. Should be connected to another audio component
42+
using "qcom,audio-routing".
43+
3744
Dai-link subnode properties and subnodes:
3845

3946
Required dai-link subnodes:

0 commit comments

Comments
 (0)