All of lore.kernel.org
 help / color / mirror / Atom feed
From: <manohar.narkhede@imgtec.com>
To: patch@alsa-project.org
Cc: Manohar Narkhede <Manohar.Narkhede@imgtec.com>,
	alsa-devel@alsa-project.org
Subject: [PATCH - alsa-lib 1/1] conf/cards: add support for pistachio-card.
Date: Mon, 28 Nov 2016 15:03:11 +0530	[thread overview]
Message-ID: <1480325591-4681-1-git-send-email-manohar.narkhede@imgtec.com> (raw)

From: Manohar Narkhede <Manohar.Narkhede@imgtec.com>

Signed-off-by: Manohar Narkhede <Manohar.Narkhede@imgtec.com>

diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
index 008d399..60b5309 100644
--- a/src/conf/cards/Makefile.am
+++ b/src/conf/cards/Makefile.am
@@ -39,6 +39,7 @@ cfg_files = aliases.conf \
 	Maestro3.conf \
 	NFORCE.conf \
 	PC-Speaker.conf \
+	pistachio-card.conf \
 	PMac.conf \
 	PMacToonie.conf \
 	PS3.conf \
diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
index 4a92fb2..60f9d26 100644
--- a/src/conf/cards/aliases.conf
+++ b/src/conf/cards/aliases.conf
@@ -55,6 +55,7 @@ AV100 cards.CMI8788
 AV200 cards.CMI8788
 CMI8786 cards.CMI8788
 CMI8787 cards.CMI8788
+pistachio cards.pistachio-card
 
 <confdir:pcm/default.conf>
 <confdir:pcm/dmix.conf>
diff --git a/src/conf/cards/pistachio-card.conf b/src/conf/cards/pistachio-card.conf
new file mode 100644
index 0000000..9c0318d
--- /dev/null
+++ b/src/conf/cards/pistachio-card.conf
@@ -0,0 +1,34 @@
+#
+# Configuration for the pistachio chip
+#
+
+pistachio-card.pcm.default{
+        @args [ CARD ]
+        @args.CARD {
+                type string
+                default "pistachio"
+        }
+        @args.DEVICE {
+                type integer
+                default 2
+        }
+
+        type asym
+        capture.pcm {
+                type multi
+                slaves.a.pcm "hw:0,4"
+                slaves.a.channels 12
+                bindings.0.slave a
+                bindings.0.channel 4
+                bindings.1.slave a
+                bindings.1.channel 5
+        }
+
+        playback.pcm {
+                type hw
+                card $CARD
+                device $DEVICE
+
+        }
+
+}
-- 
2.1.0

             reply	other threads:[~2016-11-28  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28  9:33 manohar.narkhede [this message]
2016-11-28 14:05 ` [PATCH - alsa-lib 1/1] conf/cards: add support for pistachio-card Takashi Iwai
2016-12-15  7:27   ` Manohar Narkhede
2016-12-28 15:26     ` Takashi Iwai
2017-01-04 10:43 manohar.narkhede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480325591-4681-1-git-send-email-manohar.narkhede@imgtec.com \
    --to=manohar.narkhede@imgtec.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=patch@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.