1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/nuvot 4 $id: http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NAU8315/NAU8318 Mono Class-D Amplifier 7 title: NAU8315/NAU8318 Mono Class-D Amplifier 8 8 9 maintainers: 9 maintainers: 10 - David Lin <CTLIN0@nuvoton.com> 10 - David Lin <CTLIN0@nuvoton.com> 11 11 12 allOf: 12 allOf: 13 - $ref: dai-common.yaml# 13 - $ref: dai-common.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - nuvoton,nau8315 18 - nuvoton,nau8315 19 - nuvoton,nau8318 19 - nuvoton,nau8318 20 20 21 '#sound-dai-cells': 21 '#sound-dai-cells': 22 const: 0 22 const: 0 23 23 24 enable-gpios: 24 enable-gpios: 25 maxItems: 1 25 maxItems: 1 26 description: 26 description: 27 GPIO specifier for the chip's device ena 27 GPIO specifier for the chip's device enable input(EN) pin. 28 If this option is not specified then dri 28 If this option is not specified then driver does not manage 29 the pin state (e.g. chip is always on). 29 the pin state (e.g. chip is always on). 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 33 34 unevaluatedProperties: false 34 unevaluatedProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 #include <dt-bindings/gpio/gpio.h> 38 #include <dt-bindings/gpio/gpio.h> 39 39 40 codec { 40 codec { 41 compatible = "nuvoton,nau8315"; 41 compatible = "nuvoton,nau8315"; 42 #sound-dai-cells = <0>; 42 #sound-dai-cells = <0>; 43 enable-gpios = <&gpio1 5 GPIO_ACTIVE_H 43 enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 44 }; 44 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.