Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/for-6.13' into asoc-next
Browse files Browse the repository at this point in the history
  • Loading branch information
broonie committed Oct 23, 2024
2 parents db7e59e + a77e6c1 commit e25169f
Show file tree
Hide file tree
Showing 240 changed files with 8,146 additions and 5,410 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/sound/audio-graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ properties:
pa-gpios:
maxItems: 1
hp-det-gpio:
deprecated: true
maxItems: 1
hp-det-gpios:
maxItems: 1
mic-det-gpio:
deprecated: true
maxItems: 1
mic-det-gpios:
maxItems: 1

required:
Expand Down
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/sound/everest,es8316.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
$id: http://devicetree.org/schemas/sound/everest,es8316.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Everest ES8311 and ES8316 audio CODECs
title: Everest ES8311, ES8316 and ES8323 audio CODECs

maintainers:
- Daniel Drake <drake@endlessm.com>
- Katsuhiro Suzuki <katsuhiro@katsuster.net>
- Matteo Martelli <matteomartelli3@gmail.com>
- Binbin Zhou <zhoubinbin@loongson.cn>

allOf:
- $ref: dai-common.yaml#
Expand All @@ -19,6 +20,7 @@ properties:
enum:
- everest,es8311
- everest,es8316
- everest,es8323

reg:
maxItems: 1
Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/sound/everest,es8328.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ properties:
HPVDD-supply:
description: Regulator providing analog output voltage 3.3V

port:
$ref: audio-graph-port.yaml#
unevaluatedProperties: false

required:
- compatible
- clocks
Expand Down
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/sound/fsl,esai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ properties:
- const: rx
- const: tx

power-domains:
maxItems: 1

fsl,fifo-depth:
$ref: /schemas/types.yaml#/definitions/uint32
default: 64
Expand Down Expand Up @@ -101,6 +104,17 @@ unevaluatedProperties: false

allOf:
- $ref: dai-common.yaml#
- if:
properties:
compatible:
contains:
const: fsl,imx8qm-esai
then:
required:
- power-domains
else:
properties:
power-domains: false

examples:
- |
Expand Down
20 changes: 0 additions & 20 deletions Documentation/devicetree/bindings/sound/inno-rk3036.txt

This file was deleted.

68 changes: 68 additions & 0 deletions Documentation/devicetree/bindings/sound/loongson,ls2k1000-i2s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/loongson,ls2k1000-i2s.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Loongson-2K1000 I2S controller

maintainers:
- Binbin Zhou <zhoubinbin@loongson.cn>

allOf:
- $ref: dai-common.yaml#

properties:
compatible:
const: loongson,ls2k1000-i2s

reg:
items:
- description: Loongson I2S controller Registers.
- description: APB DMA config register for Loongson I2S controller.

interrupts:
maxItems: 1

clocks:
maxItems: 1

dmas:
maxItems: 2

dma-names:
items:
- const: tx
- const: rx

'#sound-dai-cells':
const: 0

required:
- compatible
- reg
- interrupts
- clocks
- dmas
- dma-names
- '#sound-dai-cells'

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/loongson,ls2k-clk.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2s@1fe2d000 {
compatible = "loongson,ls2k1000-i2s";
reg = <0x1fe2d000 0x14>,
<0x1fe00438 0x8>;
interrupt-parent = <&liointc0>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk LOONGSON2_APB_CLK>;
dmas = <&apbdma2 0>, <&apbdma3 0>;
dma-names = "tx", "rx";
#sound-dai-cells = <0>;
};
...
10 changes: 5 additions & 5 deletions Documentation/devicetree/bindings/sound/mt6359.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ properties:
Indicates how many data pins are used to transmit two channels of PDM
signal. 0 means two wires, 1 means one wire. Default value is 0.
enum:
- 0 # one wire
- 1 # two wires
- 0 # two wires
- 1 # one wire

mediatek,mic-type-0:
$ref: /schemas/types.yaml#/definitions/uint32
Expand Down Expand Up @@ -53,9 +53,9 @@ additionalProperties: false

