From patchwork Thu Jan 3 16:35:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Summers X-Patchwork-Id: 1020401 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=davidjohnsummers.uk Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43Vtz21YSQz9s9G for ; Fri, 4 Jan 2019 03:43:42 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732355AbfACQnl (ORCPT ); Thu, 3 Jan 2019 11:43:41 -0500 Received: from avasout03.plus.net ([84.93.230.244]:41583 "EHLO avasout03.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730097AbfACQnk (ORCPT ); Thu, 3 Jan 2019 11:43:40 -0500 X-Greylist: delayed 450 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Jan 2019 11:43:40 EST Received: from localhost.localdomain ([87.112.196.180]) by smtp with ESMTPA id f5yHgSh7KimnMf5yRgALVK; Thu, 03 Jan 2019 16:36:09 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=CoqRjEwD c=1 sm=1 tr=0 a=Y1wGFK3FhPvFCcGACwKsaA==:117 a=Y1wGFK3FhPvFCcGACwKsaA==:17 a=ag1SF4gXAAAA:8 a=OE3fWgKIv0mTuvs3W8IA:9 a=QAsrkg2CaESh2Yvt:21 a=3fakuoe7C_Kcefeu:21 a=Yupwre4RP9_Eg_Bd0iYG:22 X-AUTH: davidjohnsummers@:2500 From: David Summers To: marcel@holtmann.org, johan.hedberg@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: David Summers , linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCHv2] Description of the realtek bluetooth device tree hooks Date: Thu, 3 Jan 2019 16:35:37 +0000 Message-Id: <20190103163538.6575-1-beagleboard@davidjohnsummers.uk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181229115513.31153-1-beagleboard@davidjohnsummers.uk> References: <20181229115513.31153-1-beagleboard@davidjohnsummers.uk> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfAkm9zAlECxWQLhXo7Q589QNcGDC2gfu6hoaG3VtoQya9njWI7TwaPZ7gMS45vJ8LWahhiJtSS9C/4N1Z57zqWiuMnbD0z+XByQzMHq0g+jLCDrXC4Wz cN5Tdz43ktAXMpaNhSZsJq9Kbsx+QRWhNBCt4yDR9Fk6GxuDEN7LCP8MlODrMGsTUQB/p3ISWtBQ6isUhwotBb5TZuAuJ98cZUQ= Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the desrciption file that describes the hooks for the realtek bluetooth serial devices, as needed to refer to the interface in the device tree. Signed-off-by: David Summers --- .../bindings/net/realtek-bluetooth-serial.txt | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek-bluetooth-serial.txt diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth-serial.txt b/Documentation/devicetree/bindings/net/realtek-bluetooth-serial.txt new file mode 100644 index 000000000000..0aabca1fc002 --- /dev/null +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth-serial.txt @@ -0,0 +1,28 @@ +Realtek bluetooth devices connected via a UART + +- compatible: should be "realtek,-bluetooth" + except for "realtek,trl8761atv" - which only has a serial bluetooth connection + "realtek,rtl8723as-bluetooth" + "realtek,rtl8723bs-bluetooth" + "realtek,rtl8723ds-bluetooth" + "realtek,rtl8761atv" + "realtek,rtl8821as-bluetooth" + "realtek,rtl8821cs-bluetooth" + "realtek,rtl8822bs-bluetooth" +- These device are bluetooth devices, that connect via a uart +- all devices (except for rtl8761atv) are also wifi devices, this is connected + seperatly via sdio - and is not covered by this compatible node +- ideally these will be referenced in a device tree serial node via serdev + http://events17.linuxfoundation.org/sites/events/files/slides/serdev-elce-2017-2.pdf + +Example: + +&uart0 { + status = "okay"; + pinctrl-0 = <&uart0_xfer>, <&uart0_cts>; + bluetooth { + compatible = "realtek,rtl8723bs-bluetooth"; + }; +}; + +this ensures that the bluetooth device is tied to the correct uart