comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/cards/pistachio-card.conf @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 #
2 # Configuration for the pistachio chip.
3 #
4 # The data sheet of the chip and technical reference manual can be
5 found at
6 https://docs.creatordev.io/ci40/guides/hardwaredocs/cXT200_datasheet2.p
7 df # and
8 https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technical_Reference_Manual_1.0.112.pdf.
9 #
10 # The list of hardware devices is as per below:
11 #
12 # root@OpenWrt:/# arecord -l
13 # **** List of CAPTURE Hardware Devices **** card 0: pistachiocard [pistachio-card], device 1: pistachio-spdif-in snd-soc-dummy-dai-1 []
14 # Subdevices: 1/1
15 # Subdevice #0: subdevice #0
16 # card 0: pistachiocard [pistachio-card], device 4: pistachio-i2s-in-0 snd-soc-dummy-dai-4 []
17 # Subdevices: 1/1
18 # Subdevice #0: subdevice #0
19 #
20 # root@OpenWrt:/# aplay -l
21 # **** List of PLAYBACK Hardware Devices **** card 0: pistachiocard [pistachio-card], device 0: pistachio-spdif-out snd-soc-dummy-dai-0 []
22 # Subdevices: 1/1
23 # Subdevice #0: subdevice #0
24 # card 0: pistachiocard [pistachio-card], device 2: pistachio-parallel-out pistachio_internal_dac-2 []
25 # Subdevices: 1/1
26 # Subdevice #0: subdevice #0
27 # card 0: pistachiocard [pistachio-card], device 3: pistachio-i2s-out snd-soc-dummy-dai-3 []
28 # Subdevices: 1/1
29 # Subdevice #0: subdevice #0
30 #
31
32 pistachio-card.pcm.default{
33 @args [ CARD ]
34 @args.CARD {
35 type string
36 default "pistachio"
37 }
38 @args.DEVICE {
39 type integer
40 default 2
41 }
42
43 type asym
44 capture.pcm {
45 type multi
46 slaves.a.pcm "hw:0,4"
47 slaves.a.channels 12
48 bindings.0.slave a
49 bindings.0.channel 4
50 bindings.1.slave a
51 bindings.1.channel 5
52 }
53
54 playback.pcm {
55 type hw
56 card $CARD
57 device $DEVICE
58