1*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_TOPLEVEL 2*7e978fa3SLiam Girdwood bool "Sound Open Firmware Support" 3*7e978fa3SLiam Girdwood help 4*7e978fa3SLiam Girdwood This adds support for Sound Open Firmware (SOF). SOF is a free and 5*7e978fa3SLiam Girdwood generic open source audio DSP firmware for multiple devices. 6*7e978fa3SLiam Girdwood Say Y if you have such a device that is supported by SOF. 7*7e978fa3SLiam Girdwood If unsure select "N". 8*7e978fa3SLiam Girdwood 9*7e978fa3SLiam Girdwoodif SND_SOC_SOF_TOPLEVEL 10*7e978fa3SLiam Girdwood 11*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_PCI 12*7e978fa3SLiam Girdwood tristate "SOF PCI enumeration support" 13*7e978fa3SLiam Girdwood depends on PCI 14*7e978fa3SLiam Girdwood select SND_SOC_SOF 15*7e978fa3SLiam Girdwood select SND_SOC_ACPI if ACPI 16*7e978fa3SLiam Girdwood select SND_SOC_SOF_OPTIONS 17*7e978fa3SLiam Girdwood select SND_SOC_SOF_INTEL_PCI if SND_SOC_SOF_INTEL_TOPLEVEL 18*7e978fa3SLiam Girdwood help 19*7e978fa3SLiam Girdwood This adds support for PCI enumeration. This option is 20*7e978fa3SLiam Girdwood required to enable Intel Skylake+ devices 21*7e978fa3SLiam Girdwood Say Y if you need this option 22*7e978fa3SLiam Girdwood If unsure select "N". 23*7e978fa3SLiam Girdwood 24*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_ACPI 25*7e978fa3SLiam Girdwood tristate "SOF ACPI enumeration support" 26*7e978fa3SLiam Girdwood depends on ACPI || COMPILE_TEST 27*7e978fa3SLiam Girdwood select SND_SOC_SOF 28*7e978fa3SLiam Girdwood select SND_SOC_ACPI if ACPI 29*7e978fa3SLiam Girdwood select SND_SOC_SOF_OPTIONS 30*7e978fa3SLiam Girdwood select SND_SOC_SOF_INTEL_ACPI if SND_SOC_SOF_INTEL_TOPLEVEL 31*7e978fa3SLiam Girdwood select IOSF_MBI if X86 32*7e978fa3SLiam Girdwood help 33*7e978fa3SLiam Girdwood This adds support for ACPI enumeration. This option is required 34*7e978fa3SLiam Girdwood to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices 35*7e978fa3SLiam Girdwood Say Y if you need this option 36*7e978fa3SLiam Girdwood If unsure select "N". 37*7e978fa3SLiam Girdwood 38*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_OPTIONS 39*7e978fa3SLiam Girdwood tristate 40*7e978fa3SLiam Girdwood help 41*7e978fa3SLiam Girdwood This option is not user-selectable but automagically handled by 42*7e978fa3SLiam Girdwood 'select' statements at a higher level 43*7e978fa3SLiam Girdwood 44*7e978fa3SLiam Girdwoodif SND_SOC_SOF_OPTIONS 45*7e978fa3SLiam Girdwood 46*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_NOCODEC 47*7e978fa3SLiam Girdwood tristate "SOF nocodec mode Support" 48*7e978fa3SLiam Girdwood help 49*7e978fa3SLiam Girdwood This adds support for a dummy/nocodec machine driver fallback 50*7e978fa3SLiam Girdwood option if no known codec is detected. This is typically only 51*7e978fa3SLiam Girdwood enabled for developers or devices where the sound card is 52*7e978fa3SLiam Girdwood controlled externally 53*7e978fa3SLiam Girdwood Say Y if you need this nocodec fallback option 54*7e978fa3SLiam Girdwood If unsure select "N". 55*7e978fa3SLiam Girdwood 56*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_DEBUG 57*7e978fa3SLiam Girdwood bool "SOF debugging features" 58*7e978fa3SLiam Girdwood help 59*7e978fa3SLiam Girdwood This option can be used to enable or disable individual SOF firmware 60*7e978fa3SLiam Girdwood and driver debugging options. 61*7e978fa3SLiam Girdwood Say Y if you are debugging SOF FW or drivers. 62*7e978fa3SLiam Girdwood If unsure select "N". 63*7e978fa3SLiam Girdwood 64*7e978fa3SLiam Girdwoodif SND_SOC_SOF_DEBUG 65*7e978fa3SLiam Girdwood 66*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_FORCE_NOCODEC_MODE 67*7e978fa3SLiam Girdwood bool "SOF force nocodec Mode" 68*7e978fa3SLiam Girdwood depends on SND_SOC_SOF_NOCODEC 69*7e978fa3SLiam Girdwood help 70*7e978fa3SLiam Girdwood This forces SOF to use dummy/nocodec as machine driver, even 71*7e978fa3SLiam Girdwood though there is a codec detected on the real platform. This is 72*7e978fa3SLiam Girdwood typically only enabled for developers for debug purposes, before 73*7e978fa3SLiam Girdwood codec/machine driver is ready, or to exclude the impact of those 74*7e978fa3SLiam Girdwood drivers 75*7e978fa3SLiam Girdwood Say Y if you need this force nocodec mode option 76*7e978fa3SLiam Girdwood If unsure select "N". 77*7e978fa3SLiam Girdwood 78*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_DEBUG_XRUN_STOP 79*7e978fa3SLiam Girdwood bool "SOF stop on XRUN" 80*7e978fa3SLiam Girdwood help 81*7e978fa3SLiam Girdwood This option forces PCMs to stop on any XRUN event. This is useful to 82*7e978fa3SLiam Girdwood preserve any trace data ond pipeline status prior to the XRUN. 83*7e978fa3SLiam Girdwood Say Y if you are debugging SOF FW pipeline XRUNs. 84*7e978fa3SLiam Girdwood If unsure select "N". 85*7e978fa3SLiam Girdwood 86*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_DEBUG_VERBOSE_IPC 87*7e978fa3SLiam Girdwood bool "SOF verbose IPC logs" 88*7e978fa3SLiam Girdwood help 89*7e978fa3SLiam Girdwood This option enables more verbose IPC logs, with command types in 90*7e978fa3SLiam Girdwood human-readable form instead of just 32-bit hex dumps. This is useful 91*7e978fa3SLiam Girdwood if you are trying to debug IPC with the DSP firmware. 92*7e978fa3SLiam Girdwood If unsure select "N". 93*7e978fa3SLiam Girdwood 94*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION 95*7e978fa3SLiam Girdwood bool "SOF force to use IPC for position update on SKL+" 96*7e978fa3SLiam Girdwood help 97*7e978fa3SLiam Girdwood This option force to handle stream position update IPCs and run pcm 98*7e978fa3SLiam Girdwood elapse to inform ALSA about that, on platforms (e.g. Intel SKL+) that 99*7e978fa3SLiam Girdwood with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM. 100*7e978fa3SLiam Girdwood On platforms (e.g. Intel SKL-) where position update IPC is the only 101*7e978fa3SLiam Girdwood one choice, this setting won't impact anything. 102*7e978fa3SLiam Girdwood if you are trying to debug pointer update with position IPCs or where 103*7e978fa3SLiam Girdwood DPIB/posbuf is not ready, select "Y". 104*7e978fa3SLiam Girdwood If unsure select "N". 105*7e978fa3SLiam Girdwood 106*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE 107*7e978fa3SLiam Girdwood bool "SOF enable debugfs caching" 108*7e978fa3SLiam Girdwood help 109*7e978fa3SLiam Girdwood This option enables caching of debugfs 110*7e978fa3SLiam Girdwood memory -> DSP resource (memory, register, etc) 111*7e978fa3SLiam Girdwood before the audio DSP is suspended. This will increase the suspend 112*7e978fa3SLiam Girdwood latency and therefore should be used for debug purposes only. 113*7e978fa3SLiam Girdwood Say Y if you want to enable caching the memory windows. 114*7e978fa3SLiam Girdwood If unsure, select "N". 115*7e978fa3SLiam Girdwood 116*7e978fa3SLiam Girdwoodendif ## SND_SOC_SOF_DEBUG 117*7e978fa3SLiam Girdwood 118*7e978fa3SLiam Girdwoodendif ## SND_SOC_SOF_OPTIONS 119*7e978fa3SLiam Girdwood 120*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF 121*7e978fa3SLiam Girdwood tristate 122*7e978fa3SLiam Girdwood select SND_SOC_TOPOLOGY 123*7e978fa3SLiam Girdwood help 124*7e978fa3SLiam Girdwood This option is not user-selectable but automagically handled by 125*7e978fa3SLiam Girdwood 'select' statements at a higher level 126*7e978fa3SLiam Girdwood The selection is made at the top level and does not exactly follow 127*7e978fa3SLiam Girdwood module dependencies but since the module or built-in type is decided 128*7e978fa3SLiam Girdwood at the top level it doesn't matter. 129*7e978fa3SLiam Girdwood 130*7e978fa3SLiam Girdwoodconfig SND_SOC_SOF_PROBE_WORK_QUEUE 131*7e978fa3SLiam Girdwood bool 132*7e978fa3SLiam Girdwood help 133*7e978fa3SLiam Girdwood This option is not user-selectable but automagically handled by 134*7e978fa3SLiam Girdwood 'select' statements at a higher level 135*7e978fa3SLiam Girdwood When selected, the probe is handled in two steps, for example to 136*7e978fa3SLiam Girdwood avoid lockdeps if request_module is used in the probe. 137*7e978fa3SLiam Girdwood 138*7e978fa3SLiam Girdwoodsource "sound/soc/sof/intel/Kconfig" 139*7e978fa3SLiam Girdwoodsource "sound/soc/sof/xtensa/Kconfig" 140*7e978fa3SLiam Girdwood 141*7e978fa3SLiam Girdwoodendif 142