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,wm8961.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Wolfson WM8961 Ultra-Low Power Stereo CODEC |
| 8 | |
| 9 | maintainers: |
| 10 | - patches@opensource.cirrus.com |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: wlf,wm8961 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | '#sound-dai-cells': |
| 23 | const: 0 |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - reg |
| 28 | - '#sound-dai-cells' |
| 29 | |
| 30 | unevaluatedProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | i2c { |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <0>; |
| 37 | |
| 38 | wm8961: codec@4a { |
| 39 | compatible = "wlf,wm8961"; |
| 40 | reg = <0x4a>; |
| 41 | #sound-dai-cells = <0>; |
| 42 | }; |
| 43 | }; |