Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3646566imm; Mon, 20 Aug 2018 02:14:25 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwFQyqJxnEI4hYqPJckrutUqWhPjrGaKK9Wkf7Z7rSK4CCfdvztIVlj34Yagf1tPlSFo+nU X-Received: by 2002:a65:48cd:: with SMTP id o13-v6mr8802831pgs.99.1534756464986; Mon, 20 Aug 2018 02:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534756464; cv=none; d=google.com; s=arc-20160816; b=dARGxupO261y6E5/GEsS4rK++eX0pw+mit/rjrIUfDG2AoFnopkXuOZvNBpva70k7Z RLBJtb8IscYaLJg8Mz0TCuT6uIOkRDpyeLtt9diazAELYXiGM1Mx5VrXtpTSK7EwzxB3 ddVmloqMtdRq2/UUd3CkFxTCK1Hyu7GHbYPmVn5KmTFCCVCF23Y7eOf7CAkIh6IqkXt9 nr0immKEVO0Bm0X/U0NBguMy++jsCQDxwULRL8VWjuMm/EeF7HQ9kIs1V07T76rZlzLP MpfC+TZi1G3PclwV0QcEeJKBY1mcR4RUgf0YLGWa8CLHpj8pjhfoSVelO50YhDRcz2vf 2bSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=8cYzVHjV7EZX3nUs9jce74FBXVtr24zVFFsAX9juvq8=; b=OG39R96veORk8o01LMJT8915iybgptVDdqH6+YmS7qmNBe7vua2Z3kwsabyhxOzwko 5zOWFDuq1R/xj8otjvziRJd2qe53EqElln70SnS1FM+BGn2Bo/EJiBuBAXqmdBGyfuJb LmTsiUW+Xbqy3uszd4waXG2Iow96rtQEIn8qgwW0AXu7ujJ30PAlz3LQ6oAzuRPDJowf +AL2refDs78h5qmQgGRGgV+x7Rz1/O5h74o/XwI8kmymvzgqmSXMvugK5GBQLeOmAi+J dVrmKeP3w8xlYXK6kIt60Du49j6m3pWSYPg8t8IO+t/akuxk7hmofii4iJH+JCKQooiD wE4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10-v6si4172466pln.298.2018.08.20.02.14.09; Mon, 20 Aug 2018 02:14:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726500AbeHTM1w (ORCPT + 99 others); Mon, 20 Aug 2018 08:27:52 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45479 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726239AbeHTM1w (ORCPT ); Mon, 20 Aug 2018 08:27:52 -0400 X-UUID: aa50939bb6a449c2920dffba03ceefad-20180820 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1634069004; Mon, 20 Aug 2018 17:12:59 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 20 Aug 2018 17:12:57 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 20 Aug 2018 17:12:57 +0800 From: To: , CC: , , , Sean Wang Subject: [PATCH v2 0/2] Bluetooth: mediatek: Add protocol support for MediaTek USB devices Date: Mon, 20 Aug 2018 17:12:53 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang v2: add fixes and enhancements based on [1] * include /sys/kernel/debug/usb/devices portion in the commit message. * turn default into n for config BT_HCIBTUSB_MTK in Kconfig * only add MediaTek support to btusb.c * drop cmd_sync callback usage * use __hci_cmd_send to send WMT commands * add wait event handling similar to what is being done in btmtkuart.c * submit a control IN URB similar to interrupt IN URB on demand for the WMT commands during setup * add cosmetic changes [1] http://lists.infradead.org/pipermail/linux-mediatek/2018-August/014650.html http://lists.infradead.org/pipermail/linux-mediatek/2018-August/014656.html v1: This adds the support of enabling MT7668U and MT7663U Bluetooth function running on the top of btusb driver. The patch also adds a newly created file mtkbt.c able to be reused independently from the transport type such as UART, USB and SDIO. Sean Wang (2): Bluetooth: mediatek: Add protocol support for MediaTek MT7668U USB devices Bluetooth: mediatek: Add protocol support for MediaTek MT7663U USB devices drivers/bluetooth/Kconfig | 11 + drivers/bluetooth/btusb.c | 554 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 565 insertions(+) -- 2.7.4