15f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25f62a964SEmmanuel Vadot%YAML 1.2 35f62a964SEmmanuel Vadot--- 45f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/neofidelity,ntp8918.yaml# 55f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65f62a964SEmmanuel Vadot 75f62a964SEmmanuel Vadottitle: NeoFidelity NTP8918 Amplifier 85f62a964SEmmanuel Vadot 95f62a964SEmmanuel Vadotmaintainers: 105f62a964SEmmanuel Vadot - Igor Prusov <ivprusov@salutedevices.com> 115f62a964SEmmanuel Vadot 125f62a964SEmmanuel Vadotdescription: 135f62a964SEmmanuel Vadot The NTP8918 is a single chip full digital audio amplifier 145f62a964SEmmanuel Vadot including power stage for stereo amplifier system. 155f62a964SEmmanuel Vadot The NTP8918 is integrated with versatile digital audio signal 165f62a964SEmmanuel Vadot processing functions, high-performance, high-fidelity fully 175f62a964SEmmanuel Vadot digital PWM modulator and two high-power full-bridge MOSFET 185f62a964SEmmanuel Vadot power stages. 195f62a964SEmmanuel Vadot 205f62a964SEmmanuel VadotallOf: 215f62a964SEmmanuel Vadot - $ref: dai-common.yaml# 225f62a964SEmmanuel Vadot 235f62a964SEmmanuel Vadotproperties: 245f62a964SEmmanuel Vadot compatible: 255f62a964SEmmanuel Vadot enum: 265f62a964SEmmanuel Vadot - neofidelity,ntp8918 275f62a964SEmmanuel Vadot 285f62a964SEmmanuel Vadot reg: 295f62a964SEmmanuel Vadot enum: 305f62a964SEmmanuel Vadot - 0x2a 315f62a964SEmmanuel Vadot - 0x2b 325f62a964SEmmanuel Vadot - 0x2c 335f62a964SEmmanuel Vadot - 0x2d 345f62a964SEmmanuel Vadot 355f62a964SEmmanuel Vadot reset-gpios: 365f62a964SEmmanuel Vadot maxItems: 1 375f62a964SEmmanuel Vadot 385f62a964SEmmanuel Vadot '#sound-dai-cells': 395f62a964SEmmanuel Vadot const: 0 405f62a964SEmmanuel Vadot 415f62a964SEmmanuel Vadot clocks: 425f62a964SEmmanuel Vadot maxItems: 3 435f62a964SEmmanuel Vadot 445f62a964SEmmanuel Vadot clock-names: 455f62a964SEmmanuel Vadot items: 465f62a964SEmmanuel Vadot - const: wck 475f62a964SEmmanuel Vadot - const: scl 485f62a964SEmmanuel Vadot - const: bck 495f62a964SEmmanuel Vadot 505f62a964SEmmanuel Vadotrequired: 515f62a964SEmmanuel Vadot - compatible 525f62a964SEmmanuel Vadot - reg 535f62a964SEmmanuel Vadot 545f62a964SEmmanuel VadotunevaluatedProperties: false 555f62a964SEmmanuel Vadot 565f62a964SEmmanuel Vadotexamples: 575f62a964SEmmanuel Vadot - | 585f62a964SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 59*2846c905SEmmanuel Vadot 605f62a964SEmmanuel Vadot i2c { 615f62a964SEmmanuel Vadot #address-cells = <1>; 625f62a964SEmmanuel Vadot #size-cells = <0>; 63*2846c905SEmmanuel Vadot 645f62a964SEmmanuel Vadot audio-codec@2a { 655f62a964SEmmanuel Vadot compatible = "neofidelity,ntp8918"; 665f62a964SEmmanuel Vadot #sound-dai-cells = <0>; 675f62a964SEmmanuel Vadot reg = <0x2a>; 685f62a964SEmmanuel Vadot clocks = <&clkc 150>, <&clkc 151>, <&clkc 152>; 695f62a964SEmmanuel Vadot clock-names = "wck", "scl", "bck"; 705f62a964SEmmanuel Vadot reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; 715f62a964SEmmanuel Vadot }; 725f62a964SEmmanuel Vadot }; 73