Simple Audio Amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jerome Brunet <jbrunet@baylibre.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): "dioo,dio2125", "simple-audio-amplifier"
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
VCC-supply — not listed as required here #
power supply for the device
sound-name-prefix — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/meson8-gpio.h>
analog-amplifier {
compatible = "simple-audio-amplifier";
VCC-supply = <®ulator>;
enable-gpios = <&gpio GPIOH_3 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0