From patchwork Fri Nov 17 22:35:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10064081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 39CF2604D4 for ; Fri, 17 Nov 2017 22:36:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DF732AE48 for ; Fri, 17 Nov 2017 22:36:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22A2E2AE50; Fri, 17 Nov 2017 22:36:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C9B6C2AE48 for ; Fri, 17 Nov 2017 22:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=uU7F2F3xfWRILvu4pztjiIfpPicWCJXTNFFIEnOo2Us=; b=ur6CaXq14IMZBtGuTXp46ZOT6z gXFEPflkQPqITRVoS+wArwjOU74dpPJWUK8eS7Cs0C86w46cGBN4apJ5T/N/7DpCe5VafSlgQ4gV0 mWlHizSjpLKtXjYKVWpEc+pMIqfEkMgEeD0ZsJ+ENzJcVW3JKBEAeAxkeCXsNaEC8Ekf4YpGEuopj hKCLbgQBzMPrxnvYwoxfPiAgxCQSCKHTLA5YeU6ih3Yyr4XIO9GJxlkrVnhlsh2MM/mMcq70NAW/+ eengPOE9qePB1HmZMARIH8tpEzw507ZL7TuVG0AxUMWnxX30xUU0PF2p1BJRFypTkN2xw4aoR3Jw4 8LG2O6Aw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFpFg-0003vm-0x; Fri, 17 Nov 2017 22:36:48 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFpFX-0003fi-7u for linux-amlogic@lists.infradead.org; Fri, 17 Nov 2017 22:36:43 +0000 Received: by mail-wm0-x243.google.com with SMTP id r68so9212103wmr.3 for ; Fri, 17 Nov 2017 14:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hLuIBYD6nYpBiwoavR2yMe7VmS1miwH2t0ZqFjAUaPE=; b=KxvGZx3z4EDBJX4Cz8B7MdmlZ3ON1F39DIqNVAMB3FKshWUbCwr2cUGU13h28tOCoh 0nc5rlEtLOjsv60M49XXjAXEQnI94B3tW6zMVs5fpSvrbtcvx+vajcCrfilIhpvhWpb2 eutBCTuzi1RHKBiyZpglrk6vWsYEf/yx1gUNmt9KID66KU2wY7C9P638l8WwroKsm3r3 b6pwmHiuVmJghQYsMiDobla2YZQWzYRuIoQR6nTXe0uBHTrwHgqZBdY2tXnn0IC7Fh2O q7U2W1hBd7ajmvvveBTo711BoExr9fBqZkIfk6usGrZpTkPtueit2XCPXaNvdmF4cfLN Wtmg== 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; bh=hLuIBYD6nYpBiwoavR2yMe7VmS1miwH2t0ZqFjAUaPE=; b=TBOc9SntnYR+qekF1Q2V0GKBAKT4EZOkL1mdNtE4eFGflEuPG8smmf/1GwQVV7sYVN hfpC51EwXop+OAcrUPCoAXTplhOpXJMNsj5MjMRDuX3Im8SB2e6wAH4kONBBh2uUH68A d+Xa5B9TbWQ7jJ7Ug+9gVIi4mzUD5Mx/v4lFATMUHiNKBH+DOgVnU+Ldm3dSh3tbvNTh r/bkULXx3+XrO59kVvN5Ji0wjXtCsM4u4sajiiyRPh+CC0ve/AvDRNmvWQaF3/tYQkQq 1RH3rfL0MU4IJq+KdvnoNaRVzRsF39l8imOn6kcxugfrUBMjCuMPCbXvrNWm05qTKZgN Pwww== X-Gm-Message-State: AJaThX5ltccbNBFMzmXWLVgTilZR7HuuCuf7ChX+yDT/eZJgsuedJ0T0 y5y7xS+WIrqsoEVF5467KJs= X-Google-Smtp-Source: AGs4zMZpYt1C3YuQBfQAOchrtkgo7t4yYPS98kTIK3QFfYdpnn9UBFHYjZ0jJwkdakURqVbL4NblOg== X-Received: by 10.28.69.215 with SMTP id l84mr5391210wmi.30.1510958177059; Fri, 17 Nov 2017 14:36:17 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3F8BE04428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d3f8:be04:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id k5sm5094876wmg.21.2017.11.17.14.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2017 14:36:16 -0800 (PST) From: Martin Blumenstingl To: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-serial@vger.kernel.org Subject: [RFC v1 8/8] dt-bindings: net: bluetooth: add support for Realtek Bluetooth chips Date: Fri, 17 Nov 2017 23:35:43 +0100 Message-Id: <20171117223543.32429-9-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171117223543.32429-1-martin.blumenstingl@googlemail.com> References: <20171117223543.32429-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171117_143639_647204_4EE13049 X-CRM114-Status: GOOD ( 11.09 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, johan.hedberg@gmail.com, gregkh@linuxfoundation.org, Martin Blumenstingl , gustavo@padovan.org, marcel@holtmann.org, johan@kernel.org, linux-sunxi@googlegroups.com, jslaby@suse.com, linux-amlogic@lists.infradead.org, Larry.Finger@lwfinger.net MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the documentation for Bluetooth functionality of the Realtek RTL8723BS and RTL8723DS. Both are SDIO wifi chips with an additional Bluetooth module which is connected via UART to the host. Signed-off-by: Martin Blumenstingl --- .../devicetree/bindings/net/realtek-bluetooth.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek-bluetooth.txt diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.txt b/Documentation/devicetree/bindings/net/realtek-bluetooth.txt new file mode 100644 index 000000000000..c919e06469f8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.txt @@ -0,0 +1,31 @@ +Realtek Bluetooth Chips +----------------------- + +This documents the binding structure and common properties for serial +attached Realtek devices. + +Serial attached Realtek devices shall be a child node of the host UART +device the slave device is attached to. See ../serial/slave-device.txt +for more information + +Required properties: +- compatible: should contain one of the following: + * "realtek,rtl8723bs-bluetooth" + * "realtek,rtl8723ds-bluetooth" + +Optional properties: +- disable-gpios: GPIO specifier, used to enable/disable the BT module +- reset-gpios: GPIO specifier, used to reset the BT module + + +Example: + +&uart { + ... + + bluetooth { + compatible = "realtek,rtl8723bs-bluetooth"; + disable-gpios = <&gpio 20 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; + }; +};