NeoFidelity NTP8918 Amplifier

Schema identifier ($id): "http://devicetree.org/schemas/sound/neofidelity,ntp8918.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Igor Prusov <ivprusov@salutedevices.com>"

The NTP8918 is a single chip full digital audio amplifier including power stage for stereo amplifier system. The NTP8918 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.

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,ntp8918"

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): 3

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "wck"

Item 2

Exact value (const): "scl"

Item 3

Exact value (const): "bck"

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@2a {
        compatible = "neofidelity,ntp8918";
        #sound-dai-cells = <0>;
        reg = <0x2a>;
        clocks = <&clkc 150>, <&clkc 151>, <&clkc 152>;
        clock-names =  "wck", "scl", "bck";
        reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page