Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2419967pxu; Fri, 18 Dec 2020 12:50:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxo9FKgZpgaJTZuUETp1+R8fpQ65Z35ffrwqOkBgkMgfcQjtjRvKvVlm1/qtcSbSIdW6ccI X-Received: by 2002:aa7:c0d6:: with SMTP id j22mr6233528edp.31.1608324623758; Fri, 18 Dec 2020 12:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608324623; cv=none; d=google.com; s=arc-20160816; b=AoIDSlP/2/vU6ATW0CdqQSGcX+43AriFK6V7BawjRiL7DPxD6+Vt0m8JkFTzmtD1Ob 2Zlty4F6fu9f/1o/tqGVN/Pe0aEvJlhgaG8/3RY1DHcuSzty2eVdqe7nHO7tJaAzOVTf Z0ZfrX7pFsRsixoaN/O6MRuj40H3aoXBjBreeuDZuLx+20+FPFmTZUVR1pOWx/XtQFrF m/yzo1JR3ssmQw/hgufLP9KKyQT5CdKyZDW7jXbW/btekfG9tbYiWx53OvER7xzXaUlw OA8uEG2okxdjUr9UbATu3WLZ0vtJ0RXegClR+1bRdzija5h85A0zrD6ASHP3ykoBg8Yp SVRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yhJLkzQpegL1FhdNGvwZKI/V5yoV05cxUNpwydWM8WA=; b=0UrteS6/5rtM+zXHxzaTi1vC9EizVS/sosZaW9P3t9V3oQgzlby/sIGfWRSFCuee3L NdFrDOntCSlkmBpPtgseqSnmTwrKJTrMvOBFXjueWrTMKsKAbvqF84hcSSixTDSjE5x7 eotaMjF2JrXya2LtucBgX98xqakXJaDxBeXeZZw5OrC2yYPMUDy/od+Fu+CtW+xB++uE txQ9xN7XJJr+xgzuIe1gbuVKtECyAlxwKg0Nk2KfC/a7bApJNeQWf7euc1QNNC7xfLwO 0FIwE/YjuEF2h2HJw71J/PjktuKXAgOU+GGeuYvCQnyJ6wKq+tHtfGKJBuslVvtdVkVZ IrIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si6645377edr.148.2020.12.18.12.49.47; Fri, 18 Dec 2020 12:50:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725924AbgLRTHk (ORCPT + 99 others); Fri, 18 Dec 2020 14:07:40 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:41068 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbgLRTHk (ORCPT ); Fri, 18 Dec 2020 14:07:40 -0500 Received: from mail-ej1-f70.google.com ([209.85.218.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kqL5d-0004G3-VM for linux-bluetooth@vger.kernel.org; Fri, 18 Dec 2020 19:06:58 +0000 Received: by mail-ej1-f70.google.com with SMTP id dc13so1197772ejb.9 for ; Fri, 18 Dec 2020 11:06:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yhJLkzQpegL1FhdNGvwZKI/V5yoV05cxUNpwydWM8WA=; b=R2yp6iuqN2kko6WpSsFYrh+UVTTR7JtVPuocfImW5xptLkCeTDiHAsNY++y9FRyFJp egH5xSDx4Qpur1zdnLXyeGQlVLuh8FOp64lztHAwp5snHQyCMkZbfAQi0lLjveclVOVA k+VygRLrS5p9RSgrfiIQqAjxY8cvNNkbrTqCXTFqrNuPY4nCBy7aUztz3Tup39TZbdSZ s0ekUUkQtYsWWysbO7s7I6lwETHAndNrKa1Et3qKrRGpIqVACcooRyZh+ZeUpjDLYvt4 2mYYwAyzcESkKkrNPGlY8fMVoYYSYBCJsbk0mgN19UtjJQhT1DspYnzI06WV1s/pIEul uLOg== X-Gm-Message-State: AOAM532tvr2h9bL0seXA0aeYO1AldNMpxIawSBmJDjc57NkKxFzrbXtx dwbgciLi+JT5I3TNC+uvY8sGWANkIHM1zOayQOorniJ2LIeeFwmwODx/Ua3NsLTDmDdu3Tsbw2u wgW34hdjG6JmT8bGZCxGhNReG5Xv0BFF1W/IOCj9EDW/SWQ== X-Received: by 2002:aa7:d41a:: with SMTP id z26mr2112032edq.267.1608318417179; Fri, 18 Dec 2020 11:06:57 -0800 (PST) X-Received: by 2002:aa7:d41a:: with SMTP id z26mr2112018edq.267.1608318417004; Fri, 18 Dec 2020 11:06:57 -0800 (PST) Received: from localhost (waveform.plus.com. [80.229.34.140]) by smtp.gmail.com with ESMTPSA id ga11sm5884714ejb.34.2020.12.18.11.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 11:06:56 -0800 (PST) From: Dave Jones To: Bluetooth Kernel Mailing List Cc: Dave Jones Subject: [PATCH v1 1/3] hciattach: Add BCM43xx 3-wire variant Date: Fri, 18 Dec 2020 19:06:07 +0000 Message-Id: <20201218190609.107898-2-dave.jones@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201218190609.107898-1-dave.jones@canonical.com> References: <20201218190609.107898-1-dave.jones@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Adds the bcm43xx-3wire variant to the hciattach tool; this is for use when the Raspberry Pi's mini-UART (which lacks flow-control) is used instead of the PL011 UART to drive the bluetooth module. Signed-off-by: Dave Jones --- tools/hciattach.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/hciattach.c b/tools/hciattach.c index 276a4e56e..503f067bc 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -1078,6 +1078,9 @@ struct uart_t uart[] = { { "bcm43xx", 0x0000, 0x0000, HCI_UART_H4, 115200, 3000000, FLOW_CTL, DISABLE_PM, NULL, bcm43xx, NULL }, + { "bcm43xx-3wire", 0x0000, 0x0000, HCI_UART_3WIRE, 115200, 3000000, + 0, DISABLE_PM, NULL, bcm43xx, NULL }, + { "ath3k", 0x0000, 0x0000, HCI_UART_ATH3K, 115200, 115200, FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm }, -- 2.27.0