Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 7 | title: Wolfson WM8524 24-bit 192KHz Stereo DAC |
| 8 | |
| 9 | maintainers: |
| 10 | - patches@opensource.cirrus.com |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 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 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - wlf,mute-gpios |
| 30 | |
| 31 | unevaluatedProperties: false |
| 32 | |
| 33 | examples: |
| 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 | }; |