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