blob: 0dd479f5638d8b19c98365ee3c4a3a90f6590918 [file] [log] [blame]
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +03001#
2# DSP Bridge Driver Support
3#
4
5menuconfig TIDSPBRIDGE
6 tristate "DSP Bridge driver"
7 depends on ARCH_OMAP3
8 select OMAP_MBOX_FWK
9 help
10 DSP/BIOS Bridge is designed for platforms that contain a GPP and
11 one or more attached DSPs. The GPP is considered the master or
12 "host" processor, and the attached DSPs are processing resources
13 that can be utilized by applications and drivers running on the GPP.
14
15 This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).
16
Felipe Contrerasb3d23682010-07-04 16:36:23 +030017config TIDSPBRIDGE_DVFS
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030018 bool "Enable Bridge Dynamic Voltage and Frequency Scaling (DVFS)"
19 depends on TIDSPBRIDGE && OMAP_PM_SRF && CPU_FREQ
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030020 help
21 DVFS allows DSP Bridge to initiate the operating point change to
22 scale the chip voltage and frequency in order to match the
23 performance and power consumption to the current processing
24 requirements.
25
Felipe Contrerasb3d23682010-07-04 16:36:23 +030026config TIDSPBRIDGE_MEMPOOL_SIZE
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030027 hex "Physical memory pool size (Byte)"
28 depends on TIDSPBRIDGE
29 default 0x600000
30 help
31 Allocate specified size of memory at booting time to avoid allocation
32 failure under heavy memory fragmentation after some use time.
33
Felipe Contrerasb3d23682010-07-04 16:36:23 +030034config TIDSPBRIDGE_RECOVERY
Felipe Contrerased9ff5d2010-07-04 16:36:24 +030035 bool "Recovery Support"
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030036 depends on TIDSPBRIDGE
Felipe Contrerased9ff5d2010-07-04 16:36:24 +030037 default y
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030038 help
39 In case of DSP fatal error, BRIDGE driver will try to
40 recover itself.
41
Felipe Contrerasb3d23682010-07-04 16:36:23 +030042config TIDSPBRIDGE_CACHE_LINE_CHECK
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030043 bool "Check buffers to be 128 byte aligned"
44 depends on TIDSPBRIDGE
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030045 help
46 When the DSP processes data, the DSP cache controller loads 128-Byte
47 chunks (lines) from SDRAM and writes the data back in 128-Byte chunks.
48 If a DMM buffer does not start and end on a 128-Byte boundary, the data
49 preceding the start address (SA) from the 128-Byte boundary to the SA
50 and the data at addresses trailing the end address (EA) from the EA to
51 the next 128-Byte boundary will be loaded and written back as well.
52 This can lead to heap corruption. Say Y, to enforce the check for 128
53 byte alignment, buffers failing this check will be rejected.
54
Felipe Contrerasb3d23682010-07-04 16:36:23 +030055config TIDSPBRIDGE_NTFY_PWRERR
Felipe Contrerased9ff5d2010-07-04 16:36:24 +030056 bool "Notify power errors"
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030057 depends on TIDSPBRIDGE
58 help
Justin P. Mattock42b2aa82011-11-28 20:31:00 -080059 Enable notifications to registered clients on the event of power error
Omar Ramirez Lunacbf05092010-06-24 16:40:07 +030060 trying to suspend bridge driver. Say Y, to signal this event as a fatal
61 error, this will require a bridge restart to recover.
Felipe Contreras4f551c8f2010-07-04 16:36:26 +030062
63config TIDSPBRIDGE_BACKTRACE
64 bool "Dump backtraces on fatal errors"
65 depends on TIDSPBRIDGE
66 help
67 Enable useful information to backtrace fatal errors. Say Y if you
68 want to dump information for testing purposes.