logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

pistachio-card.conf (1889B)


  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. pistachio-card.pcm.default{
  32. @args [ CARD ]
  33. @args.CARD {
  34. type string
  35. default "pistachio"
  36. }
  37. @args.DEVICE {
  38. type integer
  39. default 2
  40. }
  41. type asym
  42. capture.pcm {
  43. type multi
  44. slaves.a.pcm "hw:0,4"
  45. slaves.a.channels 12
  46. bindings.0.slave a
  47. bindings.0.channel 4
  48. bindings.1.slave a
  49. bindings.1.channel 5
  50. }
  51. playback.pcm {
  52. type hw
  53. card $CARD
  54. device $DEVICE