1 /* SPDX-License-Identifier: GPL-2.0-or-later
3 * Link Layer for Samsung S3FWRN5 NCI based Driver
5 * Copyright (C) 2015 Samsung Electrnoics
6 * Robert Baldyga <r.baldyga@samsung.com>
7 * Copyright (C) 2020 Samsung Electrnoics
8 * Bongsu Jeon <bongsu.jeon@samsung.com>
11 #ifndef __NFC_S3FWRN5_PHY_COMMON_H
12 #define __NFC_S3FWRN5_PHY_COMMON_H
14 #include <linux/mutex.h>
15 #include <net/nfc/nci_core.h>
19 #define S3FWRN5_EN_WAIT_TIME 20
29 enum s3fwrn5_mode mode
;
32 void s3fwrn5_phy_set_wake(void *phy_id
, bool wake
);
33 bool s3fwrn5_phy_power_ctrl(struct phy_common
*phy
, enum s3fwrn5_mode mode
);
34 void s3fwrn5_phy_set_mode(void *phy_id
, enum s3fwrn5_mode mode
);
35 enum s3fwrn5_mode
s3fwrn5_phy_get_mode(void *phy_id
);
37 #endif /* __NFC_S3FWRN5_PHY_COMMON_H */