examples:
- |
mt6359codec: mt6359codec {
mediatek,dmic-mode = <0>;
mediatek,mic-type-0 = <2>;
mt6359codec: audio-codec {
mediatek,dmic-mode = <0>;
mediatek,mic-type-0 = <2>;
};
...
73 changes: 73 additions & 0 deletions Documentation/devicetree/bindings/sound/neofidelity,ntp8835.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/neofidelity,ntp8835.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NeoFidelity NTP8835/NTP8835C Amplifiers

maintainers:
- Igor Prusov <ivprusov@salutedevices.com>

description: |
The NTP8835 is a single chip full digital audio amplifier
including power stages for stereo amplifier systems.
NTP8835 is integrated with versatile digital audio signal
processing functions, high-performance, high-fidelity fully
digital PWM modulator and two high-power full-bridge MOSFET
power stages. NTP8835C has identical programming interface,
but has different output signal characteristics.
allOf:
- $ref: dai-common.yaml#

properties:
compatible:
enum:
- neofidelity,ntp8835
- neofidelity,ntp8835c

reg:
enum:
- 0x2a
- 0x2b
- 0x2c
- 0x2d

reset-gpios:
maxItems: 1

'#sound-dai-cells':
const: 0

clocks:
maxItems: 4

clock-names:
items:
- const: wck
- const: bck
- const: scl
- const: mclk

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
audio-codec@2b {
compatible = "neofidelity,ntp8835";
#sound-dai-cells = <0>;
reg = <0x2b>;
reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
clocks = <&clkc 551>, <&clkc 552>, <&clkc 553>, <&clkc 554>;
clock-names = "wck", "bck", "scl", "mclk";
};
};
70 changes: 70 additions & 0 deletions Documentation/devicetree/bindings/sound/neofidelity,ntp8918.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/neofidelity,ntp8918.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NeoFidelity NTP8918 Amplifier

maintainers:
- Igor Prusov <ivprusov@salutedevices.com>

description:
The NTP8918 is a single chip full digital audio amplifier
including power stage for stereo amplifier system.
The NTP8918 is integrated with versatile digital audio signal
processing functions, high-performance, high-fidelity fully
digital PWM modulator and two high-power full-bridge MOSFET
power stages.

allOf:
- $ref: dai-common.yaml#

properties:
compatible:
enum:
- neofidelity,ntp8918

reg:
enum:
- 0x2a
- 0x2b
- 0x2c
- 0x2d

reset-gpios:
maxItems: 1

'#sound-dai-cells':
const: 0

clocks:
maxItems: 3

clock-names:
items:
- const: wck
- const: scl
- const: bck

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
audio-codec@2a {
compatible = "neofidelity,ntp8918";
#sound-dai-cells = <0>;
reg = <0x2a>;
clocks = <&clkc 150>, <&clkc 151>, <&clkc 152>;
clock-names = "wck", "scl", "bck";
reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
};
42 changes: 42 additions & 0 deletions Documentation/devicetree/bindings/sound/nxp,uda1342.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/nxp,uda1342.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP uda1342 audio CODECs

maintainers:
- Binbin Zhou <zhoubinbin@loongson.cn>

allOf:
- $ref: dai-common.yaml#

properties:
compatible:
const: nxp,uda1342

reg:
maxItems: 1

'#sound-dai-cells':
const: 0

required:
- compatible
- reg
- '#sound-dai-cells'

unevaluatedProperties: false

examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
codec@1a {
compatible = "nxp,uda1342";
reg = <0x1a>;
#sound-dai-cells = <0>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ properties:
- items:
- enum:
- qcom,sm8650-lpass-rx-macro
- qcom,sm8750-lpass-rx-macro
- qcom,x1e80100-lpass-rx-macro
- const: qcom,sm8550-lpass-rx-macro

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ properties:
- items:
- enum:
- qcom,sm8650-lpass-tx-macro
- qcom,sm8750-lpass-tx-macro
- qcom,x1e80100-lpass-tx-macro
- const: qcom,sm8550-lpass-tx-macro

Expand Down
Loading

0 comments on commit e25169f

Please sign in to comment.