NeoFidelity NTP8835/NTP8835C Amplifiers
Schema identifier ($id): "http://devicetree.org/schemas/sound/neofidelity,ntp8835.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Igor Prusov <ivprusov@salutedevices.com>"
The NTP8835 is a single chip full digital audio amplifier including power stages for stereo amplifier systems. NTP8835 is integrated with versatile digital audio signal processing functions, high-performance, high-fidelity fully digital PWM modulator and two high-power full-bridge MOSFET power stages. NTP8835C has identical programming interface, but has different output signal characteristics.
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): "neofidelity,ntp8835", "neofidelity,ntp8835c"
reg — required here #
Allowed values (enum): 42, 43, 44, 45
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — not listed as required here #
Exact value (const): 0
clocks — not listed as required here #
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"wck"
Item 2
Exact value (
const):"bck"
Item 3
Exact value (
const):"scl"
Item 4
Exact value (
const):"mclk"
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
audio-codec@2b {
compatible = "neofidelity,ntp8835";
#sound-dai-cells = <0>;
reg = <0x2b>;
reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
clocks = <&clkc 551>, <&clkc 552>, <&clkc 553>, <&clkc 554>;
clock-names = "wck", "bck", "scl", "mclk";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)