Blame src/conf/cards/pistachio-card.conf
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
# Configuration for the pistachio chip.
|
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
# The data sheet of the chip and technical reference manual can be
|
|
Packit Service |
db8eaa |
found at
|
|
Packit Service |
db8eaa |
https://docs.creatordev.io/ci40/guides/hardwaredocs/cXT200_datasheet2.p
|
|
Packit Service |
db8eaa |
df # and
|
|
Packit Service |
db8eaa |
https://docs.creatordev.io/ci40/guides/hardwaredocs/MIPS_Creator_cXT200_Technical_Reference_Manual_1.0.112.pdf.
|
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
# The list of hardware devices is as per below:
|
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
# root@OpenWrt:/# arecord -l
|
|
Packit Service |
db8eaa |
# **** List of CAPTURE Hardware Devices **** card 0: pistachiocard [pistachio-card], device 1: pistachio-spdif-in snd-soc-dummy-dai-1 []
|
|
Packit Service |
db8eaa |
# Subdevices: 1/1
|
|
Packit Service |
db8eaa |
# Subdevice #0: subdevice #0
|
|
Packit Service |
db8eaa |
# card 0: pistachiocard [pistachio-card], device 4: pistachio-i2s-in-0 snd-soc-dummy-dai-4 []
|
|
Packit Service |
db8eaa |
# Subdevices: 1/1
|
|
Packit Service |
db8eaa |
# Subdevice #0: subdevice #0
|
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
# root@OpenWrt:/# aplay -l
|
|
Packit Service |
db8eaa |
# **** List of PLAYBACK Hardware Devices **** card 0: pistachiocard [pistachio-card], device 0: pistachio-spdif-out snd-soc-dummy-dai-0 []
|
|
Packit Service |
db8eaa |
# Subdevices: 1/1
|
|
Packit Service |
db8eaa |
# Subdevice #0: subdevice #0
|
|
Packit Service |
db8eaa |
# card 0: pistachiocard [pistachio-card], device 2: pistachio-parallel-out pistachio_internal_dac-2 []
|
|
Packit Service |
db8eaa |
# Subdevices: 1/1
|
|
Packit Service |
db8eaa |
# Subdevice #0: subdevice #0
|
|
Packit Service |
db8eaa |
# card 0: pistachiocard [pistachio-card], device 3: pistachio-i2s-out snd-soc-dummy-dai-3 []
|
|
Packit Service |
db8eaa |
# Subdevices: 1/1
|
|
Packit Service |
db8eaa |
# Subdevice #0: subdevice #0
|
|
Packit Service |
db8eaa |
#
|
|
Packit Service |
db8eaa |
|
|
Packit Service |
db8eaa |
pistachio-card.pcm.default{
|
|
Packit Service |
db8eaa |
@args [ CARD ]
|
|
Packit Service |
db8eaa |
@args.CARD {
|
|
Packit Service |
db8eaa |
type string
|
|
Packit Service |
db8eaa |
default "pistachio"
|
|
Packit Service |
db8eaa |
}
|
|
Packit Service |
db8eaa |
@args.DEVICE {
|
|
Packit Service |
db8eaa |
type integer
|
|
Packit Service |
db8eaa |
default 2
|
|
Packit Service |
db8eaa |
}
|
|
Packit Service |
db8eaa |
|
|
Packit Service |
db8eaa |
type asym
|
|
Packit Service |
db8eaa |
capture.pcm {
|
|
Packit Service |
db8eaa |
type multi
|
|
Packit Service |
db8eaa |
slaves.a.pcm "hw:0,4"
|
|
Packit Service |
db8eaa |
slaves.a.channels 12
|
|
Packit Service |
db8eaa |
bindings.0.slave a
|
|
Packit Service |
db8eaa |
bindings.0.channel 4
|
|
Packit Service |
db8eaa |
bindings.1.slave a
|
|
Packit Service |
db8eaa |
bindings.1.channel 5
|
|
Packit Service |
db8eaa |
}
|
|
Packit Service |
db8eaa |
|
|
Packit Service |
db8eaa |
playback.pcm {
|
|
Packit Service |
db8eaa |
type hw
|
|
Packit Service |
db8eaa |
card $CARD
|
|
Packit Service |
db8eaa |
device $DEVICE
|
|
Packit Service |
db8eaa |
|