| 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 <[email protected]> |
| 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 |
clocks: |
| 34 |
items: |
| 35 |
- description: Master clock to the CODEC |
| 36 |
|
| 37 |
clock-names: |
| 38 |
items: |
| 39 |
- const: mclk |
| 40 |
|
| 41 |
port: |
| 42 |
$ref: audio-graph-port.yaml# |
| 43 |
unevaluatedProperties: false |
| 44 |
|
| 45 |
required: |
| 46 |
- compatible |
| 47 |
- reg |
| 48 |
|
| 49 |
unevaluatedProperties: false |
| 50 |
|
| 51 |
examples: |
| 52 |
- | |
| 53 |
i2c { |
| 54 |
#address-cells = <1>; |
| 55 |
#size-cells = <0>; |
| 56 |
|
| 57 |
audio-codec@1b { |
| 58 |
compatible = "realtek,rt5616"; |
| 59 |
reg = <0x1b>; |
| 60 |
}; |
| 61 |
}; |