Skip to content

Commit 5b65120

Browse files
committed
ASoC: codecs: pcm1754: add pcm1754 dac driver
Merge series from Stefan Kerkmann <s.kerkmann@pengutronix.de>: Add a CODEC driver for the TI PCM1754.
2 parents 8d7de4a + 1217b57 commit 5b65120

608 files changed

Lines changed: 7851 additions & 3250 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.

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ Nikolay Aleksandrov <razor@blackwall.org> <nikolay@redhat.com>
589589
Nikolay Aleksandrov <razor@blackwall.org> <nikolay@cumulusnetworks.com>
590590
Nikolay Aleksandrov <razor@blackwall.org> <nikolay@nvidia.com>
591591
Nikolay Aleksandrov <razor@blackwall.org> <nikolay@isovalent.com>
592+
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba> <nobuhiro1.iwamatsu@toshiba.co.jp>
592593
Odelu Kukatla <quic_okukatla@quicinc.com> <okukatla@codeaurora.org>
593594
Oleksandr Natalenko <oleksandr@natalenko.name> <oleksandr@redhat.com>
594595
Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net>

CREDITS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3222,6 +3222,10 @@ D: AIC5800 IEEE 1394, RAW I/O on 1394
32223222
D: Starter of Linux1394 effort
32233223
S: ask per mail for current address
32243224

3225+
N: Boris Pismenny
3226+
E: borisp@mellanox.com
3227+
D: Kernel TLS implementation and offload support.
3228+
32253229
N: Nicolas Pitre
32263230
E: nico@fluxnic.net
32273231
D: StrongARM SA1100 support integrator & hacker
@@ -4168,6 +4172,9 @@ S: 1513 Brewster Dr.
41684172
S: Carrollton, TX 75010
41694173
S: USA
41704174

4175+
N: Dave Watson
4176+
D: Kernel TLS implementation.
4177+
41714178
N: Tim Waugh
41724179
E: tim@cyberelk.net
41734180
D: Co-architect of the parallel-port sharing system

Documentation/admin-guide/hw-vuln/attack_vector_controls.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Spectre_v2 X X
215215
Spectre_v2_user X X * (Note 1)
216216
SRBDS X X X X
217217
SRSO X X X X
218-
SSB (Note 4)
218+
SSB X
219219
TAA X X X X * (Note 2)
220220
TSA X X X X
221221
=============== ============== ============ ============= ============== ============ ========
@@ -229,9 +229,6 @@ Notes:
229229
3 -- Disables SMT if cross-thread mitigations are fully enabled, the CPU is
230230
vulnerable, and STIBP is not supported
231231

232-
4 -- Speculative store bypass is always enabled by default (no kernel
233-
mitigation applied) unless overridden with spec_store_bypass_disable option
234-
235232
When an attack-vector is disabled, all mitigations for the vulnerabilities
236233
listed in the above table are disabled, unless mitigation is required for a
237234
different enabled attack-vector or a mitigation is explicitly selected via a

Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ properties:
6060
- const: bus
6161
- const: core
6262
- const: vsync
63-
- const: lut
6463
- const: tbu
6564
- const: tbu_rt
6665
# MSM8996 has additional iommu clock
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/ti,pcm1754.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Texas Instruments PCM1754 Stereo DAC
8+
9+
description:
10+
The PCM1754 is a simple stereo DAC that is controlled via hardware gpios.
11+
12+
maintainers:
13+
- Stefan Kerkmann <s.kerkmann@pengutronix.de>
14+
15+
allOf:
16+
- $ref: dai-common.yaml#
17+
18+
properties:
19+
compatible:
20+
enum:
21+
- ti,pcm1754
22+
23+
vcc-supply: true
24+
25+
'#sound-dai-cells':
26+
const: 0
27+
28+
format-gpios:
29+
maxItems: 1
30+
description:
31+
GPIO used to select the PCM format
32+
33+
mute-gpios:
34+
maxItems: 1
35+
description:
36+
GPIO used to mute all outputs
37+
38+
required:
39+
- compatible
40+
- '#sound-dai-cells'
41+
- vcc-supply
42+
43+
additionalProperties: false
44+
45+
examples:
46+
- |
47+
#include <dt-bindings/gpio/gpio.h>
48+
codec {
49+
compatible = "ti,pcm1754";
50+
#sound-dai-cells = <0>;
51+
52+
vcc-supply = <&vcc_reg>;
53+
mute-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
54+
format-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
55+
};

Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ properties:
2020
- enum:
2121
- fsl,imx7ulp-spi
2222
- fsl,imx8qxp-spi
23+
- nxp,s32g2-lpspi
2324
- items:
2425
- enum:
2526
- fsl,imx8ulp-spi
2627
- fsl,imx93-spi
2728
- fsl,imx94-spi
2829
- fsl,imx95-spi
2930
- const: fsl,imx7ulp-spi
31+
- items:
32+
- const: nxp,s32g3-lpspi
33+
- const: nxp,s32g2-lpspi
34+
3035
reg:
3136
maxItems: 1
3237

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,8 @@ patternProperties:
507507
description: Espressif Systems Co. Ltd.
508508
"^est,.*":
509509
description: ESTeem Wireless Modems
510+
"^eswin,.*":
511+
description: Beijing ESWIN Technology Group Co. Ltd.
510512
"^ettus,.*":
511513
description: NI Ettus Research
512514
"^eukrea,.*":

