aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/soundwire/sdw.h
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-04-26 18:39:05 +0530
committerVinod Koul <vkoul@kernel.org>2018-05-11 21:48:07 +0530
commitc46302ec554c575e79d791c7c84fd4c795e97680 (patch)
tree18e024099493344313b67af1f52b7bba82956376 /include/linux/soundwire/sdw.h
parentsoundwire: intel: Add stream initialization (diff)
downloadwireguard-linux-c46302ec554c575e79d791c7c84fd4c795e97680.tar.xz
wireguard-linux-c46302ec554c575e79d791c7c84fd4c795e97680.zip
soundwire: intel: Add audio DAI ops
Add DAI registration and DAI ops for the Intel driver along with callback for topology configuration. Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com> Signed-off-by: Shreyas NC <shreyas.nc@intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire/sdw.h')
-rw-r--r--include/linux/soundwire/sdw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h
index 399cfb295593..962971e6a9c7 100644
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@ -38,6 +38,9 @@ struct sdw_slave;
#define SDW_VALID_PORT_RANGE(n) (n <= 14 && n >= 1)
+#define SDW_DAI_ID_RANGE_START 100
+#define SDW_DAI_ID_RANGE_END 200
+
/**
* enum sdw_slave_status - Slave status
* @SDW_SLAVE_UNATTACHED: Slave is not attached with the bus.