^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /* Copyright(c) 2015-2020 Intel Corporation. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #ifndef __SDW_SYSFS_LOCAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #define __SDW_SYSFS_LOCAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * SDW sysfs APIs -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /* basic attributes to report status of Slave (attachment, dev_num) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern const struct attribute_group *sdw_slave_status_attr_groups[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /* additional device-managed properties reported after driver probe */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int sdw_slave_sysfs_init(struct sdw_slave *slave);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #endif /* __SDW_SYSFS_LOCAL_H */