File tree Expand file tree Collapse file tree 5 files changed +2561
-0
lines changed
Documentation/devicetree/bindings/sound Expand file tree Collapse file tree 5 files changed +2561
-0
lines changed Original file line number Diff line number Diff line change
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
+
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
+ };
Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ config SND_SOC_ALL_CODECS
240
240
imply SND_SOC_SIMPLE_AMPLIFIER
241
241
imply SND_SOC_SIMPLE_MUX
242
242
imply SND_SOC_SMA1303
243
+ imply SND_SOC_SMA1307
243
244
imply SND_SOC_SPDIF
244
245
imply SND_SOC_SRC4XXX_I2C
245
246
imply SND_SOC_SSM2305
@@ -1873,6 +1874,15 @@ config SND_SOC_SMA1303
1873
1874
help
1874
1875
Enable support for Iron Device SMA1303 Boosted Class-D amplifier
1875
1876
1877
+ config SND_SOC_SMA1307
1878
+ tristate "Iron Device SMA1307 Audio Amplifier"
1879
+ depends on I2C
1880
+ help
1881
+ Enable support for Iron Device SMA1307 boosted digital speaker
1882
+ amplifier with feedback-loop.
1883
+ If you are using a system with an SMA1307 amplifier connected
1884
+ via I2C, enable this option.
1885
+
1876
1886
config SND_SOC_SPDIF
1877
1887
tristate "S/PDIF CODEC"
1878
1888
Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ snd-soc-sigmadsp-i2c-y := sigmadsp-i2c.o
279
279
snd-soc-sigmadsp-regmap-y := sigmadsp-regmap.o
280
280
snd-soc-si476x-y := si476x.o
281
281
snd-soc-sma1303-y := sma1303.o
282
+ snd-soc-sma1307-y := sma1307.o
282
283
snd-soc-spdif-tx-y := spdif_transmitter.o
283
284
snd-soc-spdif-rx-y := spdif_receiver.o
284
285
snd-soc-src4xxx-y := src4xxx.o
@@ -689,6 +690,7 @@ obj-$(CONFIG_SND_SOC_SIGMADSP_I2C) += snd-soc-sigmadsp-i2c.o
689
690
obj-$(CONFIG_SND_SOC_SIGMADSP_REGMAP) += snd-soc-sigmadsp-regmap.o
690
691
obj-$(CONFIG_SND_SOC_SI476X) += snd-soc-si476x.o
691
692
obj-$(CONFIG_SND_SOC_SMA1303) += snd-soc-sma1303.o
693
+ obj-$(CONFIG_SND_SOC_SMA1307) += snd-soc-sma1307.o
692
694
obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif-rx.o snd-soc-spdif-tx.o
693
695
obj-$(CONFIG_SND_SOC_SRC4XXX) += snd-soc-src4xxx.o
694
696
obj-$(CONFIG_SND_SOC_SRC4XXX_I2C) += snd-soc-src4xxx-i2c.o
You can’t perform that action at this time.
0 commit comments