From patchwork Fri May 13 21:26:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Gardiner X-Patchwork-Id: 784202 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4DLSEWO020938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 May 2011 21:28:37 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p4DLQwo5001678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 May 2011 16:26:58 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4DLQvX7025707; Fri, 13 May 2011 16:26:57 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 10B7680630; Fri, 13 May 2011 16:26:57 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 5BB7E80627 for ; Fri, 13 May 2011 16:26:55 -0500 (CDT) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id p4DLQsHI029053 for ; Fri, 13 May 2011 16:26:54 -0500 (CDT) Received: from psmtp.com (na3sys009amx183.postini.com [74.125.149.164]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id p4DLQrFj031353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 May 2011 16:26:53 -0500 Received: from na3sys009aog114.obsmtp.com ([209.85.160.173]) (using TLSv1) by na3sys009amx183.postini.com ([74.125.148.10]) with SMTP; Fri, 13 May 2011 17:26:54 EDT Received: from mail-gy0-f173.google.com ([209.85.160.173]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKTc2iHUbSrOCtqj8a0FELQNUbytyDNEbI@postini.com; Fri, 13 May 2011 14:26:54 PDT Received: by mail-gy0-f173.google.com with SMTP id 4so1379164gyg.18 for ; Fri, 13 May 2011 14:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nanometrics.ca; s=google; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=oFE60eZIWIJZWierBzu9ZSmfVZzU87QlDvNP0xjo1N8=; b=X/24rLocepfE0iSun5nQJADxYRoGETiq8GzAXI9uzYTyWXML7tVCTS16Z6ZRltwQek NXl72XB4ZdFvyiaW9IbLWm9ax7aNLoJQi/EDDKL2PUBn4G6ZvvtQSz8hIvxkMgPwD2QG RKaGXx1UKqHc/+qTH4kEbM35ZMMCPGcQ1KmGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=nanometrics.ca; s=google; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=cAyM02WhdVnHPlds2jEWRgze28zK1ElY4VxiJb8zdU71KNtkn1HaJ0Bbw9Gk1Rgkoj Nw8TUKV0zRj2mjU/Xte5DJgI7gq6FF3DgjGXprATUnMjkpGG16ESRenUp+D7ygO9vQ9P lNaT9suEL0TvjSkKJjZuXImbropyw5YxakXBQ= Received: by 10.150.114.8 with SMTP id m8mr643325ybc.290.1305322012937; Fri, 13 May 2011 14:26:52 -0700 (PDT) Received: from localhost.localdomain ([206.191.47.130]) by mx.google.com with ESMTPS id t4sm525285ybe.12.2011.05.13.14.26.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2011 14:26:51 -0700 (PDT) From: Ben Gardiner To: Liam Girdwood , Troy Kisky , Chaithrika U S , alsa-devel@alsa-project.org Subject: [PATCH 2/2] [RFC] da850evm: enable mcasp ping-pong buffers Date: Fri, 13 May 2011 17:26:46 -0400 Message-Id: <2c7ebe78b4abdc0b9c5bf135b8b85a3770ee5502.1305321198.git.bengardiner@nanometrics.ca> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: References: X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: davinci-linux-open-source@linux.davincidsp.com X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 13 May 2011 21:28:46 +0000 (UTC) The davinci--mcasp driver will copy the platform data specified sram_size's and eventq's. Set the eventq's and sram size for da850 and disable CONFIG_SUSPEND so that there is SRAM enough left for the McASP (until the patch to allocate sram from the 128K shared RAM region, then there should be plenty to spare) Not-signed-off-by: Ben Gardiner --- arch/arm/configs/da8xx_omapl_defconfig | 1 + arch/arm/mach-davinci/board-da850-evm.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs/da8xx_omapl_defconfig b/arch/arm/configs/da8xx_omapl_defconfig index 88ccde0..d06c89b 100644 --- a/arch/arm/configs/da8xx_omapl_defconfig +++ b/arch/arm/configs/da8xx_omapl_defconfig @@ -34,6 +34,7 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=m CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_IDLE=y +# CONFIG_SUSPEND is not set CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index a7b41bf..1566480 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -722,10 +722,12 @@ static struct snd_platform_data da850_evm_snd_data = { .num_serializer = ARRAY_SIZE(da850_iis_serializer_direction), .tdm_slots = 2, .serial_dir = da850_iis_serializer_direction, - .asp_chan_q = EVENTQ_1, + .asp_chan_q = EVENTQ_0, + .ram_chan_q = EVENTQ_1, .version = MCASP_VERSION_2, .txnumevt = 1, .rxnumevt = 1, + .sram_size_playback = SZ_8K /* or SZ_4K -- same results */, }; static const short da850_evm_mcasp_pins[] __initconst = {