xref: /linux/drivers/soundwire/sysfs_local.h (revision 55d0969c451159cff86949b38c39171cab962069)
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