blob: 7268bc24c5384f699c3b9bfab9b06a020051d813 [file] [log] [blame]
Pierre-Louis Bossartbcac5902020-05-19 04:35:51 +08001/* 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 Bossart0173f522020-09-24 14:44:30 -050011/* basic attributes to report status of Slave (attachment, dev_num) */
12extern const struct attribute_group *sdw_slave_status_attr_groups[];
13
14/* additional device-managed properties reported after driver probe */
Pierre-Louis Bossartbcac5902020-05-19 04:35:51 +080015int sdw_slave_sysfs_init(struct sdw_slave *slave);
16int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
17
18#endif /* __SDW_SYSFS_LOCAL_H */