xref: /linux/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml (revision af20f01e4d1d8fdb0ef14dcb95bd76fa8006dfdd)
176fa6279SEmanuele Ghidoli# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
276fa6279SEmanuele Ghidoli%YAML 1.2
376fa6279SEmanuele Ghidoli---
476fa6279SEmanuele Ghidoli$id: http://devicetree.org/schemas/sound/nuvoton,nau8822.yaml#
576fa6279SEmanuele Ghidoli$schema: http://devicetree.org/meta-schemas/core.yaml#
676fa6279SEmanuele Ghidoli
776fa6279SEmanuele Ghidolititle: NAU8822 audio CODEC
876fa6279SEmanuele Ghidoli
976fa6279SEmanuele Ghidolidescription: |
1076fa6279SEmanuele Ghidoli  24 bit stereo audio codec with speaker driver.
1176fa6279SEmanuele Ghidoli  This device supports I2C/SPI.
1276fa6279SEmanuele Ghidoli
1376fa6279SEmanuele Ghidolimaintainers:
1476fa6279SEmanuele Ghidoli  - David Lin <CTLIN0@nuvoton.com>
1576fa6279SEmanuele Ghidoli
1676fa6279SEmanuele Ghidoliproperties:
1776fa6279SEmanuele Ghidoli  compatible:
1876fa6279SEmanuele Ghidoli    enum:
1976fa6279SEmanuele Ghidoli      - nuvoton,nau8822
2076fa6279SEmanuele Ghidoli
2176fa6279SEmanuele Ghidoli  reg:
2276fa6279SEmanuele Ghidoli    maxItems: 1
2376fa6279SEmanuele Ghidoli
24*af20f01eSEmanuele Ghidoli  nuvoton,spk-btl:
25*af20f01eSEmanuele Ghidoli    description:
26*af20f01eSEmanuele Ghidoli      If set, configure the two loudspeaker outputs as a Bridge Tied Load output
27*af20f01eSEmanuele Ghidoli      to drive a high power external loudspeaker.
28*af20f01eSEmanuele Ghidoli    $ref: /schemas/types.yaml#/definitions/flag
29*af20f01eSEmanuele Ghidoli
3076fa6279SEmanuele Ghidolirequired:
3176fa6279SEmanuele Ghidoli  - compatible
3276fa6279SEmanuele Ghidoli  - reg
3376fa6279SEmanuele Ghidoli
3476fa6279SEmanuele GhidoliadditionalProperties: false
3576fa6279SEmanuele Ghidoli
3676fa6279SEmanuele Ghidoliexamples:
3776fa6279SEmanuele Ghidoli  - |
3876fa6279SEmanuele Ghidoli    i2c {
3976fa6279SEmanuele Ghidoli        #address-cells = <1>;
4076fa6279SEmanuele Ghidoli        #size-cells = <0>;
4176fa6279SEmanuele Ghidoli
4276fa6279SEmanuele Ghidoli        codec@1a {
4376fa6279SEmanuele Ghidoli            compatible = "nuvoton,nau8822";
4476fa6279SEmanuele Ghidoli            reg = <0x1a>;
4576fa6279SEmanuele Ghidoli        };
4676fa6279SEmanuele Ghidoli    };
47