NAU8315/NAU8318 Mono Class-D Amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "David Lin <CTLIN0@nuvoton.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,nau8315", "nuvoton,nau8318"
#sound-dai-cells — not listed as required here #
Exact value (const): 0
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO specifier for the chip's device enable input(EN) pin. If this option is not specified then driver does not manage the pin state (e.g. chip is always on).
Required in this object (required): "compatible"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
codec {
compatible = "nuvoton,nau8315";
#sound-dai-cells = <0>;
enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause