1*3e2aba5fSIgor Prusov# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*3e2aba5fSIgor Prusov%YAML 1.2 3*3e2aba5fSIgor Prusov--- 4*3e2aba5fSIgor Prusov$id: http://devicetree.org/schemas/sound/neofidelity,ntp8835.yaml# 5*3e2aba5fSIgor Prusov$schema: http://devicetree.org/meta-schemas/core.yaml# 6*3e2aba5fSIgor Prusov 7*3e2aba5fSIgor Prusovtitle: NeoFidelity NTP8835/NTP8835C Amplifiers 8*3e2aba5fSIgor Prusov 9*3e2aba5fSIgor Prusovmaintainers: 10*3e2aba5fSIgor Prusov - Igor Prusov <ivprusov@salutedevices.com> 11*3e2aba5fSIgor Prusov 12*3e2aba5fSIgor Prusovdescription: | 13*3e2aba5fSIgor Prusov The NTP8835 is a single chip full digital audio amplifier 14*3e2aba5fSIgor Prusov including power stages for stereo amplifier systems. 15*3e2aba5fSIgor Prusov NTP8835 is integrated with versatile digital audio signal 16*3e2aba5fSIgor Prusov processing functions, high-performance, high-fidelity fully 17*3e2aba5fSIgor Prusov digital PWM modulator and two high-power full-bridge MOSFET 18*3e2aba5fSIgor Prusov power stages. NTP8835C has identical programming interface, 19*3e2aba5fSIgor Prusov but has different output signal characteristics. 20*3e2aba5fSIgor Prusov 21*3e2aba5fSIgor PrusovallOf: 22*3e2aba5fSIgor Prusov - $ref: dai-common.yaml# 23*3e2aba5fSIgor Prusov 24*3e2aba5fSIgor Prusovproperties: 25*3e2aba5fSIgor Prusov compatible: 26*3e2aba5fSIgor Prusov enum: 27*3e2aba5fSIgor Prusov - neofidelity,ntp8835 28*3e2aba5fSIgor Prusov - neofidelity,ntp8835c 29*3e2aba5fSIgor Prusov 30*3e2aba5fSIgor Prusov reg: 31*3e2aba5fSIgor Prusov enum: 32*3e2aba5fSIgor Prusov - 0x2a 33*3e2aba5fSIgor Prusov - 0x2b 34*3e2aba5fSIgor Prusov - 0x2c 35*3e2aba5fSIgor Prusov - 0x2d 36*3e2aba5fSIgor Prusov 37*3e2aba5fSIgor Prusov reset-gpios: 38*3e2aba5fSIgor Prusov maxItems: 1 39*3e2aba5fSIgor Prusov 40*3e2aba5fSIgor Prusov '#sound-dai-cells': 41*3e2aba5fSIgor Prusov const: 0 42*3e2aba5fSIgor Prusov 43*3e2aba5fSIgor Prusov clocks: 44*3e2aba5fSIgor Prusov maxItems: 4 45*3e2aba5fSIgor Prusov 46*3e2aba5fSIgor Prusov clock-names: 47*3e2aba5fSIgor Prusov items: 48*3e2aba5fSIgor Prusov - const: wck 49*3e2aba5fSIgor Prusov - const: bck 50*3e2aba5fSIgor Prusov - const: scl 51*3e2aba5fSIgor Prusov - const: mclk 52*3e2aba5fSIgor Prusov 53*3e2aba5fSIgor Prusovrequired: 54*3e2aba5fSIgor Prusov - compatible 55*3e2aba5fSIgor Prusov - reg 56*3e2aba5fSIgor Prusov 57*3e2aba5fSIgor PrusovunevaluatedProperties: false 58*3e2aba5fSIgor Prusov 59*3e2aba5fSIgor Prusovexamples: 60*3e2aba5fSIgor Prusov - | 61*3e2aba5fSIgor Prusov #include <dt-bindings/gpio/gpio.h> 62*3e2aba5fSIgor Prusov i2c { 63*3e2aba5fSIgor Prusov #address-cells = <1>; 64*3e2aba5fSIgor Prusov #size-cells = <0>; 65*3e2aba5fSIgor Prusov audio-codec@2b { 66*3e2aba5fSIgor Prusov compatible = "neofidelity,ntp8835"; 67*3e2aba5fSIgor Prusov #sound-dai-cells = <0>; 68*3e2aba5fSIgor Prusov reg = <0x2b>; 69*3e2aba5fSIgor Prusov reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; 70*3e2aba5fSIgor Prusov clocks = <&clkc 551>, <&clkc 552>, <&clkc 553>, <&clkc 554>; 71*3e2aba5fSIgor Prusov clock-names = "wck", "bck", "scl", "mclk"; 72*3e2aba5fSIgor Prusov }; 73*3e2aba5fSIgor Prusov }; 74