Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2418437imj; Mon, 18 Feb 2019 05:46:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IZddZnujba9f8PJ9lkecNbfTVhq2ngkcFgGqL1CIe3ubGbk6cQnfIQvQyjfLfAzQiSaDYpf X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr25795783plm.205.1550497571534; Mon, 18 Feb 2019 05:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497571; cv=none; d=google.com; s=arc-20160816; b=BbINFKaLf5YVuye3goQRpLdXdvFD6UWU0ivEm/7j1vw8vDXFiuM7wWifMNtEN4rOhl E1LjNjd5QiYMgLSWe6P5rLhSiKbS1wVgD+aWc0JMEMwUNsy8wC+apkJGBiuf0Aa4zOsD TmeHzCG2xmeO9vw1gs1SYp/3ge+eUdS0EemojeY5ajoBbHT8+oUEEruhrU7ADEIhhK/A 7IRR1nKqGoiMh19ENbqp6glfw9Yf5vLIhKDRDOS0Dxq0RZCXhvke9HOakbfapjf5qkVM azykFwcntItDwUBsZooOwMPCq2M4NlIUGO74uRNIDDIZKeKydHrWShS1KmLrc+h+JX26 skXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=PnlY+T4DSDo0HyL/FL7hD2y54EBwgGyL5go+8v+B4L4=; b=WTooqNyQc4mwKK1Wu+lJXEyPAVyqWdT/hetPXtWIvljDnDh19+Tu7z8aUCNa9nNP53 Im4qvKV54N96pRKMiqUys6v8Nx/Q0rEKsmueq7CYd4LIRkbR00Un7dyhHQiHvEZxJ59t /nz3rQjJROGr4JowtkHrrg34TG/TmjQmw85nfLUMI+PX/E8lUkDOgtUm729mHRbhc4eb sxxQniCHoXgl/47m5xC8nRi5BDp3966xWsRzz7swuk1+TYOgt1hb8xAG5PKw8t3h316M Z6WJRhXPGmWhqSPDlkGZGDBwQ0OBqgjrCUDYfUYw2lp1C9jtDJcr/n648ldz9rcbxbHF wBWQ== 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 n24si12432367pgv.119.2019.02.18.05.45.55; Mon, 18 Feb 2019 05:46:11 -0800 (PST) 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 S1730956AbfBRNKc convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Feb 2019 08:10:32 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:42989 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730497AbfBRNKb (ORCPT ); Mon, 18 Feb 2019 08:10:31 -0500 Received: from marcel-macpro.fritz.box (p4FF9F361.dip0.t-ipconnect.de [79.249.243.97]) by mail.holtmann.org (Postfix) with ESMTPSA id 8E053CF2C7; Mon, 18 Feb 2019 14:18:22 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH 0/6]Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices From: Marcel Holtmann In-Reply-To: Date: Mon, 18 Feb 2019 14:10:29 +0100 Cc: robh+dt@kernel.org, mark.rutland@arm.com, Johan Hedberg , devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: To: Sean Wang X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sean, > 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 (6): > dt-bindings: net: bluetooth: add support for MediaTek MT7663U and > MT7668U UART devices > Bluetooth: mediatek: trivial typo fix > Bluetooth: mediatek: fix up an error path to restore bdev->tx_state > Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync > Bluetooth: mediatek: update the common setup between MT7622 and other > devices > Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART > devices > > .../bindings/net/mediatek-bluetooth.txt | 64 +++ > drivers/bluetooth/btmtkuart.c | 538 ++++++++++++++++-- > 2 files changed, 569 insertions(+), 33 deletions(-) please re-send 1/6 and 6/6 when the DT changes are ACKed by Rob. Regards Marcel