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,nau8315.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: NAU8315/NAU8318 Mono Class-D Amplifier 8 9 maintainers: 10 - David Lin <CTLIN0@nuvoton.com> 11 12 allOf: 13 - $ref: dai-common.yaml# 14 15 properties: 16 compatible: 17 enum: 18 - nuvoton,nau8315 19 - nuvoton,nau8318 20 21 '#sound-dai-cells': 22 const: 0 23 24 enable-gpios: 25 maxItems: 1 26 description: 27 GPIO specifier for the chip's device enable input(EN) pin. 28 If this option is not specified then driver does not manage 29 the pin state (e.g. chip is always on). 30 31 required: 32 - compatible 33 34 unevaluatedProperties: false 35 36 examples: 37 - | 38 #include <dt-bindings/gpio/gpio.h> 39 40 codec { 41 compatible = "nuvoton,nau8315"; 42 #sound-dai-cells = <0>; 43 enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 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.