Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[linux-drm-fsl-dcu.git] / drivers / staging / tidspbridge / Kconfig
1 #
2 # DSP Bridge Driver Support
3 #
4
5 menuconfig TIDSPBRIDGE
6         tristate "DSP Bridge driver"
7         depends on ARCH_OMAP3 && !ARCH_MULTIPLATFORM && BROKEN
8         select MAILBOX
9         select OMAP2PLUS_MBOX
10         help
11           DSP/BIOS Bridge is designed for platforms that contain a GPP and
12           one or more attached DSPs.  The GPP is considered the master or
13           "host" processor, and the attached DSPs are processing resources
14           that can be utilized by applications and drivers running on the GPP.
15
16           This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).
17
18 config TIDSPBRIDGE_DVFS
19         bool "Enable Bridge Dynamic Voltage and Frequency Scaling (DVFS)"
20         depends on TIDSPBRIDGE && OMAP_PM_SRF && CPU_FREQ
21         help
22           DVFS allows DSP Bridge to initiate the operating point change to
23           scale the chip voltage and frequency in order to match the
24           performance and power consumption to the current processing
25           requirements.
26
27 config TIDSPBRIDGE_MEMPOOL_SIZE
28         hex "Physical memory pool size (Byte)"
29         depends on TIDSPBRIDGE
30         default 0x600000
31         help
32           Allocate specified size of memory at booting time to avoid allocation
33           failure under heavy memory fragmentation after some use time.
34
35 config TIDSPBRIDGE_RECOVERY
36         bool "Recovery Support"
37         depends on TIDSPBRIDGE
38         default y
39         help
40           In case of DSP fatal error, BRIDGE driver will try to
41           recover itself.
42
43 config TIDSPBRIDGE_CACHE_LINE_CHECK
44         bool "Check buffers to be 128 byte aligned"
45         depends on TIDSPBRIDGE
46         help
47           When the DSP processes data, the DSP cache controller loads 128-Byte
48           chunks (lines) from SDRAM and writes the data back in 128-Byte chunks.
49           If a DMM buffer does not start and end on a 128-Byte boundary, the data
50           preceding the start address (SA) from the 128-Byte boundary to the SA
51           and the data at addresses trailing the end address (EA) from the EA to
52           the next 128-Byte boundary will be loaded and written back as well.
53           This can lead to heap corruption. Say Y, to enforce the check for 128
54           byte alignment, buffers failing this check will be rejected.
55
56 config TIDSPBRIDGE_NTFY_PWRERR
57         bool "Notify power errors"
58         depends on TIDSPBRIDGE
59         help
60           Enable notifications to registered clients on the event of power error
61           trying to suspend bridge driver. Say Y, to signal this event as a fatal
62           error, this will require a bridge restart to recover.
63
64 config TIDSPBRIDGE_BACKTRACE
65         bool "Dump backtraces on fatal errors"
66         depends on TIDSPBRIDGE
67         help
68           Enable useful information to backtrace fatal errors. Say Y if you
69           want to dump information for testing purposes.