Merge tag 'char-misc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregk...
[linux-block.git] / include / linux / iio / adc / ad_sigma_delta.h
index 719cf9cc6e1ac4db6abbd1171b1590716dc50dc9..383614ebd760fb8e3acc8c6124eb5b1b981ab4e4 100644 (file)
@@ -48,6 +48,7 @@ struct iio_dev;
  *   be used.
  * @irq_flags: flags for the interrupt used by the triggered buffer
  * @num_slots: Number of sequencer slots
+ * @irq_line: IRQ for reading conversions. If 0, spi->irq will be used
  */
 struct ad_sigma_delta_info {
        int (*set_channel)(struct ad_sigma_delta *, unsigned int channel);
@@ -62,6 +63,7 @@ struct ad_sigma_delta_info {
        unsigned int data_reg;
        unsigned long irq_flags;
        unsigned int num_slots;
+       int irq_line;
 };
 
 /**
@@ -89,6 +91,7 @@ struct ad_sigma_delta {
        unsigned int            active_slots;
        unsigned int            current_slot;
        unsigned int            num_slots;
+       int             irq_line;
        bool                    status_appended;
        /* map slots to channels in order to know what to expect from devices */
        unsigned int            *slots;