From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756931AbbJIUsN (ORCPT ); Fri, 9 Oct 2015 16:48:13 -0400 Received: from seldrel01.sonyericsson.com ([37.139.156.2]:19491 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755481AbbJIUsK (ORCPT ); Fri, 9 Oct 2015 16:48:10 -0400 From: Bjorn Andersson To: Marcel Holtmann , Gustavo Padovan , Johan Hedberg , Andy Gross CC: , Fengwei Yin , Srinivas Kandagatla , , , Subject: [PATCH v2 0/7] Qualcomm WCNSS HCI support Date: Fri, 9 Oct 2015 13:47:58 -0700 Message-ID: <1444423685-14717-1-git-send-email-bjorn.andersson@sonymobile.com> X-Mailer: git-send-email 2.4.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After trying to avoid implementing multi-channel support in SMD in v1 of the HCI driver for Qualcomm WCNSS BT, this new version includes the necessary SMD refactoring and additon of an API that allows SMD devices to call back into the SMD core to acquire additonal channels. The additional channels are tied to the existing SMD device and the life cycle of the new channel will be tied to, and affect, the original channel. With this in place the btqcomsmd driver is refactored into being a single driver, without global state. Bjorn Andersson (7): soc: qcom: smd: Introduce callback setter soc: qcom: smd: Split discovery and state change work soc: qcom: smd: Refactor channel open and close handling soc: qcom: smd: Support multiple channels per sdev soc: qcom: smd: Support opening additional channels Bluetooth: Add HCI device identifier for Qualcomm SMD Bluetooth: hci_smd: Qualcomm WCNSS HCI driver drivers/bluetooth/Kconfig | 11 ++ drivers/bluetooth/Makefile | 1 + drivers/bluetooth/btqcomsmd.c | 198 ++++++++++++++++++++++++++++++++++++ drivers/soc/qcom/smd.c | 228 +++++++++++++++++++++++++++++++----------- include/linux/soc/qcom/smd.h | 8 +- include/net/bluetooth/hci.h | 1 + 6 files changed, 387 insertions(+), 60 deletions(-) create mode 100644 drivers/bluetooth/btqcomsmd.c -- 2.4.2