Commit ed9ff5d7 authored by Felipe Contreras's avatar Felipe Contreras Committed by Greg Kroah-Hartman

staging: ti dspbridge: improve Kconfig

Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b3d23688
...@@ -17,7 +17,6 @@ menuconfig TIDSPBRIDGE ...@@ -17,7 +17,6 @@ menuconfig TIDSPBRIDGE
config TIDSPBRIDGE_DVFS config TIDSPBRIDGE_DVFS
bool "Enable Bridge Dynamic Voltage and Frequency Scaling (DVFS)" bool "Enable Bridge Dynamic Voltage and Frequency Scaling (DVFS)"
depends on TIDSPBRIDGE && OMAP_PM_SRF && CPU_FREQ depends on TIDSPBRIDGE && OMAP_PM_SRF && CPU_FREQ
default n
help help
DVFS allows DSP Bridge to initiate the operating point change to DVFS allows DSP Bridge to initiate the operating point change to
scale the chip voltage and frequency in order to match the scale the chip voltage and frequency in order to match the
...@@ -33,14 +32,15 @@ config TIDSPBRIDGE_MEMPOOL_SIZE ...@@ -33,14 +32,15 @@ config TIDSPBRIDGE_MEMPOOL_SIZE
failure under heavy memory fragmentation after some use time. failure under heavy memory fragmentation after some use time.
config TIDSPBRIDGE_DEBUG config TIDSPBRIDGE_DEBUG
bool "DSP Bridge Debug Support" bool "Debug Support"
depends on TIDSPBRIDGE depends on TIDSPBRIDGE
help help
Say Y to enable Bridge debugging capabilities Say Y to enable Bridge debugging capabilities
config TIDSPBRIDGE_RECOVERY config TIDSPBRIDGE_RECOVERY
bool "DSP Recovery Support" bool "Recovery Support"
depends on TIDSPBRIDGE depends on TIDSPBRIDGE
default y
help help
In case of DSP fatal error, BRIDGE driver will try to In case of DSP fatal error, BRIDGE driver will try to
recover itself. recover itself.
...@@ -48,7 +48,6 @@ config TIDSPBRIDGE_RECOVERY ...@@ -48,7 +48,6 @@ config TIDSPBRIDGE_RECOVERY
config TIDSPBRIDGE_CACHE_LINE_CHECK config TIDSPBRIDGE_CACHE_LINE_CHECK
bool "Check buffers to be 128 byte aligned" bool "Check buffers to be 128 byte aligned"
depends on TIDSPBRIDGE depends on TIDSPBRIDGE
default n
help help
When the DSP processes data, the DSP cache controller loads 128-Byte 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. chunks (lines) from SDRAM and writes the data back in 128-Byte chunks.
...@@ -60,27 +59,23 @@ config TIDSPBRIDGE_CACHE_LINE_CHECK ...@@ -60,27 +59,23 @@ config TIDSPBRIDGE_CACHE_LINE_CHECK
byte alignment, buffers failing this check will be rejected. byte alignment, buffers failing this check will be rejected.
config TIDSPBRIDGE_WDT3 config TIDSPBRIDGE_WDT3
bool "Enable WDT3 interruptions" bool "Enable watchdog timer"
depends on TIDSPBRIDGE depends on TIDSPBRIDGE
default n
help help
WTD3 is managed by DSP and once it is enabled, DSP side bridge is in 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 charge of refreshing the timer before overflow, if the DSP hangs MPU
will caught the interrupt and try to recover DSP. will caught the interrupt and try to recover DSP.
config TIDSPBRIDGE_WDT_TIMEOUT config TIDSPBRIDGE_WDT_TIMEOUT
int "DSP watchdog timer timeout (in secs)" int "Watchdog timer timeout (in secs)"
depends on TIDSPBRIDGE_WDT3 depends on TIDSPBRIDGE && TIDSPBRIDGE_WDT3
default 5 default 5
help help
Watchdog timer timeout value, after that time if the watchdog timer Watchdog timer timeout value, after that time if the watchdog timer
counter is not reset the wdt overflow interrupt will be triggered counter is not reset the wdt overflow interrupt will be triggered
comment "Bridge Notifications"
depends on TIDSPBRIDGE
config TIDSPBRIDGE_NTFY_PWRERR config TIDSPBRIDGE_NTFY_PWRERR
bool "Notify DSP Power Error" bool "Notify power errors"
depends on TIDSPBRIDGE depends on TIDSPBRIDGE
help help
Enable notifications to registered clients on the event of power errror Enable notifications to registered clients on the event of power errror
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment