Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1327480imb; Sat, 2 Mar 2019 10:54:23 -0800 (PST) X-Google-Smtp-Source: APXvYqwQLbU6vwOKZey8aX4jBY6N/jshDcbzBTZga1P4kyb1UE265YSJnlvSJxJC5DZ80hyMS+nm X-Received: by 2002:a17:902:34a:: with SMTP id 68mr11495262pld.327.1551552863290; Sat, 02 Mar 2019 10:54:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551552863; cv=none; d=google.com; s=arc-20160816; b=msRNjXWE76OXQ1kJ145LEGFihoNKEeP+4peUTibevNi6moZDqMj9cObzr1J4Frq1h2 S/t1KuWZk7kdFzBTkc5D/BO97+m0OVtaVcF9YlYEHQ8rilTaVC2RftBkUcREhdWqjnUE OCuDt33szCjQ5FhRF7P+hbEwLAlUWYDrN5/xFYf5h1lh0NMHNF0f9EIo4pkMSJDNKQ29 w9gXmlRWRB7KFDlXMT81enP++/MguFYAIUZj5WjykAQLOkiHdOFYWNXPpZSKe3ZWiNxt E409TYAQEqiEtuetsHQ3PLuFpg08HsjxInS2JrRQwndgvJbG7OtkAKejMJiAw9M/POHU zV9g== 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=Mdb2EcWkLHx53rEmpz4zmzum7c27Bfg44wRXpYsmhRE=; b=tGSa0JI4F5bpi23FpUzCEbYwYk2e4BFIyhwBc+ymM4MCjE39tLFQc/GFMhF6erjnw2 HHRwds9UCHLifa/HGtxVGYYGKlBeMW/qIXi/U+jJFFNY3p0cAT0DL45uiCC9mzFddNA8 71okmabB6Uv12vTnafb7aTEzrrPNv6qGPtbhrV+V78dqtlSykpIgncJ+vKoh88QWKS6N bpezH5P+EBmkJ+tzBcEaC6edCNG0SXN/rFmhFixeNEOLqz5JaD48yd58iWrjm+imMxc/ d2vjOgIq0CNEjw76aJvqTVTB/gFM33qW6UbfGNtUqmigg9EvJGMSrfK4lnTrVZsLp4Uz zfgw== 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 cn17si1221961plb.139.2019.03.02.10.54.07; Sat, 02 Mar 2019 10:54:23 -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 S1727124AbfCBSwV (ORCPT + 99 others); Sat, 2 Mar 2019 13:52:21 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:50894 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726648AbfCBSwU (ORCPT ); Sat, 2 Mar 2019 13:52:20 -0500 Received: from marcel-macpro.fritz.box (p4FF9F361.dip0.t-ipconnect.de [79.249.243.97]) by mail.holtmann.org (Postfix) with ESMTPSA id F141DCEE16; Sat, 2 Mar 2019 20:00:14 +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 RESEND v2] Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices From: Marcel Holtmann In-Reply-To: <35cb9acf1c5604e1d975efe9186879fc826fbe2f.1551551989.git.sean.wang@mediatek.com> Date: Sat, 2 Mar 2019 19:52:18 +0100 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <826E5A6F-3429-416D-B4F4-DE3F6349D7FF@holtmann.org> References: <35cb9acf1c5604e1d975efe9186879fc826fbe2f.1551551989.git.sean.wang@mediatek.com> To: sean.wang@mediatek.com 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 MT7663U and MT7668U Bluetooth function > running on the top of btmtkuart driver. > > There are a few differences between MT766[3,8]U and MT7622 where > MT766[3,8]U are standalone devices based on UART transport while MT7622 > bluetooth is a built-in device on MediaTek SoC communicating with the host > through BTIF serial transport. Thus, extra setup sequence is necessary > for these standalone devices such as remote regulator and reset control via > GPIO, baud rate changing handshake between the host and device and so on. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 281 ++++++++++++++++++++++++++++++++-- > 1 file changed, 271 insertions(+), 10 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel