Maxim MAX9759 Speaker Amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/maxim,max9759.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Otabek Nazrullaev <otabeknazrullaev1998@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max9759"
shutdown-gpios — required here #
Maximum number of items (maxItems): 1
the gpio connected to the shutdown pin
mute-gpios — required here #
Maximum number of items (maxItems): 1
the gpio connected to the mute pin
gain-gpios — required here #
Maximum number of items (maxItems): 2
the 2 gpios connected to the g1 and g2 pins
Required in this object (required): "compatible", "shutdown-gpios", "mute-gpios", "gain-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
amplifier {
compatible = "maxim,max9759";
shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>,
<&gpio3 25 GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)