Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/wlf,wm8753.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: WM8753 audio CODEC |
| 8 | |
| 9 | description: | |
| 10 | Pins on the device (for linking into audio routes): |
| 11 | * LOUT1 |
| 12 | * LOUT2 |
| 13 | * ROUT1 |
| 14 | * ROUT2 |
| 15 | * MONO1 |
| 16 | * MONO2 |
| 17 | * OUT3 |
| 18 | * OUT4 |
| 19 | * LINE1 |
| 20 | * LINE2 |
| 21 | * RXP |
| 22 | * RXN |
| 23 | * ACIN |
| 24 | * ACOP |
| 25 | * MIC1N |
| 26 | * MIC1 |
| 27 | * MIC2N |
| 28 | * MIC2 |
| 29 | * Mic Bias |
| 30 | |
| 31 | maintainers: |
| 32 | - patches@opensource.cirrus.com |
| 33 | |
| 34 | allOf: |
| 35 | - $ref: dai-common.yaml# |
| 36 | |
| 37 | properties: |
| 38 | compatible: |
| 39 | const: wlf,wm8753 |
| 40 | |
| 41 | reg: |
| 42 | maxItems: 1 |
| 43 | |
| 44 | "#sound-dai-cells": |
| 45 | const: 0 |
| 46 | |
| 47 | required: |
| 48 | - compatible |
| 49 | - reg |
| 50 | |
| 51 | unevaluatedProperties: false |
| 52 | |
| 53 | examples: |
| 54 | - | |
| 55 | i2c { |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <0>; |
| 58 | codec@1a { |
| 59 | compatible = "wlf,wm8753"; |
| 60 | reg = <0x1a>; |
| 61 | }; |
| 62 | }; |