Documentation/networking/napi.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,8 @@ Threaded NAPI
433433

434434
Threaded NAPI is an operating mode that uses dedicated kernel
435435
threads rather than software IRQ context for NAPI processing.
436-
The configuration is per netdevice and will affect all
437-
NAPI instances of that device. Each NAPI instance will spawn a separate
438-
thread (called ``napi/${ifc-name}-${napi-id}``).
436+
Each threaded NAPI instance will spawn a separate thread
437+
(called ``napi/${ifc-name}-${napi-id}``).
439438

440439
It is recommended to pin each kernel thread to a single CPU, the same
441440
CPU as the CPU which services the interrupt. Note that the mapping

Documentation/sound/alsa-configuration.rst

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,8 +2253,15 @@ device_setup
22532253
Default: 0x0000
22542254
ignore_ctl_error
22552255
Ignore any USB-controller regarding mixer interface (default: no)
2256+
``ignore_ctl_error=1`` may help when you get an error at accessing
2257+
the mixer element such as URB error -22. This happens on some
2258+
buggy USB device or the controller. This workaround corresponds to
2259+
the ``quirk_flags`` bit 14, too.
22562260
autoclock
22572261
Enable auto-clock selection for UAC2 devices (default: yes)
2262+
lowlatency
2263+
Enable low latency playback mode (default: yes).
2264+
Could disable it to switch back to the old mode if face a regression.
22582265
quirk_alias
22592266
Quirk alias list, pass strings like ``0123abcd:5678beef``, which
22602267
applies the existing quirk for the device 5678:beef to a new
@@ -2284,6 +2291,11 @@ delayed_register
22842291
The driver prints a message like "Found post-registration device
22852292
assignment: 1234abcd:04" for such a device, so that user can
22862293
notice the need.
2294+
skip_validation
2295+
Skip unit descriptor validation (default: no).
2296+
The option is used to ignores the validation errors with the hexdump
2297+
of the unit descriptor instead of a driver probe error, so that we
2298+
can check its details.
22872299
quirk_flags
22882300
Contains the bit flags for various device specific workarounds.
22892301
Applied to the corresponding card index.
@@ -2307,17 +2319,26 @@ quirk_flags
23072319
* bit 16: Set up the interface at first like UAC1
23082320
* bit 17: Apply the generic implicit feedback sync mode
23092321
* bit 18: Don't apply implicit feedback sync mode
2322+
* bit 19: Don't closed interface during setting sample rate
2323+
* bit 20: Force an interface reset whenever stopping & restarting
2324+
a stream
2325+
* bit 21: Do not set PCM rate (frequency) when only one rate is
2326+
available for the given endpoint.
2327+
* bit 22: Set the fixed resolution 16 for Mic Capture Volume
2328+
* bit 23: Set the fixed resolution 384 for Mic Capture Volume
2329+
* bit 24: Set minimum volume control value as mute for devices
2330+
where the lowest playback value represents muted state instead
2331+
of minimum audible volume
23102332

23112333
This module supports multiple devices, autoprobe and hotplugging.
23122334

23132335
NB: ``nrpacks`` parameter can be modified dynamically via sysfs.
23142336
Don't put the value over 20. Changing via sysfs has no sanity
23152337
check.
23162338

2317-
NB: ``ignore_ctl_error=1`` may help when you get an error at accessing
2318-
the mixer element such as URB error -22. This happens on some
2319-
buggy USB device or the controller. This workaround corresponds to
2320-
the ``quirk_flags`` bit 14, too.
2339+
NB: ``ignore_ctl_error=1`` just provides a quick way to work around the
2340+
issues. If you have a buggy device that requires these quirks, please
2341+
report it to the upstream.
23212342

23222343
NB: ``quirk_alias`` option is provided only for testing / development.
23232344
If you want to have a proper support, contact to upstream for

MAINTAINERS

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -931,13 +931,13 @@ F: Documentation/devicetree/bindings/dma/altr,msgdma.yaml
931931
F: drivers/dma/altera-msgdma.c
932932

933933
ALTERA PIO DRIVER
934-
M: Mun Yew Tham <mun.yew.tham@intel.com>
934+
M: Adrian Ng <adrianhoyin.ng@altera.com>
935935
L: linux-gpio@vger.kernel.org
936936
S: Maintained
937937
F: drivers/gpio/gpio-altera.c
938938

939939
ALTERA TRIPLE SPEED ETHERNET DRIVER
940-
M: Joyce Ooi <joyce.ooi@intel.com>
940+
M: Boon Khai Ng <boon.khai.ng@altera.com>
941941
L: netdev@vger.kernel.org
942942
S: Maintained
943943
F: drivers/net/ethernet/altera/
@@ -3526,7 +3526,7 @@ F: Documentation/devicetree/bindings/arm/ti/nspire.yaml
35263526
F: arch/arm/boot/dts/nspire/
35273527

