1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/nxp,tfa989x.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: NXP/Goodix TFA989X (TFA1) Audio Amplifiers 8 9maintainers: 10 - Stephan Gerhold <stephan@gerhold.net> 11 12properties: 13 compatible: 14 enum: 15 - nxp,tfa9895 16 - nxp,tfa9897 17 18 reg: 19 maxItems: 1 20 21 '#sound-dai-cells': 22 const: 0 23 24 sound-name-prefix: 25 $ref: /schemas/types.yaml#/definitions/string 26 description: 27 Used as prefix for sink/source names of the component. Must be a 28 unique string among multiple instances of the same component. 29 30 vddd-supply: 31 description: regulator phandle for the VDDD power supply. 32 33required: 34 - compatible 35 - reg 36 - '#sound-dai-cells' 37 38additionalProperties: false 39 40examples: 41 - | 42 i2c { 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 audio-codec@34 { 47 compatible = "nxp,tfa9895"; 48 reg = <0x34>; 49 sound-name-prefix = "Speaker Left"; 50 #sound-dai-cells = <0>; 51 }; 52 audio-codec@36 { 53 compatible = "nxp,tfa9895"; 54 reg = <0x36>; 55 sound-name-prefix = "Speaker Right"; 56 #sound-dai-cells = <0>; 57 }; 58 }; 59