Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4065554imm; Tue, 11 Sep 2018 06:30:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaYBvYOfE+wLEUsuipiC9hTuHXbDhD1T0i1l9a05d5B6PjzIlfmd8vdK1+Ntv0bLWL55Xdb X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr216503plh.135.1536672616414; Tue, 11 Sep 2018 06:30:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536672616; cv=none; d=google.com; s=arc-20160816; b=lFCOUfKCBv0/sWhCsAv5xjK6jFm70tcdPwMAV/OJA6oqbaZWuIYITnL/NJL4CklNa0 jmdAy/e91sYyh37Vpp4eXEgC2KopK7iq/c03DQXABEXyFWsO/GxybefBm39/zWq9TXRl gd3k6K9HRaO/DFlY+9Bqs3r8M1WM18MKuCE/twCpsvr5jzmcbGlOAzwMLQcqNmJt36ap Z03LFyLS3iB2CHZFC+jqgFunosfOk/0woep5LeeSwz9ndXgcvMPjxLxTacW5NlQNVyQd QPU3xcQHZNqye9/EeT090u5WRbELw1iNHtdBAg5UDDWO4cBVLOqAhhSYS6+YhG0D3KfD 9oFQ== 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=TkU8MRDoiVO3Xenu2UpogeBQJDUMy3v89vOBmvCt2mc=; b=guFDyga8GnPSFlL9l9KdGjyL38Oo9GKk0GjGvR0UG5mHKQO59/WGP+DQNE4VUJWdTE mz5Pw6aoZRrybRr5gDBO73xUignH+Nq17epJmXPxdiweBQ08DUl9YActCGYZBuEADy4v cMccc44HCql7WjuCQ352MDGh/1sQk/EVNymG9D3ovXW3BK2ddngRxUhb4/j1GPoTAHRb z9YtRQk3yhBNjs0P8SOKT3XC961TV1ZV7XywvcHON1haChbb3oKmMsBIFo6yfzwT2HFT FhMQMP9db5wkZvcaJT7HwPzhhSXpMeeNgmtl0a2v08cwkL1NGLC9jlBPL7bsT79MBqZ7 skLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HH30eFel; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190-v6si22966141pfb.144.2018.09.11.06.29.58; Tue, 11 Sep 2018 06:30: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=@kernel.org header.s=default header.b=HH30eFel; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727669AbeIKS1V (ORCPT + 99 others); Tue, 11 Sep 2018 14:27:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:49658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbeIKS1U (ORCPT ); Tue, 11 Sep 2018 14:27:20 -0400 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 46E4320839; Tue, 11 Sep 2018 13:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536672480; bh=B5iasDEWMmvosW3MVAEK+YKi2cN4Qxr16P/j1BqyHK8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HH30eFelSR811ub8boaul8geicmKIgAbSWFy4+vQAXX208yuIA4d6LfxcVcgeO5mg zwalpSZmNUNAiK3lGsqEm0AvJ4o4PUpel/AYIiy6qmCsH7F3d1+oh6ZVRkiuHhNfkJ vbEA9CmS7Tule6EAIm/PakSwsa2FIBqn1xsn15/4= Received: by mail-qk1-f174.google.com with SMTP id 93-v6so16697333qks.3; Tue, 11 Sep 2018 06:28:00 -0700 (PDT) X-Gm-Message-State: APzg51CLFmI7u7uDoMxA+onQwHdL/WdGkZTn7VOwtrLlUH3oWOmfigaW lcLqR5eNdtUIjQH3OMen3E7v1KdfKP4F70NNhA== X-Received: by 2002:a37:bec4:: with SMTP id o187-v6mr18546859qkf.326.1536672479460; Tue, 11 Sep 2018 06:27:59 -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: From: Rob Herring Date: Tue, 11 Sep 2018 08:27:48 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM64: dts: meson-gxbb-wetek: add ttyAML1 uart for Bluetooth To: Martin Blumenstingl Cc: Christian Hewitt , Neil Armstrong , Mark Rutland , Carlo Caione , Kevin Hilman , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , 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 On Mon, Sep 10, 2018 at 1:30 PM Martin Blumenstingl wrote: > > 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)? Probably so. Without, how do you determine firmware filenames for example? > 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"? A fallback is fine. I'd probably drop the 'c0' part. Is that readable from a register? Rob