35283528
ARM/TOSHIBA VISCONTI ARCHITECTURE
3529-
M: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
3529+
M: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba>
35303530
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
35313531
S: Supported
35323532
T: git git://git.kernel.org/pub/scm/linux/kernel/git/iwamatsu/linux-visconti.git
@@ -3667,6 +3667,7 @@ F: drivers/virt/coco/arm-cca-guest/
36673667
F: drivers/virt/coco/pkvm-guest/
36683668
F: tools/testing/selftests/arm64/
36693669
X: arch/arm64/boot/dts/
3670+
X: arch/arm64/configs/defconfig
36703671

36713672
ARROW SPEEDCHIPS XRS7000 SERIES ETHERNET SWITCH DRIVER
36723673
M: George McCollister <george.mccollister@gmail.com>
@@ -4205,7 +4206,7 @@ W: http://www.baycom.org/~tom/ham/ham.html
42054206
F: drivers/net/hamradio/baycom*
42064207

42074208
BCACHE (BLOCK LAYER CACHE)
4208-
M: Coly Li <colyli@kernel.org>
4209+
M: Coly Li <colyli@fnnas.com>
42094210
M: Kent Overstreet <kent.overstreet@linux.dev>
42104211
L: linux-bcache@vger.kernel.org
42114212
S: Maintained
@@ -4216,7 +4217,7 @@ F: drivers/md/bcache/
42164217
BCACHEFS
42174218
M: Kent Overstreet <kent.overstreet@linux.dev>
42184219
L: linux-bcachefs@vger.kernel.org
4219-
S: Supported
4220+
S: Externally maintained
42204221
C: irc://irc.oftc.net/bcache
42214222
P: Documentation/filesystems/bcachefs/SubmittingPatches.rst
42224223
T: git https://evilpiepirate.org/git/bcachefs.git
@@ -7820,7 +7821,7 @@ Q: https://patchwork.freedesktop.org/project/nouveau/
78207821
Q: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests
78217822
B: https://gitlab.freedesktop.org/drm/nouveau/-/issues
78227823
C: irc://irc.oftc.net/nouveau
7823-
T: git https://gitlab.freedesktop.org/drm/nouveau.git
7824+
T: git https://gitlab.freedesktop.org/drm/misc/kernel.git
78247825
F: drivers/gpu/drm/nouveau/
78257826
F: include/uapi/drm/nouveau_drm.h
78267827

@@ -10396,7 +10397,7 @@ S: Maintained
1039610397
F: drivers/input/touchscreen/goodix*
1039710398

1039810399
GOOGLE ETHERNET DRIVERS
10399-
M: Jeroen de Borst <jeroendb@google.com>
10400+
M: Joshua Washington <joshwash@google.com>
1040010401
M: Harshitha Ramamurthy <hramamurthy@google.com>
1040110402
L: netdev@vger.kernel.org
1040210403
S: Maintained
@@ -17856,9 +17857,9 @@ F: net/ipv6/syncookies.c
1785617857
F: net/ipv6/tcp*.c
1785717858

1785817859
NETWORKING [TLS]
17859-
M: Boris Pismenny <borisp@nvidia.com>
1786017860
M: John Fastabend <john.fastabend@gmail.com>
1786117861
M: Jakub Kicinski <kuba@kernel.org>
17862+
M: Sabrina Dubroca <sd@queasysnail.net>
1786217863
L: netdev@vger.kernel.org
1786317864
S: Maintained
1786417865
F: include/net/tls.h
@@ -20886,8 +20887,8 @@ S: Maintained
2088620887
F: drivers/firmware/qcom/qcom_qseecom_uefisecapp.c
2088720888

2088820889
QUALCOMM RMNET DRIVER
20889-
M: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
20890-
M: Sean Tranchetti <quic_stranche@quicinc.com>
20890+
M: Subash Abhinov Kasiviswanathan <subash.a.kasiviswanathan@oss.qualcomm.com>
20891+
M: Sean Tranchetti <sean.tranchetti@oss.qualcomm.com>
2089120892
L: netdev@vger.kernel.org
2089220893
S: Maintained
2089320894
F: Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst
@@ -24261,6 +24262,12 @@ S: Maintained
2426124262
F: Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
2426224263
F: drivers/input/keyboard/sun4i-lradc-keys.c
2426324264

24265+
SUNDANCE NETWORK DRIVER
24266+
M: Denis Kirjanov <dkirjanov@suse.de>
24267+
L: netdev@vger.kernel.org
24268+
S: Maintained
24269+
F: drivers/net/ethernet/dlink/sundance.c
24270+
2426424271
SUNPLUS ETHERNET DRIVER
2426524272
M: Wells Lu <wellslutw@gmail.com>
2426624273
L: netdev@vger.kernel.org

0 commit comments

Comments
 (0)