| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/nuvoton,nau8822.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NAU8822 audio CODEC |
| 8 |
|
| 9 |
description: | |
| 10 |
24 bit stereo audio codec with speaker driver. |
| 11 |
This device supports I2C/SPI. |
| 12 |
|
| 13 |
maintainers: |
| 14 |
- David Lin <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
enum: |
| 19 |
- nuvoton,nau8822 |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
"#sound-dai-cells": |
| 25 |
const: 0 |
| 26 |
|
| 27 |
clocks: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
clock-names: |
| 31 |
const: mclk |
| 32 |
|
| 33 |
nuvoton,spk-btl: |
| 34 |
description: |
| 35 |
If set, configure the two loudspeaker outputs as a Bridge Tied Load output |
| 36 |
to drive a high power external loudspeaker. |
| 37 |
$ref: /schemas/types.yaml#/definitions/flag |
| 38 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- reg |
| 42 |
|
| 43 |
allOf: |
| 44 |
- $ref: dai-common.yaml# |
| 45 |
|
| 46 |
additionalProperties: false |
| 47 |
|
| 48 |
examples: |
| 49 |
- | |
| 50 |
i2c { |
| 51 |
#address-cells = <1>; |
| 52 |
#size-cells = <0>; |
| 53 |
|
| 54 |
codec@1a { |
| 55 |
compatible = "nuvoton,nau8822"; |
| 56 |
reg = <0x1a>; |
| 57 |
}; |
| 58 |
}; |