Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / neofidelity,ntp8918.yaml
blob952768b3590286a19d0f039369b7e9a33994fa64
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,ntp8918.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NeoFidelity NTP8918 Amplifier
9 maintainers:
10   - Igor Prusov <ivprusov@salutedevices.com>
12 description:
13   The NTP8918 is a single chip full digital audio amplifier
14   including power stage for stereo amplifier system.
15   The NTP8918 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.
20 allOf:
21   - $ref: dai-common.yaml#
23 properties:
24   compatible:
25     enum:
26       - neofidelity,ntp8918
28   reg:
29     enum:
30       - 0x2a
31       - 0x2b
32       - 0x2c
33       - 0x2d
35   reset-gpios:
36     maxItems: 1
38   '#sound-dai-cells':
39     const: 0
41   clocks:
42     maxItems: 3
44   clock-names:
45     items:
46       - const: wck
47       - const: scl
48       - const: bck
50 required:
51   - compatible
52   - reg
54 unevaluatedProperties: false
56 examples:
57   - |
58    #include <dt-bindings/gpio/gpio.h>
59    i2c {
60      #address-cells = <1>;
61      #size-cells = <0>;
62      audio-codec@2a {
63        compatible = "neofidelity,ntp8918";
64        #sound-dai-cells = <0>;
65        reg = <0x2a>;
66        clocks = <&clkc 150>, <&clkc 151>, <&clkc 152>;
67        clock-names =  "wck", "scl", "bck";
68        reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
69     };
70    };