From patchwork Sun May 16 15:46:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Contreras X-Patchwork-Id: 99982 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4GFlHkW025489 for ; Sun, 16 May 2010 15:47:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754045Ab0EPPrR (ORCPT ); Sun, 16 May 2010 11:47:17 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:65511 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754031Ab0EPPrQ (ORCPT ); Sun, 16 May 2010 11:47:16 -0400 Received: by fg-out-1718.google.com with SMTP id 22so178779fge.1 for ; Sun, 16 May 2010 08:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=YedI2jhoKQYVYomxzMVvEubR3c+kFo9jyE9czgbYRAE=; b=jq1R/7yQ+XkEkVQj14FMgWoAnmkk7hBsRU/4hvCkcnpNYQDlpZDb9tQQ8FzIrMoq14 AAw5oQJc0zmv43UUt4yQRfqZwutWjAI3IlJWJ153gZ4mS/hFji7prWtl7a0DbArUjYZF OvwF7PkCRNW7nUpiU6OkSGz9LunL+5FkH5e5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=seZ1sR6tmDks6ffal9Zp+W+bPkLHByU9BizhA+g8bH5qF5ZQeO2DiW6f+sUbPWb5bG J963snr5IOkN5hQL1bp5YvDMNMSCnixSjgB8HKqsfjWLKht/HqCHwCHD0R3dmD0kXuHd pFUvhZH7mw5gGKGfOA7K1ceDgIY0zFwKC1oVc= Received: by 10.87.58.22 with SMTP id l22mr6773052fgk.56.1274024832659; Sun, 16 May 2010 08:47:12 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id d4sm11693910fga.20.2010.05.16.08.47.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 May 2010 08:47:11 -0700 (PDT) From: Felipe Contreras To: linux-omap Cc: Omar Ramirez Luna , Fernando Guzman Lugo , Felipe Contreras Subject: [PATCH 3/5] dspbridge: improve Kconfig Date: Sun, 16 May 2010 18:46:59 +0300 Message-Id: <1274024821-21178-4-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1274024821-21178-1-git-send-email-felipe.contreras@gmail.com> References: <1274024821-21178-1-git-send-email-felipe.contreras@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 16 May 2010 15:47:19 +0000 (UTC) diff --git a/drivers/dsp/bridge/Kconfig b/drivers/dsp/bridge/Kconfig index 75c1a1c..b2af858 100644 --- a/drivers/dsp/bridge/Kconfig +++ b/drivers/dsp/bridge/Kconfig @@ -4,7 +4,7 @@ menuconfig OMAP_DSP tristate "DSP Bridge driver" - default n + depends on ARCH_OMAP34XX select OMAP_MBOX_FWK help DSP/BIOS Bridge is designed for platforms that contain a GPP and @@ -17,7 +17,6 @@ menuconfig OMAP_DSP config OMAP_DSP_DVFS bool "Enable Bridge Dynamic Voltage and Frequency Scaling (DVFS)" depends on OMAP_DSP && OMAP_PM_SRF && CPU_FREQ - default n help DVFS allows DSP Bridge to initiate the operating point change to scale the chip voltage and frequency in order to match the @@ -33,22 +32,22 @@ config OMAP_DSP_MEMPOOL_SIZE failure under heavy memory fragmentation after some use time. config OMAP_DSP_DEBUG - bool "DSP Bridge Debug Support" + bool "Debug Support" depends on OMAP_DSP help Say Y to enable Bridge debugging capabilities config OMAP_DSP_RECOVERY - bool "DSP Recovery Support" + bool "Recovery Support" depends on OMAP_DSP + default y help In case of DSP fatal error, BRIDGE driver will try to recover itself. config OMAP_DSP_CACHE_LINE_CHECK - bool "Check buffers to be 128 byte aligned" + bool "Check buffers to be 128-byte aligned" depends on OMAP_DSP - default n help When the DSP processes data, the DSP cache controller loads 128-Byte chunks (lines) from SDRAM and writes the data back in 128-Byte chunks. @@ -60,27 +59,23 @@ config OMAP_DSP_CACHE_LINE_CHECK byte alignment, buffers failing this check will be rejected. config OMAP_DSP_WDT3 - bool "Enable WDT3 interruptions" + bool "Enable watchdog timer" depends on OMAP_DSP - default n help WTD3 is managed by DSP and once it is enabled, DSP side bridge is in charge of refreshing the timer before overflow, if the DSP hangs MPU will caught the interrupt and try to recover DSP. config OMAP_DSP_WDT_TIMEOUT - int "DSP watchdog timer timeout (in secs)" - depends on OMAP_DSP_WDT3 + int "Watchdog timer timeout (in secs)" + depends on OMAP_DSP && BRIDGE_WDT3 default 5 help Watchdog timer timeout value, after that time if the watchdog timer counter is not reset the wdt overflow interrupt will be triggered -comment "Bridge Notifications" - depends on OMAP_DSP - config OMAP_DSP_NTFY_PWRERR - bool "Notify DSP Power Error" + bool "Notify power errors" depends on OMAP_DSP help Enable notifications to registered clients on the event of power errror