From patchwork Wed Jan 18 18:04:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 91819 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1137512qgi; Wed, 18 Jan 2017 10:05:11 -0800 (PST) X-Received: by 10.99.157.135 with SMTP id i129mr5378485pgd.132.1484762711517; Wed, 18 Jan 2017 10:05:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x128si912710pfd.87.2017.01.18.10.05.10; Wed, 18 Jan 2017 10:05: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 S1752822AbdARSFE (ORCPT + 25 others); Wed, 18 Jan 2017 13:05:04 -0500 Received: from mail-ot0-f193.google.com ([74.125.82.193]:35842 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688AbdARSFC (ORCPT ); Wed, 18 Jan 2017 13:05:02 -0500 Received: by mail-ot0-f193.google.com with SMTP id 36so1891723otx.3 for ; Wed, 18 Jan 2017 10:05:02 -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; bh=PfzEd9yL7lHpbCph3uSmUKNPMEO/IqQVnTNJX8qmq/8=; b=moDWG+bU+0V2aDNb4vLWtkMJ3nEdXb586mGcn6gDS3ByaZdgkvGEV87A4tPe6SCDtI BOqtF9SgvU8QzBqDIf4+YdmrYuecEPam93Hga+GXk+4y3A+Q8eO0eVVys71+93qWIxrk 3l2YD1b86JxvhL/Jq6Al6AeC8lBLg5+B7Ck9bF6g+VaMURXZzefNWlUG4yDWulohGUVL 7zHJ6zMVFtgRdu+yAnak5ZvWnFOKFEwm1r5MWNKH62Mk++FGymoz1w6PeqWi2bNhncf0 IVrr5pVhjNugslF2AL6CaXDXX+gQPP/5wtRmyJ6K+Wf0GnDmVayYqqLVydFcoUCf6h/W bycw== X-Gm-Message-State: AIkVDXJB7ENln22Dv1vbZGjI9tsoqJ9GJEtZm+eGcRZgL3CJpQc7Zi1Ol7c1nv+6JKKSjw== X-Received: by 10.157.27.208 with SMTP id v16mr2099130otv.200.1484762701907; Wed, 18 Jan 2017 10:05:01 -0800 (PST) Received: from rob-hp-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by smtp.googlemail.com with ESMTPSA id r41sm490765otc.40.2017.01.18.10.05.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2017 10:05:01 -0800 (PST) From: Rob Herring To: Marcel Holtmann Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org, Eyal Reizer , Gigi Joseph Subject: [RFC 0/2] Initial BT serdev support Date: Wed, 18 Jan 2017 12:04:58 -0600 Message-Id: <20170118180500.7791-1-robh@kernel.org> X-Mailer: git-send-email 2.10.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is initial attempt for BT LL protocol using the new serdev bus[1]. I initially had been hacking up the TI-ST driver which newer TI chips use, but only recently figured out the LL protocol is the same (thanks to John Stultz). As the TI-ST driver is a bit of a mess, I've instead modified the LL protocol to use serdev and added firmware loading. I've tested this on a HiKey board which has TI WL1835 combo chip. Rob [1] http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1311650.html Rob Herring (2): bluetooth: hci_uart: add serdev driver support library bluetooth: hci_uart: add LL protocol serdev driver support drivers/bluetooth/Makefile | 2 +- drivers/bluetooth/hci_ll.c | 248 ++++++++++++++++++++++++++- drivers/bluetooth/hci_serdev.c | 370 +++++++++++++++++++++++++++++++++++++++++ drivers/bluetooth/hci_uart.h | 4 + 4 files changed, 622 insertions(+), 2 deletions(-) create mode 100644 drivers/bluetooth/hci_serdev.c -- 2.10.1