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