diff options
author | Bongsu Jeon <bongsu.jeon@samsung.com> | 2020-12-02 20:47:41 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-02 17:55:25 -0800 |
commit | 3f52c2cb7e3ada37513dabb69a22cf917dba754f (patch) | |
tree | 247936b4b6f34b52761ef2c983c6bcd0a98f7a3b /drivers/nfc/s3fwrn5/phy_common.h | |
parent | b3799d592f26faaafdfe82fef3f5f91f9764da5f (diff) |
nfc: s3fwrn5: Support a UART interface
Since S3FWRN82 NFC Chip, The UART interface can be used.
S3FWRN82 uses NCI protocol and supports I2C and UART interface.
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/nfc/s3fwrn5/phy_common.h')
-rw-r--r-- | drivers/nfc/s3fwrn5/phy_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nfc/s3fwrn5/phy_common.h b/drivers/nfc/s3fwrn5/phy_common.h index b98531decbbc..99749c9294d1 100644 --- a/drivers/nfc/s3fwrn5/phy_common.h +++ b/drivers/nfc/s3fwrn5/phy_common.h @@ -31,6 +31,7 @@ struct phy_common { void s3fwrn5_phy_set_wake(void *phy_id, bool wake); bool s3fwrn5_phy_power_ctrl(struct phy_common *phy, enum s3fwrn5_mode mode); +void s3fwrn5_phy_set_mode(void *phy_id, enum s3fwrn5_mode mode); enum s3fwrn5_mode s3fwrn5_phy_get_mode(void *phy_id); #endif /* __NFC_S3FWRN5_PHY_COMMON_H */ |