diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-04-29 00:43:19 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-05-04 18:26:50 +0530 |
commit | 3b0b441a297e7fe11baab51439a81cd6a336ed64 (patch) | |
tree | c7349f4f16febe303782e9460dc0c7e75876d7fc /drivers/soundwire/intel.h | |
parent | soundwire: intel_ace2x: cleanup DOAIS/DODS settings (diff) | |
download | linux-3b0b441a297e7fe11baab51439a81cd6a336ed64.tar.gz linux-3b0b441a297e7fe11baab51439a81cd6a336ed64.tar.bz2 linux-3b0b441a297e7fe11baab51439a81cd6a336ed64.zip |
soundwire: intel_ace2x: use DOAIS and DODS settings from firmware
Starting with LNL, the recommendation is to use settings read from DSD
properties instead of hard-coding the values.
The DOAIS and DODS values are completely-specific to Intel and are
stored in a vendor-specific property structure.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240429004321.2399754-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.h')
-rw-r--r-- | drivers/soundwire/intel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/soundwire/intel.h b/drivers/soundwire/intel.h index 511932c55216..b36d46319f0f 100644 --- a/drivers/soundwire/intel.h +++ b/drivers/soundwire/intel.h @@ -58,6 +58,11 @@ struct sdw_intel { #endif }; +struct sdw_intel_prop { + u16 doais; + u16 dods; +}; + enum intel_pdi_type { INTEL_PDI_IN = 0, INTEL_PDI_OUT = 1, |