Converted Qualcomm Bluetooth binidings to DT schema.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
.../devicetree/bindings/net/qualcomm-bluetooth.txt | 69 -
.../bindings/net/qualcomm-bluetooth.yaml | 87 ++
2 files changed, 87 insertions(+), 69
These patches enables Bluetooth functinalties for new Qualcomm
Bluetooth SoC wcn6750.
Changes in v2:
* Converted Qualcomm bluetooth bindings to DT schema.
* Added device tree bindings for QTI chip wcn6750 in converted DT schema.
Venkata Lakshmi Narayana Gubba (3):
Bluetooth: hci_qca: Add
This patch enables regulators and gpios for the Qualcomm Bluetooth wcn6750
controller.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
.../bindings/net/qualcomm-bluetooth.yaml | 54 +-
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/Documentation
type image.
7. If mbn type image is not present then we will check for tlv type image.
8. Moved extracting rom version info to common place as this code is
common in all if else ladder in qca_uart_setup.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 88
These patches enables Bluetooth functinalties for new Qualcomm
Bluetooth SoC wcn6750.
This SoC requires both regulators and GPIO to turn on/off.
This SoC supports mbn format image for firmware download.
Venkata Lakshmi Narayana Gubba (2):
Bluetooth: hci_qca: Add support for QTI Bluetooth chip
type image.
7. If mbn type image is not present then we will check for tlv type image.
8. Moved extracting rom version info to common place as this code is
common in all if else ladder in qca_uart_setup.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 85
This patch enables regulators and gpios for the Qualcomm Bluetooth wcn6750
controller.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
.../devicetree/bindings/net/qualcomm-bluetooth.txt | 43 ++
1 file changed, 43 insertions(+)
diff --git a/Documentation/devicetree
Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index de36af6..73af901 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -1571,6 +1571,20
Added device_may_wakeup() support.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index de36af6..73af901 100644
--- a/drivers/bluetooth
If BT SoC is running with ROM FW then just return in
qca_suspend function as ROM FW does not support
in-band sleep.
Fixes: 2be43abac5a8 ("Bluetooth: hci_qca: Wait for timeout during suspend")
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 12 ++
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 17a3859..ff2fb68 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth
QCA_IBS_DISABLED flag will be set after memorydump started from
controller.Currently qca_suspend() is waiting for SSR to complete
based on flag QCA_IBS_DISABLED.Added to check for QCA_SSR_TRIGGERED
flag too.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 3
meout during suspend")
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 4a96368..6ad4079 100644
--- a/drivers
Add support to read FW build version from debugfs node.
This info can be read from
/sys/kernel/debug/bluetooth/hci0/firmware_info
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 54 +++
drivers/bluetooth/btqca.h | 1 +
2
Add support to read FW build version from debugfs node.
This info can be read from
/sys/kernel/debug/bluetooth/hci0/ibs/fw_build_info
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 48 +
drivers/bluetooth/btqca.h
This change will allow to use different NVM file based
on WCN3991 BT SoC ID.Need to use different NVM file based on
fab location for WCN3991 BT SoC.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 36
drivers/bluetooth/btqca.h
Add support to read FW build version for WCN3991 BTSoC
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 57 +++
drivers/bluetooth/btqca.h | 3 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/bluetooth/btqca.c
Add support to read FW build version for WCN3991 BTSoC
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 57 +++
drivers/bluetooth/btqca.h | 3 +++
2 files changed, 60 insertions(+)
diff --git a/drivers/bluetooth/btqca.c
Added timer to handle spurious wakeup from SoC.
Timer is started when wake indicator is received from SoC.
Timer is restarted when valid data is received from SoC.
Timer is stopped when sleep indicator is received from SoC.
SSR is triggered upon timer expiry.
Signed-off-by: Venkata Lakshmi
This change will allow to use different NVM file based
on WCN3991 BT SoC ID.Need to use different NVM file based on
fab location for WCN3991 BT SoC.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/btqca.c | 41 +
drivers/bluetooth
Removed voting for RPMH_RF_CLK2 which is not required as it is
getting managed by BT SoC through SW_CTRL line.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
b
During serdev unregister, hdev->shutdown is called before
proto close. Removing duplicates power OFF call.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/driv
HCI_QUIRK_NON_PERSISTENT_SETUP is set by clearing
HCI_UART_PROTO_READY proto flag. On next BT ON, UART
port is opened if HCI_UART_PROTO_READY proto flag is cleared.
Venkata Lakshmi Narayana Gubba (2):
Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set
Bluetooth: hci_qca: Remove duplicate
HCI_QUIRK_NON_PERSISTENT_SETUP is set by clearing
HCI_UART_PROTO_READY proto flag. On next BT ON, UART
port is opened if HCI_UART_PROTO_READY proto flag is cleared.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_serdev.c | 36 +---
1 file changed, 33
Removed voting for RPMH_RF_CLK2 which is not required as it is
getting managed by BT SoC through SW_CTRL line.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts
b
During serdev unregister, hdev->shutdown is called before
proto close. Removing duplicates power OFF call.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/driv
HCI_QUIRK_NON_PERSISTENT_SETUP is set by clearing
HCI_UART_PROTO_READY proto flag. On next BT ON, UART
port is opened if HCI_UART_PROTO_READY proto flag is cleared.
Venkata Lakshmi Narayana Gubba (2):
Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set
Bluetooth: hci_qca: Remove duplicate
HCI_QUIRK_NON_PERSISTENT_SETUP is set by clearing
HCI_UART_PROTO_READY proto flag. On next BT ON, UART
port is opened if HCI_UART_PROTO_READY proto flag is cleared.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_serdev.c | 36 +---
1 file changed, 33
y: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 3d13002..20e1ded 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 40
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 7e39546..bfebefa 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers
uring
SSR")
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 28c34a1..f3fde99 100644
--- a/drivers
Due to race conditions between qca_hw_error and qca_controller_memdump
during SSR timeout,the same pointer is freed twice. Which results to
double free error. Now a lock is acquired while SSR state moved to timeout.
Signed-off-by: Venkata Lakshmi Narayana Gubba
---
drivers/bluetooth/hci_qca.c
32 matches
Mail list logo