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 7title: NAU8822 audio CODEC 8 9description: | 10 24 bit stereo audio codec with speaker driver. 11 This device supports I2C/SPI. 12 13maintainers: 14 - David Lin <CTLIN0@nuvoton.com> 15 16properties: 17 compatible: 18 enum: 19 - nuvoton,nau8822 20 21 reg: 22 maxItems: 1 23 24 "#sound-dai-cells": 25 const: 0 26 27 nuvoton,spk-btl: 28 description: 29 If set, configure the two loudspeaker outputs as a Bridge Tied Load output 30 to drive a high power external loudspeaker. 31 $ref: /schemas/types.yaml#/definitions/flag 32 33required: 34 - compatible 35 - reg 36 37allOf: 38 - $ref: dai-common.yaml# 39 40additionalProperties: false 41 42examples: 43 - | 44 i2c { 45 #address-cells = <1>; 46 #size-cells = <0>; 47 48 codec@1a { 49 compatible = "nuvoton,nau8822"; 50 reg = <0x1a>; 51 }; 52 }; 53