soundwire: amd: enable build for AMD SoundWire manager driver
[linux-block.git] / drivers / soundwire / cadence_master.h
index dec0b4f993c1a8d518ac4d20b1e00b61dc495b21..b653734085d93150fea2a26622469ba8927a5214 100644 (file)
@@ -107,6 +107,7 @@ struct sdw_cdns_dai_runtime {
  * @dev: Linux device
  * @bus: Bus handle
  * @instance: instance number
+ * @ip_offset: version-dependent offset to access IP_MCP registers and fields
  * @response_buf: SoundWire response buffer
  * @tx_complete: Tx completion
  * @ports: Data ports
@@ -122,6 +123,8 @@ struct sdw_cdns {
        struct sdw_bus bus;
        unsigned int instance;
 
+       u32 ip_offset;
+
        /*
         * The datasheet says the RX FIFO AVAIL can be 2 entries more
         * than the FIFO capacity, so allow for this.