Commit dec36c09 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

Merge tag 'asoc-v5.17' of...

Merge tag 'asoc-v5.17' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Updates for v5.17

Not much going on framework release this time, but a big update for
drivers especially the Intel and SOF ones.

 - Refinements and cleanups around the delay() APIs.
 - Wider use of dev_err_probe().
 - Continuing cleanups and improvements to the SOF code.
 - Support for pin switches in simple-card derived cards.
 - Support for AMD Renoir ACP, Asahi Kasei Microdevices AKM4375, Intel
   systems using NAU8825 and MAX98390, Mediatek MT8915, nVidia Tegra20
   S/PDIF, Qualcomm systems using ALC5682I-VS and Texas Instruments
   TLV320ADC3xxx.
parents f81483aa 9f3d4531
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/ak4375.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: AK4375 DAC and headphones amplifier Device Tree Bindings

maintainers:
  - Vincent Knecht <vincent.knecht@mailoo.org>

properties:
  compatible:
    const: asahi-kasei,ak4375

  reg:
    maxItems: 1

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

  avdd-supply:
    description: regulator phandle for the AVDD power supply.

  tvdd-supply:
    description: regulator phandle for the TVDD power supply.

  pdn-gpios:
    description: optional GPIO to set the PDN pin.

required:
  - compatible
  - reg
  - '#sound-dai-cells'
  - avdd-supply
  - tvdd-supply

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;

      headphones: audio-codec@10 {
        compatible = "asahi-kasei,ak4375";
        reg = <0x10>;
        avdd-supply = <&reg_headphones_avdd>;
        tvdd-supply = <&pm8916_l6>;
        pdn-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&headphones_pdn_default>;
        #sound-dai-cells = <0>;
      };
    };
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ title: Amlogic AIU audio output controller
maintainers:
  - Jerome Brunet <jbrunet@baylibre.com>

allOf:
  - $ref: name-prefix.yaml#

properties:
  $nodename:
    pattern: "^audio-controller@.*"
@@ -65,6 +68,8 @@ properties:
  resets:
    maxItems: 1

  sound-name-prefix: true

required:
  - "#sound-dai-cells"
  - compatible
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ title: Amlogic G12a Internal DAC Control Glue
maintainers:
  - Jerome Brunet <jbrunet@baylibre.com>

allOf:
  - $ref: name-prefix.yaml#

properties:
  $nodename:
    pattern: "^audio-controller@.*"
@@ -31,6 +34,8 @@ properties:
  resets:
    maxItems: 1

  sound-name-prefix: true

required:
  - "#sound-dai-cells"
  - compatible
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@ title: Amlogic T9015 Internal Audio DAC
maintainers:
  - Jerome Brunet <jbrunet@baylibre.com>

allOf:
  - $ref: name-prefix.yaml#

properties:
  $nodename:
    pattern: "^audio-controller@.*"
@@ -38,6 +41,8 @@ properties:
    description:
      Analogue power supply.

  sound-name-prefix: true

required:
  - "#sound-dai-cells"
  - compatible
+7 −2
Original line number Diff line number Diff line
@@ -42,10 +42,15 @@ patternProperties:
        $ref: /schemas/types.yaml#/definitions/flag
      frame-master:
        description: Indicates dai-link frame master.
        $ref: /schemas/types.yaml#/definitions/phandle
        oneOf:
          - $ref: /schemas/types.yaml#/definitions/flag
          - $ref: /schemas/types.yaml#/definitions/phandle
      bitclock-master:
        description: Indicates dai-link bit clock master
        $ref: /schemas/types.yaml#/definitions/phandle
        oneOf:
          - $ref: /schemas/types.yaml#/definitions/flag
          - $ref: /schemas/types.yaml#/definitions/phandle

      dai-format:
        description: audio format.
        items:
Loading