summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKiran Kelageri <kirankelageri@codeaurora.org>2016-06-06 14:56:41 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-09 15:09:00 -0700
commit52979505f2ee98bf77edaeb770798f6a870cfa62 (patch)
tree12b97d7933535b827f457aa353ca835d3f5d1962 /include/linux
parent2421d1ae0405c087693ca584d0bb9eb80d591363 (diff)
Bluetooth: Add ioctl for pin connectivity test
Add ioctl to test slimbus HW interface to implement pin connectivity factory test. Change-Id: Ied4c818b0012c733e73ff894470594f9429d9882 Signed-off-by: Kiran Kelageri <kirankelageri@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bluetooth-power.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bluetooth-power.h b/include/linux/bluetooth-power.h
index 7211c48dbc7b..d2dfc1477c9d 100644
--- a/include/linux/bluetooth-power.h
+++ b/include/linux/bluetooth-power.h
@@ -50,6 +50,7 @@ struct bt_power_vreg_data {
struct bluetooth_power_platform_data {
/* Bluetooth reset gpio */
int bt_gpio_sys_rst;
+ struct device *slim_dev;
/* VDDIO voltage regulator */
struct bt_power_vreg_data *bt_vdd_io;
/* VDD_PA voltage regulator */
@@ -70,4 +71,7 @@ struct bluetooth_power_platform_data {
int (*bt_power_setup)(int);
};
+int bt_register_slimdev(struct device *dev);
+
+#define BT_CMD_SLIM_TEST 0xbfac
#endif /* __LINUX_BLUETOOTH_POWER_H */