Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3129245imm; Mon, 10 Sep 2018 11:31:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbtITbZN6nNijPRvW2LttFRZ3sF9oJgArHYQDsNnWn/REUgFtE/HXmDTombKBwGV5hcviiP X-Received: by 2002:a63:1516:: with SMTP id v22-v6mr24112002pgl.150.1536604276789; Mon, 10 Sep 2018 11:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536604276; cv=none; d=google.com; s=arc-20160816; b=BaV9N279vYTtaBzYdYWqMAXq5nwgLfk1zVCAkP7bebwnpVa9o/6S9qFag4yysj+Fci tfhBRJOvNyNSsHKG+rBvZYG/QOHK++C1PxQtRt2L4Ugcwd1pic6Eh6NUfxgpvDjeHkGS fk5HJi9gwmXLk5xYLJx/Rs8D3qxzEVbRt2u3PQdA2FoQllMFJmsMh5kc7JzHQdbGxMfs I6TNWXDRqxrXEnDmbaNToaqbasTCXCMIrt04xw0Id6hyQe0IV7X6M/Wza0Xi5quyZWCM JtLSR6NYasXRS1NAyqupAmOorHob+JjFvluG/uN1V23s5MIXL+fb36KF/CDKF1XlJMb4 q7vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=acTTCjmflRwKo6VDIuZ7RVQ9xomEVCvgh46cn9VsqrI=; b=QEVgJFVdizcKLwuBVAlT8VI2p2+7nUhTnzPaBqCVy+fGvLt/72xdPNXXaPA8t39y2F Tx10fQB5fdgR7/Bir1Yom2yHBePwZnJr4aetdzgSrjjx70RBepX2K2ksMFyD/J8mhVYu uqk4rTvxpmNKkaqkBYnMuPTGZJal3LLwRv/ywHuvS4agOCtpv5g4B4g7xXKq4ypAXMfP Drby3Hx0ioenooa2W5kz1Jo7ql4SPMVZwpOxxZ2HzlbnBAACy5eci9BhnGmBeIU9hMnG +6cOuZisoLV3452FDlLi12wucOH7mMS1ftpSsPMDytNkvBo0uBIfP1+8+nWXx4G4DxA8 SrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SRTn6jY5; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1-v6si5614062plg.285.2018.09.10.11.30.59; Mon, 10 Sep 2018 11:31:16 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SRTn6jY5; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728013AbeIJXZz (ORCPT + 99 others); Mon, 10 Sep 2018 19:25:55 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:46561 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbeIJXZz (ORCPT ); Mon, 10 Sep 2018 19:25:55 -0400 Received: by mail-oi0-f65.google.com with SMTP id y207-v6so42048831oie.13; Mon, 10 Sep 2018 11:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=acTTCjmflRwKo6VDIuZ7RVQ9xomEVCvgh46cn9VsqrI=; b=SRTn6jY53/3RV7oSIpPVXgpZmWj6EhiJSswcmJiB2tiwZVnx2ICODh8QFyztrQKObA HSsUNQd4khNi0e7fO+K/PBTK10FCuS457RVuOrwlzUMCvv/IWzAT47+/36knl2Zrxezx UaJ9JEuTgtBk9KpII4/1D5SUIM3JJqTLXCxyc+hrNyRQItdkL3rsqQxQqZ8t3qYnmfAZ NFhhttQKCieyz6mcjwMr85oicyRkrnd9YCBugM4KZiaJ9itNflA8kqLAiw0Tq2SmIcn2 Dp2q0h6f9ka5FQ/ChFXFPnpAzpmN1IyFO5Otkt8pP3MDoPYrpclALscEFL2BrFkjpXDs +dng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=acTTCjmflRwKo6VDIuZ7RVQ9xomEVCvgh46cn9VsqrI=; b=UIK0uBNEGc19wofgZnw46g5Mk8hM9N5WfM7N514QQA6cGl3w7PH7AbXMfwkQSttTIa 8xFozTHAY1uPHzCLqLcxYezkbfqDjJtkKR+B2mpOzOagP+22rQBG2E2SU5TDv73I41a/ K8edjhQSl6cIqgZWVz6HX2RvthebiUBo9cUNOGrdoQfLnDgTM0+Lylrr0GIdDArjWvZr U+vrQpO8YXvXXfs36/qshX67ZGDq6PlCa4mmHUlN04zuS5bpQjCE6mFQ/C0soIrdryHW JSXAZBP4/i9fYMqQIRCO9EK/MJ09asHRQBeYr0f6F/D8IuGUthNXaZW4XmD1N7DlJr47 Lncg== X-Gm-Message-State: APzg51DvJI33kfphEHPMxpyyMGXFCUGULfxhZsb+EPl/vTp1acPwMvvo yk1SvB192jkiUh4n9Tmhr04+x1Jlk28AV+gPFvI= X-Received: by 2002:aca:b904:: with SMTP id j4-v6mr2210224oif.89.1536604231563; Mon, 10 Sep 2018 11:30:31 -0700 (PDT) MIME-Version: 1.0 References: <1536072290-28015-1-git-send-email-christianshewitt@gmail.com> <1536322536-53109-1-git-send-email-christianshewitt@gmail.com> In-Reply-To: <1536322536-53109-1-git-send-email-christianshewitt@gmail.com> From: Martin Blumenstingl Date: Mon, 10 Sep 2018 20:30:20 +0200 Message-ID: Subject: Re: [PATCH v2] ARM64: dts: meson-gxbb-wetek: add ttyAML1 uart for Bluetooth To: robh+dt@kernel.org Cc: christianshewitt@gmail.com, Neil Armstrong , mark.rutland@arm.com, carlo@caione.org, khilman@baylibre.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Fri, Sep 7, 2018 at 2:16 PM Christian Hewitt wrote: > > This change adds the uart_A used by the brmcfmac sdio module in the > WeTek Hub and WeTek Play 2 devices. meson_uart_probe seems to mandate > an alias (without it, BT is not working) so this is also included. > > Signed-off-by: Christian Hewitt > --- > arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi > index 70325b2..e75ace7 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi > @@ -10,6 +10,7 @@ > / { > aliases { > serial0 = &uart_AO; > + serial1 = &uart_A; > ethernet0 = ðmac; > }; > > @@ -239,6 +240,18 @@ > vqmmc-supply = <&vddio_boot>; > }; > > +/* This is connected to the Bluetooth module: */ > +&uart_A { > + status = "okay"; > + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; > + pinctrl-names = "default"; > + > + bluetooth { > + compatible = "brcm,bcm43438-bt"; I have a question regarding the Broadcom Bluetooth compatible strings: Christian mentioned earlier that the Bluetooth controller identifies itself as BCM4335C0 (BCM4335 rev. C0) do we need to add a new compatible string (to Documentation/devicetree/bindings/net/broadcom-bluetooth.txt)? if yes: should we also add a new of_device_id to hci_bcm.c or should board.dts simply use compatible = "brcm,bcm4335c0-bt", "brcm,bcm43438-bt"? Regards Martin