File tree Expand file tree Collapse file tree 6 files changed +546
-0
lines changed
arch/arm/boot/dts/overlays Expand file tree Collapse file tree 6 files changed +546
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
8
8
ads7846.dtbo \
9
9
akkordion-iqdacplus.dtbo \
10
10
allo-piano-dac-pcm512x-audio.dtbo \
11
+ allo-piano-dac-plus-pcm512x-audio.dtbo \
11
12
at86rf233.dtbo \
12
13
audioinjector-addons.dtbo \
13
14
audioinjector-wm8731-audio.dtbo \
Original file line number Diff line number Diff line change @@ -283,6 +283,24 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
283
283
that does not result in clipping/distortion!)
284
284
285
285
286
+ Name: allo-piano-dac-plus-pcm512x-audio
287
+ Info: Configures the Allo Piano DAC (2.1) audio cards.
288
+ Load: dtoverlay=allo-piano-dac-plus-pcm512x-audio,<param>
289
+ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
290
+ Digital volume control.
291
+ (The default behaviour is that the Digital
292
+ volume control is limited to a maximum of
293
+ 0dB. ie. it can attenuate but not provide
294
+ gain. For most users, this will be desired
295
+ as it will prevent clipping. By appending
296
+ the 24db_digital_gain parameter, the Digital
297
+ volume control will allow up to 24dB of
298
+ gain. If this parameter is enabled, it is the
299
+ responsibility of the user to ensure that
300
+ the Digital volume control is set to a value
301
+ that does not result in clipping/distortion!)
302
+
303
+
286
304
Name: at86rf233
287
305
Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver,
288
306
connected to spi0.0
Original file line number Diff line number Diff line change
1
+ // Definitions for Piano DAC
2
+ /dts-v1/;
3
+ /plugin/;
4
+
5
+ / {
6
+ compatible = "brcm,bcm2708";
7
+
8
+ fragment@0 {
9
+ target = <&i2s>;
10
+ __overlay__ {
11
+ status = "okay";
12
+ };
13
+ };
14
+
15
+ fragment@1 {
16
+ target = <&i2c1>;
17
+ __overlay__ {
18
+ #address-cells = <1>;
19
+ #size-cells = <0>;
20
+ status = "okay";
21
+
22
+ pcm5122_4c: pcm5122@4c {
23
+ #sound-dai-cells = <0>;
24
+ compatible = "ti,pcm5122";
25
+ reg = <0x4c>;
26
+ status = "okay";
27
+ };
28
+ pcm5122_4d: pcm5122@4d {
29
+ #sound-dai-cells = <0>;
30
+ compatible = "ti,pcm5122";
31
+ reg = <0x4d>;
32
+ status = "okay";
33
+ };
34
+ };
35
+ };
36
+
37
+ fragment@2 {
38
+ target = <&sound>;
39
+ piano_dac: __overlay__ {
40
+ compatible = "allo,piano-dac-plus";
41
+ audio-codec = <&pcm5122_4c &pcm5122_4d>;
42
+ i2s-controller = <&i2s>;
43
+ status = "okay";
44
+ };
45
+ };
46
+
47
+ __overrides__ {
48
+ 24db_digital_gain =
49
+ <&piano_dac>,"piano,24db_digital_gain?";
50
+ };
51
+ };
Original file line number Diff line number Diff line change @@ -162,6 +162,13 @@ config SND_BCM2708_SOC_ALLO_PIANO_DAC
162
162
help
163
163
Say Y or M if you want to add support for Allo Piano DAC.
164
164
165
+ config SND_BCM2708_SOC_ALLO_PIANO_DAC_PLUS
166
+ tristate "Support for Allo Piano DAC Plus"
167
+ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S
168
+ select SND_SOC_PCM512x_I2C
169
+ help
170
+ Say Y or M if you want to add support for Allo Piano DAC Plus.
171
+
165
172
config SND_BCM2708_SOC_FE_PI_AUDIO
166
173
tristate "Support for Fe-Pi-Audio"
167
174
depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ snd-soc-digidac1-soundcard-objs := digidac1-soundcard.o
32
32
snd-soc-dionaudio-loco-objs := dionaudio_loco.o
33
33
snd-soc-dionaudio-loco-v2-objs := dionaudio_loco-v2.o
34
34
snd-soc-allo-piano-dac-objs := allo-piano-dac.o
35
+ snd-soc-allo-piano-dac-plus-objs := allo-piano-dac-plus.o
35
36
snd-soc-pisound-objs := pisound.o
36
37
snd-soc-fe-pi-audio-objs := fe-pi-audio.o
37
38
@@ -56,5 +57,6 @@ obj-$(CONFIG_SND_DIGIDAC1_SOUNDCARD) += snd-soc-digidac1-soundcard.o
56
57
obj-$(CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO) += snd-soc-dionaudio-loco.o
57
58
obj-$(CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO_V2) += snd-soc-dionaudio-loco-v2.o
58
59
obj-$(CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC) += snd-soc-allo-piano-dac.o
60
+ obj-$(CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC_PLUS) += snd-soc-allo-piano-dac-plus.o
59
61
obj-$(CONFIG_SND_PISOUND) += snd-soc-pisound.o
60
62
obj-$(CONFIG_SND_BCM2708_SOC_FE_PI_AUDIO) += snd-soc-fe-pi-audio.o
You can’t perform that action at this time.
0 commit comments