From patchwork Fri Mar 1 02:14:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10834349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88ABB1515 for ; Fri, 1 Mar 2019 02:15:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 706702F6FA for ; Fri, 1 Mar 2019 02:15:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 645DE2F711; Fri, 1 Mar 2019 02:15:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 138A22F6FA for ; Fri, 1 Mar 2019 02:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UwrpEEDRFZ3r2ooWgtiKT7q4iz28clk1grYgHAtIYME=; b=CQINvlYRUg42db 5gS3gd0+4cbX5aFD9bKnApeVMfoqnxTDa5Y6BJiJL+MwAQ3q78Ozt7Y5YBnOW83eMRAJNcN2/jsDj ECjykL9AJTsqX5spEkcqgl5Se1f1gtxVvDvVde1X3yn5Z75wa779YQMakiaRXOO6K1Fd5+DPtlRLV utDqYHzUthMzQ9vJ0P9ncsMUXUVnkdBo8sRop56zTthVqsWUdiOkV50Ads7h31R7JpUXC1/Kqyv7U Ie+AHFMse59v1ko0CEGlu2o2GQzTw3mUan6afaBB5T8Rvjapt9amtYkWUJKxUhjhq2PCWwJZ7GVbo LrM81MbrJoYHoI+/RBDg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzXhS-000288-4u; Fri, 01 Mar 2019 02:14:58 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzXh2-0001dH-9t; Fri, 01 Mar 2019 02:14:33 +0000 X-UUID: abc5026a121746c0bcc53deddb0feb94-20190228 X-UUID: abc5026a121746c0bcc53deddb0feb94-20190228 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 2020790247; Thu, 28 Feb 2019 18:14:25 -0800 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 28 Feb 2019 18:14:23 -0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 1 Mar 2019 10:14:10 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 1 Mar 2019 10:14:10 +0800 From: To: , , , Subject: [PATCH v2 0/2] Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices Date: Fri, 1 Mar 2019 10:14:06 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_181432_347355_BB163283 X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sean Wang , linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Wang v2: changes since v1 - add Rob's review tag - removed these merged patches This adds the support of enabling MT7668U and MT7663U UART based Bluetooth function running on the top of btmtkuart driver. We are through several patches to reach the goal and also wish applied the same flow in MediaTek btusb [1] for the transport independence. Once [1] and the series is being merged and then in next step I will consider to add a btmtk.c to hold these independent operations among various transport reused by MediaTek UART, USB and SDIO-based Bluetooth. Firstly, in patch 1/6 to update the dt-binding document for the kind of devices. in patch 2/6, 3/6 to fix the common error issues in the current code. in Patch 4/6, 5/6 to add the general flow which MT7622 and even MT7663U and MT7668U USB devices also utilize. Finally, in patch 6/6 to add the specific setups for MediaTek UART-based Bluetooth and enable MT7663U and MT7668U device. [1] http://lists.infradead.org/pipermail/linux-mediatek/2019-January/017074.html Sean Wang (2): dt-bindings: net: bluetooth: add support for MediaTek MT7663U and MT7668U UART devices Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices .../bindings/net/mediatek-bluetooth.txt | 64 ++++ drivers/bluetooth/btmtkuart.c | 281 +++++++++++++++++- 2 files changed, 335 insertions(+), 10 deletions(-)