linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lexszero@gmail.com (Alexey Ignatov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] davinci: DM365: Enable VCIF interrupt
Date: Fri, 10 Apr 2015 02:00:51 +0300	[thread overview]
Message-ID: <1428620479-32696-2-git-send-email-lexszero@gmail.com> (raw)
In-Reply-To: <1428620479-32696-1-git-send-email-lexszero@gmail.com>

This enables VCIF interrupt for DM365.

Signed-off-by: Alexey Ignatov <lexszero@gmail.com>
---
 arch/arm/mach-davinci/dm365.c            | 3 +++
 arch/arm/mach-davinci/include/mach/mux.h | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index 0ae8114..a83ef2e 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -632,6 +632,8 @@ INT_CFG(DM365,  INT_IMX1_ENABLE,     24,    1,    1,     false)
 INT_CFG(DM365,  INT_IMX1_DISABLE,    24,    1,    0,     false)
 INT_CFG(DM365,  INT_NSF_ENABLE,      25,    1,    1,     false)
 INT_CFG(DM365,  INT_NSF_DISABLE,     25,    1,    0,     false)
+INT_CFG(DM365,  INT_VCIF_ENABLE,     7,     1,    1,     false)
+INT_CFG(DM365,  INT_VCIF_DISABLE,    7,     1,    0,     false)
 
 EVT_CFG(DM365,	EVT2_ASP_TX,         0,     1,    0,     false)
 EVT_CFG(DM365,	EVT3_ASP_RX,         1,     1,    0,     false)
@@ -1138,6 +1140,7 @@ void __init dm365_init_vc(struct snd_platform_data *pdata)
 {
 	davinci_cfg_reg(DM365_EVT2_VC_TX);
 	davinci_cfg_reg(DM365_EVT3_VC_RX);
+	davinci_cfg_reg(DM365_INT_VCIF_ENABLE);
 	dm365_vc_device.dev.platform_data = pdata;
 	platform_device_register(&dm365_vc_device);
 }
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
index 631655e..1308731 100644
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -335,6 +335,8 @@ enum davinci_dm365_index {
 	DM365_INT_IMX1_DISABLE,
 	DM365_INT_NSF_ENABLE,
 	DM365_INT_NSF_DISABLE,
+	DM365_INT_VCIF_ENABLE,
+	DM365_INT_VCIF_DISABLE,
 
 	/* EDMA event muxing */
 	DM365_EVT2_ASP_TX,
-- 
2.3.5

  reply	other threads:[~2015-04-09 23:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 23:00 [PATCH 1/2] ASoC: davinci: Clear VCIF read FIFO on errors Alexey Ignatov
2015-04-09 23:00 ` Alexey Ignatov [this message]
2015-04-10  7:19 ` Peter Ujfalusi

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=1428620479-32696-2-git-send-email-lexszero@gmail.com \
    --to=lexszero@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).