Documentation / devicetree / bindings / sound / neofidelity,ntp8835.yaml


Based on kernel version 6.13. Page generated on 2025-01-21 08:20 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/neofidelity,ntp8835.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NeoFidelity NTP8835/NTP8835C Amplifiers

maintainers:
  - Igor Prusov <ivprusov@salutedevices.com>

description: |
  The NTP8835 is a single chip full digital audio amplifier
  including power stages for stereo amplifier systems.
  NTP8835 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. NTP8835C has identical programming interface,
  but has different output signal characteristics.

allOf:
  - $ref: dai-common.yaml#

properties:
  compatible:
    enum:
      - neofidelity,ntp8835
      - neofidelity,ntp8835c

  reg:
    enum:
      - 0x2a
      - 0x2b
      - 0x2c
      - 0x2d

  reset-gpios:
    maxItems: 1
 
  '#sound-dai-cells':
    const: 0

  clocks:
    maxItems: 4

  clock-names:
    items:
      - const: wck
      - const: bck
      - const: scl
      - const: mclk

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
   #include <dt-bindings/gpio/gpio.h>
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;
      audio-codec@2b {
        compatible = "neofidelity,ntp8835";
        #sound-dai-cells = <0>;
        reg = <0x2b>;
        reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
        clocks = <&clkc 551>, <&clkc 552>, <&clkc 553>, <&clkc 554>;
        clock-names = "wck", "bck", "scl", "mclk";
      };
    };