From 52979505f2ee98bf77edaeb770798f6a870cfa62 Mon Sep 17 00:00:00 2001 From: Kiran Kelageri Date: Mon, 6 Jun 2016 14:56:41 -0700 Subject: 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 --- include/linux/bluetooth-power.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3