xref: /freebsd/sys/contrib/device-tree/Bindings/sound/wlf,wm8524.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/wlf,wm8524.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Wolfson WM8524 24-bit 192KHz Stereo DAC
8
9maintainers:
10  - patches@opensource.cirrus.com
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: wlf,wm8524
18
19  "#sound-dai-cells":
20    const: 0
21
22  wlf,mute-gpios:
23    maxItems: 1
24    description:
25      a GPIO spec for the MUTE pin.
26
27required:
28  - compatible
29  - wlf,mute-gpios
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/gpio/gpio.h>
36
37    wm8524: codec {
38        compatible = "wlf,wm8524";
39        wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
40    };
41