Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: Add NeoFidelity NTP8918

Add dt-bindings for NeoFidelity NTP8918 Amplifier

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240925-ntp-amps-8918-8835-v3-3-e2459a8191a6@salutedevices.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Igor Prusov and committed by
Mark Brown
64fbb6bd ba1850dc

+70
+70
Documentation/devicetree/bindings/sound/neofidelity,ntp8918.yaml
··· 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# 6 + 7 + title: NeoFidelity NTP8918 Amplifier 8 + 9 + maintainers: 10 + - Igor Prusov <ivprusov@salutedevices.com> 11 + 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. 19 + 20 + allOf: 21 + - $ref: dai-common.yaml# 22 + 23 + properties: 24 + compatible: 25 + enum: 26 + - neofidelity,ntp8918 27 + 28 + reg: 29 + enum: 30 + - 0x2a 31 + - 0x2b 32 + - 0x2c 33 + - 0x2d 34 + 35 + reset-gpios: 36 + maxItems: 1 37 + 38 + '#sound-dai-cells': 39 + const: 0 40 + 41 + clocks: 42 + maxItems: 3 43 + 44 + clock-names: 45 + items: 46 + - const: wck 47 + - const: scl 48 + - const: bck 49 + 50 + required: 51 + - compatible 52 + - reg 53 + 54 + unevaluatedProperties: false 55 + 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 + };