/* SPDX-License-Identifier: GPL-2.0 */1/*2* The MIPI SDCA specification is available for public downloads at3* https://www.mipi.org/mipi-sdca-v1-0-download4*5* Copyright (C) 2025 Cirrus Logic, Inc. and6* Cirrus Logic International Semiconductor Ltd.7*/89#ifndef __SDCA_CLASS_H__10#define __SDCA_CLASS_H__1112#include <linux/completion.h>13#include <linux/mutex.h>14#include <linux/workqueue.h>1516struct device;17struct regmap;18struct sdw_slave;19struct sdca_function_data;2021struct sdca_class_drv {22struct device *dev;23struct regmap *dev_regmap;24struct sdw_slave *sdw;2526struct sdca_function_data *functions;27struct sdca_interrupt_info *irq_info;2829struct mutex regmap_lock;30struct work_struct boot_work;31struct completion device_attach;3233bool attached;34};3536#endif /* __SDCA_CLASS_H__ */373839