1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2022 William Breathitt Gray */
11 * struct idio_16_regmap_config - Configuration for the IDIO-16 register map
12 * @parent: parent device
13 * @map: regmap for the IDIO-16 device
14 * @regmap_irqs: descriptors for individual IRQs
15 * @num_regmap_irqs: number of IRQ descriptors
16 * @irq: IRQ number for the IDIO-16 device
17 * @no_status: device has no status register
18 * @filters: device has input filters
20 struct idio_16_regmap_config
{
21 struct device
*parent
;
23 const struct regmap_irq
*regmap_irqs
;
30 int devm_idio_16_regmap_register(struct device
*dev
, const struct idio_16_regmap_config
*config
);
32 #endif /* _IDIO_16_H_ */