Maxim Integrated MAX98504 class D mono speaker amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/maxim,max98504.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Maxim Integrated MAX98504 speaker amplifier supports I2C control interface with an IRQ output signal, PCM and PDM digital audio interface (DAI) and a differential analog input.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "maxim,max98504"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
DIOVDD-supply — not listed as required here #
true — No constraints added by this property rule.
DVDD-supply — not listed as required here #
true — No constraints added by this property rule.
PVDD-supply — not listed as required here #
true — No constraints added by this property rule.
maxim,brownout-threshold — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 21
Default value (default): 0
PVDD brownout threshold, where values correspond to 2.6V, 2.65V...3.65V voltage range. Property also enables the PVDD brownout protection.
maxim,brownout-attenuation — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 6
Default value (default): 0
Brownout attenuation to the speaker gain applied during the "attack hold" and "timed hold" phase, the value must be from 0...6 (dB) range.
maxim,brownout-attack-hold-ms — not listed as required here #
Maximum value (maximum): 255
Default value (default): 0
Brownout attack hold phase time in ms, VBATBROWN_ATTK_HOLD, register 0x0018.
maxim,brownout-timed-hold-ms — not listed as required here #
Maximum value (maximum): 255
Default value (default): 0
Brownout timed hold phase time in ms, VBATBROWN_TIME_HOLD, register 0x0019.
maxim,brownout-release-rate-ms — not listed as required here #
Maximum value (maximum): 255
Default value (default): 0
Brownout release phase step time in ms, VBATBROWN_RELEASE, register 0x001A.
Required in this object (required): "compatible", "reg"
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>
i2c {
#address-cells = <1>;
#size-cells = <0>;
amplifier@31 {
compatible = "maxim,max98504";
reg = <0x31>;
DIOVDD-supply = <&ldo3_reg>;
DVDD-supply = <&ldo3_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause