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

ASoC: dt-bindings: irondevice,sma1307: Add initial DT

This adds the schema binding for the Iron Device SMA1307 Amp

Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241106005800.7520-2-kiseok.jo@irondevice.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kiseok Jo and committed by
Mark Brown
82a1ccdf aaa73822

+53
+53
Documentation/devicetree/bindings/sound/irondevice,sma1307.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/irondevice,sma1307.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Iron Device SMA1307 Audio Amplifier 8 + 9 + maintainers: 10 + - Kiseok Jo <kiseok.jo@irondevice.com> 11 + 12 + description: 13 + SMA1307 boosted digital speaker amplifier with feedback-loop. 14 + 15 + allOf: 16 + - $ref: dai-common.yaml# 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - irondevice,sma1307a 22 + - irondevice,sma1307aq 23 + description: 24 + If a 'q' is added, it indicated the product is AEC-Q100 25 + qualified for automotive applications. SMA1307A supports 26 + both WLCSP and QFN packages. However, SMA1307AQ only 27 + supports the QFN package. 28 + 29 + reg: 30 + maxItems: 1 31 + 32 + '#sound-dai-cells': 33 + const: 1 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - '#sound-dai-cells' 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + i2c { 45 + #address-cells = <1>; 46 + #size-cells = <0>; 47 + 48 + amplifier@1e { 49 + compatible = "irondevice,sma1307a"; 50 + reg = <0x1e>; 51 + #sound-dai-cells = <1>; 52 + }; 53 + };