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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
|
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2019 OpenWrt.org
define KernelPackage/sound-arm-bcm2835
TITLE:=BCM2835 ALSA driver
KCONFIG:= \
CONFIG_SND_ARM=y \
CONFIG_SND_BCM2835 \
CONFIG_SND_ARMAACI=n
FILES:= \
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko
AUTOLOAD:=$(call AutoLoad,68,snd-bcm2835)
DEPENDS:=@TARGET_bcm27xx
$(call AddDepends/sound)
endef
define KernelPackage/sound-arm-bcm2835/description
This package contains the BCM2835 ALSA pcm card driver
endef
$(eval $(call KernelPackage,sound-arm-bcm2835))
define KernelPackage/sound-soc-bcm2835-i2s
TITLE:=SoC Audio support for the Broadcom 2835 I2S module
KCONFIG:= \
CONFIG_SND_BCM2835_SOC_I2S \
CONFIG_SND_SOC_AD193X_SPI=n \
CONFIG_SND_SOC_AD193X_I2C=n \
CONFIG_SND_SOC_DMAENGINE_PCM=y \
CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
DEPENDS:=@TARGET_bcm27xx +kmod-sound-soc-core
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-bcm2835-i2s/description
This package contains support for codecs attached to the Broadcom 2835 I2S interface
endef
$(eval $(call KernelPackage,sound-soc-bcm2835-i2s))
define KernelPackage/sound-soc-rpi-simple-soundcard
TITLE:=Support for Raspberry Pi simple soundcards
KCONFIG:= \
CONFIG_SND_RPI_SIMPLE_SOUNDCARD
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-simple-soundcard.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-rpi-simple-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-rpi-simple-soundcard/description
This package contains support for Raspbery Pi simple soundcards
endef
$(eval $(call KernelPackage,sound-soc-rpi-simple-soundcard))
define KernelPackage/sound-soc-rpi-wm8804-soundcard
TITLE:=Support for Raspberry Pi generic WM8804 soundcards
KCONFIG:= \
CONFIG_SND_RPI_WM8804_SOUNDCARD
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-wm8804-soundcard.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-rpi-wm8804-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-rpi-wm8804-soundcard/description
This package contains support for Raspbery Pi simple soundcards
endef
$(eval $(call KernelPackage,sound-soc-rpi-wm8804-soundcard))
define KernelPackage/sound-soc-adau1977-adc
TITLE:=Support for ADAU1977 ADC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_ADAU1977_ADC \
CONFIG_SND_SOC_ADAU1977 \
CONFIG_SND_SOC_ADAU1977_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-adau1977.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-adau1977-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-adau1977 snd-soc-adau1977-i2c)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-adau1977-adc/description
This package contains support for ADAU1977 ADC
endef
$(eval $(call KernelPackage,sound-soc-adau1977-adc))
define KernelPackage/sound-soc-allo-boss-dac
TITLE:=Support for Allo Boss DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_ALLO_BOSS_DAC \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-boss-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
snd-soc-allo-boss-dac)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-boss-dac/description
This package contains support for Allo Boss DAC
endef
$(eval $(call KernelPackage,sound-soc-allo-boss-dac))
define KernelPackage/sound-soc-allo-boss2-dac
TITLE:=Support for Allo Boss2 DAC
KCONFIG:= \
CONFIG_SND_AUDIO_GRAPH_CARD \
CONFIG_SND_BCM2708_SOC_ALLO_BOSS2_DAC
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-boss2-dac.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-allo-boss2-dac)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-boss2-dac/description
This package contains support for Allo Boss2 DAC
endef
$(eval $(call KernelPackage,sound-soc-allo-boss2-dac))
define KernelPackage/sound-soc-allo-digione
TITLE:=Support for Allo Piano DigiOne
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_ALLO_DIGIONE \
CONFIG_SND_SOC_WM8804 \
CONFIG_SND_SOC_WM8804_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804-i2c snd-soc-wm8804 \
snd-soc-allo-digione)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-wm8804-soundcard \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-digione/description
This package contains support for Allo DigiOne
endef
$(eval $(call KernelPackage,sound-soc-allo-digione))
define KernelPackage/sound-soc-allo-piano-dac
TITLE:=Support for Allo Piano DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-piano-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
snd-soc-allo-piano-dac)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-piano-dac/description
This package contains support for Allo Piano DAC
endef
$(eval $(call KernelPackage,sound-soc-allo-piano-dac))
define KernelPackage/sound-soc-allo-piano-dac-plus
TITLE:=Support for Allo Piano DAC Plus
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC_PLUS \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-piano-dac-plus.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
snd-soc-allo-piano-dac-plus)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-piano-dac-plus/description
This package contains support for Allo Piano DAC Plus
endef
$(eval $(call KernelPackage,sound-soc-allo-piano-dac-plus))
define KernelPackage/sound-soc-audiosense-pi
TITLE:=Support for AudioSense Add-On Soundcard
KCONFIG:= \
CONFIG_SND_AUDIOSENSE_PI \
CONFIG_SND_SOC_TLV320AIC32X4 \
CONFIG_SND_SOC_TLV320AIC32X4_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-audiosense-pi.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic32x4.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic32x4-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-tlv320aic32x4-i2c snd-soc-tlv320aic32x4 \
snd-soc-audiosense-pi)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-audiosense-pi/description
This package contains support for AudioSense Add-On Soundcard
endef
$(eval $(call KernelPackage,sound-soc-audiosense-pi))
define KernelPackage/sound-soc-allo-katana-codec
TITLE:=Support for Allo Katana DAC
KCONFIG:= \
CONFIG_SND_AUDIO_GRAPH_CARD \
CONFIG_SND_BCM2708_SOC_ALLO_KATANA_DAC \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C \
CONFIG_SND_SIMPLE_CARD_UTILS
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-katana-codec.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
snd-soc-allo-katana-codec)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-allo-katana-codec/description
This package contains support for Allo Katana DAC
endef
$(eval $(call KernelPackage,sound-soc-allo-katana-codec))
define KernelPackage/sound-soc-audioinjector-isolated-soundcard
TITLE:=Support for AudioInjector Isolated soundcard
KCONFIG:= \
CONFIG_SND_AUDIOINJECTOR_ISOLATED_SOUNDCARD \
CONFIG_SND_SOC_CS4271 \
CONFIG_SND_SOC_CS4271_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-audioinjector-isolated-soundcard.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-cs4271.o \
snd-soc-cs4271-i2c \
snd-soc-audioinjector-isolated-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c \
+kmod-regmap-spi
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-audioinjector-isolated-soundcard/description
This package contains support for AudioInjector Isolated soundcard
endef
$(eval $(call KernelPackage,sound-soc-audioinjector-isolated-soundcard))
define KernelPackage/sound-soc-audioinjector-octo-soundcard
TITLE:=Support for AudioInjector Octo soundcard
KCONFIG:= \
CONFIG_SND_AUDIOINJECTOR_OCTO_SOUNDCARD \
CONFIG_SND_SOC_CS42XX8 \
CONFIG_SND_SOC_CS42XX8_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-audioinjector-octo-soundcard.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-cs42xx8.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-cs42xx8-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc- \
snd-soc-audioinjector-octo-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-audioinjector-octo-soundcard/description
This package contains support for AudioInjector Octo soundcard
endef
$(eval $(call KernelPackage,sound-soc-audioinjector-octo-soundcard))
define KernelPackage/sound-soc-audioinjector-pi-soundcard
TITLE:=Support for AudioInjector Pi soundcard
KCONFIG:= \
CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD \
CONFIG_SND_SOC_WM8731
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 \
snd-soc-audioinjector-pi-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c \
+kmod-regmap-spi
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-audioinjector-pi-soundcard/description
This package contains support for AudioInjector Pi soundcard
endef
$(eval $(call KernelPackage,sound-soc-audioinjector-pi-soundcard))
define KernelPackage/sound-soc-digidac1-soundcard
TITLE:=Support for RRA DigiDAC1
KCONFIG:= \
CONFIG_SND_DIGIDAC1_SOUNDCARD \
CONFIG_SND_SOC_WM8741 \
CONFIG_SND_SOC_WM8804 \
CONFIG_SND_SOC_WM8804_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-digidac1-soundcard.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8741.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8741 \
snd-soc-wm8804 snd-soc-wm8804-i2c \
snd-soc-digidac1-soundcard)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c \
+kmod-regmap-spi
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-digidac1-soundcard/description
This package contains support for RRA DigiDAC1
endef
$(eval $(call KernelPackage,sound-soc-digidac1-soundcard))
define KernelPackage/sound-soc-dionaudio-loco
TITLE:=Support for Dion Audio LOCO DAC-AMP
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO \
CONFIG_SND_SOC_PCM5102A
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-dionaudio-loco.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a \
snd-soc-dionaudio-loco)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-dionaudio-loco/description
This package contains support for Dion Audio LOCO DAC-AMP
endef
$(eval $(call KernelPackage,sound-soc-dionaudio-loco))
define KernelPackage/sound-soc-dionaudio-loco-v2
TITLE:=Support for Dion Audio LOCO-V2 DAC-AMP
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO_V2 \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-dionaudio-loco.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
snd-soc-dionaudio-loco)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-dionaudio-loco-v2/description
This package contains support for Dion Audio LOCO-V2 DAC-AMP
endef
$(eval $(call KernelPackage,sound-soc-dionaudio-loco-v2))
define KernelPackage/sound-soc-fe-pi
TITLE:=Support for Fe-Pi Audio Sound Card
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_FE_PI_AUDIO \
CONFIG_SND_SOC_SGTL5000
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-fe-pi-audio.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-sgtl5000.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-sgtl5000 \
snd-soc-fe-pi-audio)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-fe-pi/description
This package contains support for Fe-Pi Audio Sound Card
endef
$(eval $(call KernelPackage,sound-soc-fe-pi))
define KernelPackage/sound-soc-googlevoicehat
TITLE:=Support for Google VoiceHAT Sound Card
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_GOOGLEVOICEHAT_SOUNDCARD \
CONFIG_SND_SOC_VOICEHAT
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-googlevoicehat-codec.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-googlevoicehat-codec)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-googlevoicehat/description
This package contains support for Google VoiceHAT Sound Card
endef
$(eval $(call KernelPackage,sound-soc-googlevoicehat))
define KernelPackage/sound-soc-hifiberry-dac
TITLE:=Support for HifiBerry DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC \
CONFIG_SND_SOC_PCM5102A
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dac/description
This package contains support for HifiBerry DAC
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dac))
define KernelPackage/sound-soc-hifiberry-dacplus
TITLE:=Support for HifiBerry DAC+ / DAC+ Pro
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS \
CONFIG_SND_SOC_PCM512x
FILES:= \
$(LINUX_DIR)/drivers/clk/clk-hifiberry-dacpro.ko \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
AUTOLOAD:=$(call AutoLoad,68,clk-hifiberry-dacpro snd-soc-pcm512x \
snd-soc-hifiberry-dacplus)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dacplus/description
This package contains support for HifiBerry DAC+ / DAC+ Pro
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplus))
define KernelPackage/sound-soc-hifiberry-dacplusadc
TITLE:=Support for HifiBerry DAC+ADC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADC \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_DMIC
FILES:= \
$(LINUX_DIR)/drivers/clk/clk-hifiberry-dacpro.ko \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplusadc.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-dmic.ko
AUTOLOAD:=$(call AutoLoad,68,clk-hifiberry-dacpro snd-soc-pcm512x \
snd-soc-dmic snd-soc-hifiberry-dacplusadc)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dacplusadc/description
This package contains support for HifiBerry DAC+ADC
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplusadc))
define KernelPackage/sound-soc-hifiberry-dacplusdsp
TITLE:=Support for HifiBerry DAC+DSP
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplusdsp.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-hifiberry-dacplusdsp)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dacplusdsp/description
This package contains support for HifiBerry DAC+DSP
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplusdsp))
define KernelPackage/sound-soc-hifiberry-dacplushd
TITLE:=Support for HifiBerry DAC+HD
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSHD \
CONFIG_SND_SOC_PCM179X \
CONFIG_SND_SOC_PCM179X_I2C
FILES:= \
$(LINUX_DIR)/drivers/clk/clk-hifiberry-dachd.ko \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplushd.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm179x-codec.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm179x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,clk-hifiberry-dachd snd-soc-pcm179x-codec \
snd-soc-pcm179x-i2c snd-soc-hifiberry-dacplushd)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dacplushd/description
This package contains support for HifiBerry DAC+HD
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplushd))
define KernelPackage/sound-soc-hifiberry-dacplusadc-pro
TITLE:=Support for HifiBerry DAC+ADC PRO
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSADCPRO \
CONFIG_SND_SOC_PCM186X \
CONFIG_SND_SOC_PCM186X_I2C \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplusadcpro.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm186x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm186x-i2c.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm186x snd-soc-pcm186x-i2c \
snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-hifiberry-dacplusadcpro)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-dacplusadc-pro/description
This package contains support for HifiBerry DAC+ADC PRO
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplusadc-pro))
define KernelPackage/sound-soc-hifiberry-digi
TITLE:=Support for HifiBerry Digi / Digi+ / Digi+ Pro
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI \
CONFIG_SND_SOC_WM8804
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-wm8804-soundcard \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-digi/description
This package contains support for HifiBerry Digi
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-digi))
define KernelPackage/sound-soc-hifiberry-amp
TITLE:=Support for HifiBerry Amp
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP \
CONFIG_SND_SOC_TAS5713
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tas5713.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-hifiberry-amp/description
This package contains support for HifiBerry Amp
endef
$(eval $(call KernelPackage,sound-soc-hifiberry-amp))
define KernelPackage/sound-soc-iqaudio-codec
TITLE:=Support for IQaudIO-CODEC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_IQAUDIO_CODEC \
CONFIG_SND_SOC_DA7213
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-iqaudio-codec.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-da7213.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-da7213 snd-soc-iqaudio-codec)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-iqaudio-codec/description
This package contains support for IQaudIO-CODEC
endef
$(eval $(call KernelPackage,sound-soc-iqaudio-codec))
define KernelPackage/sound-soc-iqaudio-dac
TITLE:=Support for IQaudIO-DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_PCM512x_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-iqaudio-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
snd-soc-iqaudio-dac)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-iqaudio-dac/description
This package contains support for IQaudIO-DAC
endef
$(eval $(call KernelPackage,sound-soc-iqaudio-dac))
define KernelPackage/sound-soc-iqaudio-digi
TITLE:=Support for IQaudIO-DIGI
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI \
CONFIG_SND_SOC_WM8804 \
CONFIG_SND_SOC_WM8804_I2C
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804-i2c.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-wm8804-i2c)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-wm8804-soundcard \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-iqaudio-digi/description
This package contains support for IQaudIO-DIGI
endef
$(eval $(call KernelPackage,sound-soc-iqaudio-digi))
define KernelPackage/sound-soc-i-sabe-q2m
TITLE:=Support for Audiophonics I-Sabre Q2M DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_I_SABRE_Q2M \
CONFIG_SND_SOC_I_SABRE_CODEC
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-i-sabre-q2m.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-i-sabre-codec.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-i-sabre-codec snd-soc-i-sabre-q2m)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-i-sabe-q2m/description
This package contains support for Audiophonics I-SABRE Q2M DAC
endef
$(eval $(call KernelPackage,sound-soc-i-sabe-q2m))
define KernelPackage/sound-soc-justboom-both
TITLE:=Support for JustBoom DAC and Digi
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_JUSTBOOM_BOTH \
CONFIG_SND_SOC_PCM512x \
CONFIG_SND_SOC_WM8804
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-justboom-both.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-wm8804 \
snd-soc-justboom-both)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-wm8804-soundcard \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-justboom-both/description
This package contains support for JustBoom DAC and Digi
endef
$(eval $(call KernelPackage,sound-soc-justboom-both))
define KernelPackage/sound-soc-justboom-dac
TITLE:=Support for JustBoom DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC \
CONFIG_SND_SOC_PCM512x
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-justboom-dac.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-justboom-dac)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-justboom-dac/description
This package contains support for JustBoom DAC
endef
$(eval $(call KernelPackage,sound-soc-justboom-dac))
define KernelPackage/sound-soc-justboom-digi
TITLE:=Support for JustBoom Digi
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI \
CONFIG_SND_SOC_WM8804
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-wm8804-soundcard \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-justboom-digi/description
This package contains support for JustBoom Digi
endef
$(eval $(call KernelPackage,sound-soc-justboom-digi))
define KernelPackage/sound-soc-pifi-40-amp
TITLE:=Support for PiFi-40 amp
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_PIFI_40 \
CONFIG_SND_PIFI_40 \
CONFIG_SND_SOC_TAS571X
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-pifi-40.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-tas571x.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas571x)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-pifi-40-amp/description
This package contains support for PiFi-40 amp
endef
$(eval $(call KernelPackage,sound-soc-pifi-40-amp))
define KernelPackage/sound-soc-pisound
TITLE:=Support for Blokas Labs PiSound
KCONFIG:= \
CONFIG_SND_PISOUND \
CONFIG_SND_SOC_PCM5102A
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-pisound.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-pisound)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-pisound/description
This package contains support for Blokas Labs PiSound
endef
$(eval $(call KernelPackage,sound-soc-pisound))
define KernelPackage/sound-soc-rpi-cirrus
TITLE:=Support for Cirrus Logic Audio Card
KCONFIG:= \
CONFIG_GPIO_ARIZONA \
CONFIG_INPUT_ARIZONA_HAPTICS=n \
CONFIG_MFD_ARIZONA=y \
CONFIG_MFD_ARIZONA_I2C \
CONFIG_MFD_CS47L24=n \
CONFIG_MFD_WM5102=n \
CONFIG_MFD_WM5110=n \
CONFIG_MFD_WM8997=n \
CONFIG_MFD_WM8998=n \
CONFIG_REGULATOR_ARIZONA \
CONFIG_REGULATOR_ARIZONA_LDO1 \
CONFIG_REGULATOR_ARIZONA_MICSUPP \
CONFIG_SND_BCM2708_SOC_RPI_CIRRUS \
CONFIG_SND_SOC_ARIZONA \
CONFIG_SND_SOC_WM5102 \
CONFIG_SND_SOC_WM8804 \
CONFIG_SND_SOC_WM_ADSP
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-cirrus.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-arizona.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm-adsp.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm5102.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a snd-soc-rpi-cirrus)
DEPENDS:= \
+kmod-i2c-bcm2835 \
kmod-sound-soc-bcm2835-i2s
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-rpi-cirrus/description
This package contains support for RPi-Cirrus
endef
$(eval $(call KernelPackage,sound-soc-rpi-cirrus))
define KernelPackage/sound-soc-rpi-dac
TITLE:=Support for RPi-DAC
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_RPI_DAC \
CONFIG_SND_SOC_PCM1794A
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm1794a.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard \
+kmod-i2c-bcm2835
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-rpi-dac/description
This package contains support for RPi-DAC
endef
$(eval $(call KernelPackage,sound-soc-rpi-dac))
define KernelPackage/sound-soc-merus-amp
TITLE:=Support for Infineon Merus Amp
KCONFIG:= \
CONFIG_SND_SOC_MA120X0P
FILES:= \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-ma120x0p.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-ma120x0p)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-sound-soc-rpi-simple-soundcard \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-merus-amp/description
This package contains support for Infineon Merus Amp
endef
$(eval $(call KernelPackage,sound-soc-merus-amp))
define KernelPackage/sound-soc-rpi-proto
TITLE:=Support for RPi-PROTO
KCONFIG:= \
CONFIG_SND_BCM2708_SOC_RPI_PROTO \
CONFIG_SND_SOC_WM8731
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-proto.ko \
$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto)
DEPENDS:= \
kmod-sound-soc-bcm2835-i2s \
+kmod-i2c-bcm2835 \
+kmod-regmap-i2c \
+kmod-regmap-spi
$(call AddDepends/sound)
endef
define KernelPackage/sound-soc-rpi-proto/description
This package contains support for RPi-PROTO
endef
$(eval $(call KernelPackage,sound-soc-rpi-proto))
|