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/realtek,rt5616.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Realtek rt5616 ALSA SoC audio codec driver |
| 8 | |
| 9 | description: | |
| 10 | Pins on the device (for linking into audio routes) for RT5616: |
| 11 | |
| 12 | * IN1P |
| 13 | * IN2P |
| 14 | * IN2N |
| 15 | * LOUTL |
| 16 | * LOUTR |
| 17 | * HPOL |
| 18 | * HPOR |
| 19 | |
| 20 | maintainers: |
| 21 | - Bard Liao <bardliao@realtek.com> |
| 22 | |
| 23 | allOf: |
| 24 | - $ref: dai-common.yaml# |
| 25 | |
| 26 | properties: |
| 27 | compatible: |
| 28 | const: realtek,rt5616 |
| 29 | |
| 30 | reg: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | required: |
| 34 | - compatible |
| 35 | - reg |
| 36 | |
| 37 | unevaluatedProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | i2c { |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <0>; |
| 44 | |
| 45 | audio-codec@1b { |
| 46 | compatible = "realtek,rt5616"; |
| 47 | reg = <0x1b>; |
| 48 | }; |
| 49 | }; |