xref: /linux/drivers/soundwire/sysfs_local.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2015-2020 Intel Corporation. */
3 
4 #ifndef __SDW_SYSFS_LOCAL_H
5 #define __SDW_SYSFS_LOCAL_H
6 
7 /*
8  * SDW sysfs APIs -
9  */
10 
11 /* basic attributes to report status of Slave (attachment, dev_num) */
12 extern const struct attribute_group *sdw_slave_status_attr_groups[];
13 
14 /* attributes for all soundwire devices */
15 extern const struct attribute_group *sdw_attr_groups[];
16 
17 /* additional device-managed properties reported after driver probe */
18 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
19 
20 #endif /* __SDW_SYSFS_LOCAL_H */
21