Pierre-Louis Bossart | bcac590 | 2020-05-19 04:35:51 +0800 | [diff] [blame] | 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 | |
Pierre-Louis Bossart | 0173f52 | 2020-09-24 14:44:30 -0500 | [diff] [blame] | 11 | /* basic attributes to report status of Slave (attachment, dev_num) */ |
| 12 | extern const struct attribute_group *sdw_slave_status_attr_groups[]; |
| 13 | |
| 14 | /* additional device-managed properties reported after driver probe */ |
Pierre-Louis Bossart | bcac590 | 2020-05-19 04:35:51 +0800 | [diff] [blame] | 15 | int sdw_slave_sysfs_init(struct sdw_slave *slave); |
| 16 | int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave); |
| 17 | |
| 18 | #endif /* __SDW_SYSFS_LOCAL_H */ |