summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wcd9378-sdca.h
blob: 6ddae9da395b550ad6cbf65543817706a8d58f91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
/* Copyright (c) 2025 Qualcomm Technologies, Inc. */

#ifndef _WCD9378_SDCA_H
#define _WCD9378_SDCA_H

#include <linux/soundwire/sdw.h>
#include <linux/soundwire/sdw_type.h>

int  wcd9378_sdca_probe(struct sdw_slave *slave,
			const struct sdw_device_id *id);
void wcd9378_sdca_remove(struct sdw_slave *slave);
int  wcd9378_sdca_read_prop(struct sdw_slave *slave);

int wcd9378_sdca_runtime_suspend(struct device *dev);
int wcd9378_sdca_runtime_resume(struct device *dev);
int wcd9378_sdca_system_suspend(struct device *dev);
int wcd9378_sdca_system_resume(struct device *dev);

#endif /* _WCD9378_SDCA_H */