Hi Matthias,
On 2018-08-02 22:50, Matthias Kaehlcke wrote:
On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi wrote:
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
---
.../bindings
Hi Matthias,
On 2018-08-02 23:24, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-08-02 22:50, Matthias Kaehlcke wrote:
On Thu, Aug 02, 2018 at 06:55:12PM +0530, Balakrishna Godavarthi
wrote:
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by
Hi Matthias,
On 2018-08-02 23:40, Matthias Kaehlcke wrote:
On Thu, Aug 02, 2018 at 11:35:54PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-08-02 23:24, Balakrishna Godavarthi wrote:
> Hi Matthias,
>
> On 2018-08-02 22:50, Matthias Kaehlcke wrote:
> > On Thu, Aug 02
- Adding support to voting up/down regulators for WCN3990.
- Bluetooth firmware download for wcn3990.
* Add device tree bindings for Atheros chips:
These changes are on top of
https://patchwork.kernel.org/patch/10316097/.
- Description of device tree bindings.
B
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
Reviewed-by: Stephen Boyd
---
Changes in v13:
* Segregated optional and required properties for wcn3990.
---
.../bindings/net/qualcomm-bluetooth.txt
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 21 -
drivers/bluetooth/btqca.h | 13 +++--
drivers/bluetooth
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 93 -
1 file changed, 70 insertions(+), 23 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 5f8a74d65bec
C. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.
Signed-off-by: Balakrishna Godavarthi
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
Changes in v13:
* updated review comments.
Changes in v12:
* removed retrying iteration loop in qca_wcn3990_init
my bad forgot to add subject.
On 2018-08-03 00:37, Balakrishna Godavarthi wrote:
These patches enables Bluetooth functinalties for new Qualcomm
Bluetooth chip wnc3990. As this is latest chip with new features,
along with some common features to old chip "qcom,qca6174-bt".
we have upd
On 2018-08-03 01:27, Matthias Kaehlcke wrote:
On Fri, Aug 03, 2018 at 12:37:32AM +0530, Balakrishna Godavarthi wrote:
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
Reviewed-by: Stephen Boyd
Reviewed-by: Matthias Kaehlcke
---
.../bindings/net/qualcomm-bluetooth.txt | 29 +--
1 file changed, 27
C. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.
Signed-off-by: Balakrishna Godavarthi
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 93 -
1 file changed, 70 insertions(+), 23 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 5f8a74d65bec
- Adding support to voting up/down regulators for WCN3990.
- Bluetooth firmware download for wcn3990.
* Add device tree bindings for Atheros chips:
These changes are on top of
https://patchwork.kernel.org/patch/10316097/.
- Description of device tree bindings.
B
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 21 -
drivers/bluetooth/btqca.h | 13 +++--
drivers/bluetooth
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
Changes in v14:
* moved function call qca_read_soc_version() to qca_setup()
Changes in v13:
* updated review comments
On 2018-08-03 16:31, Balakrishna Godavarthi wrote:
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
Changes in v14:
* moved function call qca_read_soc_version() to
ription of device tree bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip
wcn3990
Bluetooth: btqca: Rename ROME specific functions to generic functions
Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
Bluetooth: hc
C. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.
Signed-off-by: Balakrishna Godavarthi
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 93 -
1 file changed, 70 insertions(+), 23 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 21 -
drivers/bluetooth/btqca.h | 13 +++--
drivers/bluetooth
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 5f8a74d65bec
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
Reviewed-by: Stephen Boyd
Reviewed-by: Matthias Kaehlcke
---
.../bindings/net/qualcomm-bluetooth.txt | 29 +--
1 file changed, 27
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
Changes in v15:
* addressed return ret to return 0
Changes in v14:
* moved function call qca_read_soc_version() to
h/10316097/.
- Description of device tree bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip
wcn3990
Bluetooth: btqca: Rename ROME specific functions to generic functions
Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
Bluetoot
e bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip
wcn3990
Bluetooth: btqca: Rename ROME specific functions to Generic functions
Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
Bluetooth: hci_qca: Add wrapper functions f
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 38b7dbe6c897..28187a89b850 100644
--- a/drivers/bluetooth
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v8:
* updated soc_type with enum.
Changes in v7:
* initial patch
* redefined qca_uart_setup function to generic.
---
drivers/bluetooth
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
---
changes in v8:
* closing qca buffer, if qca_power_setup fails
* chnaged ibs start timer function call location.
* updated review comments
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v8:
* common function to set INIT and operating speeds.
* moved hardware flow control to qca_set_speed().
Changes in v7:
* initial patch
* created wrapper functions for init and o
icable.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v8:
* squashed [v7 2/8] and [v7 3/8] into one.
* updated review comments
Changes in v7:
* updated the all the functions of ROME to generic.
Changes in v6:
* initial patch
* updated names of functions that ar
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v8:
* Separated the optional entries between two chips
Changes in v7:
* no change.
Changes in v6:
* Changed the oper-speed to max-speed.
Changes in
while hci up, we will call vendor specific open/close and setup
which
will turn on the regulators, requests BT chip version and download the
firmware.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth/hci_qca.c | 34 ++
1 file changed, 34 insertions(+)
diff
Y while dequeuing an packet.
Balakrishna Godavarthi (2):
Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing
proto races
Bluetooth: hci_serdev: Add protocol check in hci_uart_dequeue().
drivers/bluetooth/hci_serdev.c | 8 +---
1 file changed, 5 insertions(+), 3 d
Clearing HCI_UART_PROTO_READY will avoid usage of proto function pointers
before running the proto close function pointer. There is chance of kernel
crash, due to usage of non proto close function pointers after proto close.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth
] [] skb_dequeue+0x28/0x84
[ 500.160209] [] 0xff8000ad6f48
[ 500.165230] [] 0xff8000ad6610
[ 500.170257] [] process_one_work+0x238/0x3e4
[ 500.176174] [] worker_thread+0x2bc/0x3d4
[ 500.181821] [] kthread+0x138/0x140
[ 500.186945] [] ret_from_fork+0x10/0x18
Signed-off-by: Balakrishna
open & close call from qca_open & qca_close.
Balakrishna Godavarthi (2):
Bluetooth: hci_qca: Remove serdev_device_open/close function calls
Bluetooth: hci_qca: Remove hdev dereference in qca_close().
drivers/bluetooth/hci_qca.c | 17 +
1 file changed, 9 insertio
Removed serdev_device_open/close functions from qca_open/close as
they are called in hci_uart_register_device() and
hci_uart_unregister_device() functions.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth/hci_qca.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers
freeing it.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth/hci_qca.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index a740d5703914..74f5fede0274 100644
--- a/drivers/bluetooth/hci_qca.c
calling qualcomm setup.
Balakrishna Godavarthi (1):
Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990
drivers/bluetooth/hci_qca.c | 34 ++
1 file changed, 34 insertions(+)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
the regulators, requests BT chip version and download the
firmware.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth/hci_qca.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index
Hi Stephen,
On 2018-08-24 12:17, Stephen Boyd wrote:
Quoting Balakrishna Godavarthi (2018-08-23 04:29:35)
This patch enables power off support for hci down and power on support
for hci up. As wcn3990 power sources are ignited by regulators, we
will
turn off them during hci down, i.e. an
Hi Matthias,
On 2018-07-26 00:01, Matthias Kaehlcke wrote:
On Tue, Jul 24, 2018 at 09:25:16PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-24 01:24, Matthias Kaehlcke wrote:
> On Fri, Jul 20, 2018 at 07:02:43PM +0530, Balakrishna Godavarthi wrote:
> > + * som
Hi Matthias,
On 2018-07-27 01:21, Matthias Kaehlcke wrote:
On Thu, Jul 26, 2018 at 07:51:13PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-26 00:01, Matthias Kaehlcke wrote:
> On Tue, Jul 24, 2018 at 09:25:16PM +0530, Balakrishna Godavarthi wrote:
> > Hi Matthias,
&
From: Balakrishna Godavarthi
In function qca_setup, we set initial and operating speeds for Qualcomm
Bluetooth SoC's. This block of code is common across different
Qualcomm Bluetooth SoC's. Instead of duplicating the code, created
a wrapper function to set the speeds. So that future co
From: Balakrishna Godavarthi
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v11:
* removed support to read regulator currents from dts.
* updated review comments.
Changes in
From: Balakrishna Godavarthi
Redefinition of qca_uart_setup will help future Qualcomm Bluetooth
SoC, to use the same function instead of duplicating the function.
Added new arguments soc_type and soc_ver to the functions.
These arguments will help to decide type of firmware files
to be loaded
From: Balakrishna Godavarthi
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers
From: Balakrishna Godavarthi
Some of the QCA BTSoC ROME functions, are used for different versions
or different make of BTSoC's. Instead of duplicating the same functions
for new chip, update names of the functions that are used for both
chips to keep this generic and would help in future
From: Balakrishna Godavarthi
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
---
Changes in v11:
* removed entries of regulator currents.
Changes in v10:
* added entry for regulator currents
From: Balakrishna Godavarthi
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers
or Atheros chips:
These changes are on top of
https://patchwork.kernel.org/patch/10316097/.
- Description of device tree bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip
wcn3990
Bluetooth: btqca: Rename ROME specific
Hi Matthias,
On 2018-07-18 22:43, Matthias Kaehlcke wrote:
On Wed, Jul 18, 2018 at 09:03:08PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-16 21:35, Matthias Kaehlcke wrote:
> On Mon, Jul 16, 2018 at 07:21:56PM +0530, Balakrishna Godavarthi wrote:
> > Hi Matthias,
&
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
---
Changes in v10:
* added entry for regulator currents
Changes in v9:
* updated with latest reg handle and names.
* updated max-speed
.org/patch/10316097/.
- Description of device tree bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add device tree bindings for QTI chip
wcn3990
Bluetooth: btqca: Rename ROME specific functions to generic functions
Bluetooth: btqca: Redefine qca_uart_setup()
C. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.
Signed-off-by: Balakrishna Godavarthi
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 5f8a74d65bec
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 20 +++-
drivers/bluetooth/btqca.h | 13 +++--
drivers/bluetooth
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 93 -
1 file changed, 70 insertions(+), 23 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
---
changes in v10:
* added support to read regulator currents from dts.
* added support to try to connect with chip if it fails to respond to
initial
Hi Matthias,
On 2018-07-31 00:07, Matthias Kaehlcke wrote:
On Fri, Jul 27, 2018 at 07:43:16PM +0530, Balakrishna Godavarthi wrote:
From: Balakrishna Godavarthi
Redefinition of qca_uart_setup will help future Qualcomm Bluetooth
SoC, to use the same function instead of duplicating the function
Hi Matthias,
On 2018-07-31 01:37, Matthias Kaehlcke wrote:
On Fri, Jul 27, 2018 at 05:09:02PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-27 01:21, Matthias Kaehlcke wrote:
> On Thu, Jul 26, 2018 at 07:51:13PM +0530, Balakrishna Godavarthi wrote:
> > Hi Matthias,
&
Hi Matthias,
On 2018-07-31 02:25, Matthias Kaehlcke wrote:
On Fri, Jul 27, 2018 at 07:43:20PM +0530, Balakrishna Godavarthi wrote:
From: Balakrishna Godavarthi
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna
Hi Matthias,
On 2018-07-31 21:33, Matthias Kaehlcke wrote:
On Tue, Jul 31, 2018 at 08:08:40PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-31 01:37, Matthias Kaehlcke wrote:
> On Fri, Jul 27, 2018 at 05:09:02PM +0530, Balakrishna Godavarthi wrote:
> > Hi Matthias,
&
Hi Matthias,
On 2018-08-01 21:46, Matthias Kaehlcke wrote:
On Wed, Aug 01, 2018 at 07:29:29PM +0530, Balakrishna Godavarthi wrote:
Hi Matthias,
On 2018-07-31 21:33, Matthias Kaehlcke wrote:
> On Tue, Jul 31, 2018 at 08:08:40PM +0530, Balakrishna Godavarthi wrote:
> > Hi Matthias,
&
holds the Bluetooth chip connected to APPS processor.
soc_ver holds the Bluetooth chip version.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
Changes in v12:
* updated soc_ver check.
Changes in v11:
* added error log in qca_read_soc_version() instead
This patch enables the RAM and NV patch download for wcn3990.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/btqca.c | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/bluetooth/btqca.c b/drivers
or WCN3990.
- Bluetooth firmware download for wcn3990.
* Add device tree bindings for Atheros chips:
These changes are on top of
https://patchwork.kernel.org/patch/10316097/.
- Description of device tree bindings.
Balakrishna Godavarthi (7):
dt-bindings: net: bluetooth: Add d
This patch enables regulators for the Qualcomm Bluetooth wcn3990
controller.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Rob Herring
---
.../bindings/net/qualcomm-bluetooth.txt | 26 +--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/Documentation
C. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.
Signed-off-by: Balakrishna Godavarthi
Enable Qualcomm chips to operate at 3.2Mbps.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 5f8a74d65bec
e these wrapper functions to set speeds.
Signed-off-by: Balakrishna Godavarthi
Reviewed-by: Matthias Kaehlcke
---
drivers/bluetooth/hci_qca.c | 93 -
1 file changed, 70 insertions(+), 23 deletions(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
---
Changes in v12:
* removed retrying iteration loop in qca_wcn3990_init.
Changes in v11:
* removed support to read regulator currents from dts
Hi Matthias,
On 2018-07-23 23:10, Matthias Kaehlcke wrote:
On Fri, Jul 20, 2018 at 07:02:39PM +0530, Balakrishna Godavarthi wrote:
Redefinition of qca_uart_setup will help future Qualcomm Bluetooth
SoC, to use the same function instead of duplicating the function.
Added new arguments soc_type
Hi Matthias,
On 2018-07-23 23:26, Matthias Kaehlcke wrote:
On Fri, Jul 20, 2018 at 07:02:40PM +0530, Balakrishna Godavarthi wrote:
In function qca_setup, we set initial and operating speeds for
Qualcomm
Bluetooth SoC's. This block of code is common across different
Qualcomm Bluetooth
Hi Matthias,
On 2018-07-24 01:24, Matthias Kaehlcke wrote:
On Fri, Jul 20, 2018 at 07:02:43PM +0530, Balakrishna Godavarthi wrote:
Add support to set voltage/current of various regulators
to power up/down Bluetooth chip wcn3990.
Signed-off-by: Balakrishna Godavarthi
---
changes in v10
u8 *)&ba, sizeof(ba));
+ if (ret < 0)
+ return ret;
+ if (is_zero_ether_addr((u8 *)&ba))
+ return -ENODATA;
+
+ *bd_addr = ba;
+
+ return 0;
+}
+EXPORT_SYMBOL_GPL(device_get_bd_address);
Reviewed-by: Balakrishna Godavarthi
--
Regards
Balakrishna.
))) {
+ if (!device_get_bd_address(&pdev->dev, &btq->bdaddr))
dev_info(&pdev->dev, "BD address %pMR retrieved from
device-tree",
&btq->bdaddr);
- }
hdev = hci_alloc_dev();
if (!hdev)
Reviewed-by: Balakrishna Godavarthi
--
Regards
Balakrishna.
Hi Matthias,
On 2018-11-27 01:12, Matthias Kaehlcke wrote:
On Thu, Nov 22, 2018 at 05:45:11PM +0530, Balakrishna Godavarthi wrote:
This patch will help to stop frame reassembly errors while changing
the baudrate. This is because host send a change baudrate request
command to the chip with
Hi Matthias,
On 2018-11-27 05:57, Matthias Kaehlcke wrote:
On Mon, Nov 26, 2018 at 04:09:50PM -0800, Matthias Kaehlcke wrote:
On Thu, Nov 22, 2018 at 05:45:12PM +0530, Balakrishna Godavarthi
wrote:
> During initalization of wcn3990, we observed UART is reading some
> stray bytes on
frame reassembly errors.
* Bluetooth: hci_qca: Fix frame reassembly errors for wcn3990
Changes in v2:
* Removed Bluetooth: hci_qca: clear HCI_QUIRK_RESET_ON_CLOSE flag patch
will be sending as separate series.
Balakrishna Godavarthi (3):
Bluetooth: hci_qca: use wait_until_sent() for power
: hci_qca.c:qca_recv() hci0: Frame reassembly failed
(-84)
Now we enable a flag during bootup to stop executing proto receive
function and clear it back once the initialization is done.
Signed-off-by: Balakrishna Godavarthi
Tested-by: Matthias Kaehlcke
---
v2:
* Updated commit text & comments
issues.
Signed-off-by: Balakrishna Godavarthi
---
v2:
* Updated function qca_send_power_pulse()
* addressed reviewer comments.
v1:
* initial patch
---
drivers/bluetooth/hci_qca.c | 37 +
1 file changed, 13 insertions(+), 24 deletions(-)
diff --git a
with newer baudrate, On host side
we are still operating in 115200 bps which results of reading garbage
data. Here we are pulling RTS line, so that chip we will wait to send data
to host until host change its baudrate.
Signed-off-by: Balakrishna Godavarthi
Tested-by: Matthias Kaehlcke
---
v2
close, it would be better enabling it in the vendor
probes or in proto setup.
Signed-off-by: Balakrishna Godavarthi
---
drivers/bluetooth/hci_serdev.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
index c445aa9ac511..490abba
with newer baudrate, On host side
we are still operating in 115200 bps which results of reading garbage
data. Here we are pulling RTS line, so that chip we will wait to send data
to host until host change its baudrate.
Signed-off-by: Balakrishna Godavarthi
Tested-by: Matthias Kaehlcke
Reviewed
: hci_qca.c:qca_recv() hci0: Frame reassembly failed
(-84)
Now we enable a flag during bootup to stop executing proto receive
function and clear it back once the initialization is done.
Signed-off-by: Balakrishna Godavarthi
Tested-by: Matthias Kaehlcke
---
v3:
* moved ibs disable and qca_flush to
issues.
Signed-off-by: Balakrishna Godavarthi
---
v3:
* no change.
v2:
* Updated function qca_send_power_pulse()
* addressed reviewer comments.
v1:
* initial patch
---
drivers/bluetooth/hci_qca.c | 37 +
1 file changed, 13 insertions(+), 24 deletions
During hci down we observed IBS sleep commands are queued in the Tx
buffer and hci_uart_write_work is sending data to the chip which is
not required as the chip is powered off. This patch will disable IBS
and flush the Tx buffer before we turn off the chip.
Signed-off-by: Balakrishna Godavarthi
LOSE flag patch
will be sending as separate series.
Balakrishna Godavarthi (4):
Bluetooth: hci_qca: use wait_until_sent() for power pulses
Bluetooth: hci_qca: Deassert RTS while baudrate change command
Bluetooth: hci_qca: Fix frame reassembly errors for wcn3990
Bluetooth: hci_qca: Disable
Hi Matthias,
On 2018-11-15 01:06, Matthias Kaehlcke wrote:
On Tue, Nov 06, 2018 at 05:35:28PM +0530, Balakrishna Godavarthi wrote:
[ 176.929612] Bluetooth: hci_qca.c:qca_recv() hci0: Frame reassembly
failed (-84)
[ 176.945734] Bluetooth: hci_qca.c:qca_recv() hci0: Frame reassembly
failed
Hi Johan,
On 2018-11-14 20:57, Johan Hovold wrote:
On Tue, Nov 06, 2018 at 05:35:25PM +0530, Balakrishna Godavarthi wrote:
wcn3990 requires a power pulse to turn ON/OFF along with
regulators. Sometimes we are observing the power pulses are sent
out with some time delay, due to queuing these
1 - 100 of 289 matches
Mail list logo