Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4046516ybb; Mon, 6 Apr 2020 22:59:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJ9q7z4mma3sBTz4iPO+ima63QrkQgutuAClAfD6Kd4fqo1TVGrw9Ykphu6pYWdKX+lPUHO X-Received: by 2002:a05:6830:1556:: with SMTP id l22mr305200otp.61.1586239198568; Mon, 06 Apr 2020 22:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586239198; cv=none; d=google.com; s=arc-20160816; b=vEKAbTcdOPR4hpk+Bu/HUDbqHwn7CnlUNak/K0Sfx3BW/rpwElSA0B2TOZl+FLny2v p1pv2eUSDCZvM+6vPCwXdrU/guWssfxsraaM+T0jzWNxTzHcS8XZZcbqr/qxBT06Ew+s NyOnVqR8Q9yCsRY3Yf25YVh1G15S7OrjvFmhQLIDPLsYuS+q92L+rjO9mjMrZOemTDT3 sn7CDbJROuG8sgLvTzeCu0VBz2NITeYiM07IoT1CdK8ZlKxAPmudauHT5StsOk+qNr6d Y04JljYEVJdDG47qodz/4a04e/MfR7hdLEf/7v/q9VCfmAsreCO6UT2G9Asr4Za2YA+P 5Ruw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=luaDFvJ4QP7HzTgY7DFCyyfDI0BXcg59edPeu9moQnE=; b=rPnln6uN6vavmH+FMySouE+ihzs277hP8qZpSpKL9OxAwMMpWjfYUsdH8FrLVpmxud hAgjsi7gU49t/bcstWlzf/ln0uoEhaeAL4FJH8+ZF9J9q8CTUJf44T5xL0zfmxS545G5 18uTEDSs+Zpfnz93wWc/b2bl6kWAzKEQ3yN/wI5QJ1ZORz4EHr3c7iaN7PB80B/EUsbg y63vBrV/dEw+1hTNur6UMM7Q5pCpRl5Mnl+YfCo5K28RZs42u6BkXYtccmaHPN+OZtYK 4dvjEaJkYHi6/5fovWqrO1eKBSgR4x4wAOSIU+9lnF+9URJlLb8EfSaE8lWRrcocoWeW Bq9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=iWAedFWI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HU2zYuIb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si843030otr.39.2020.04.06.22.59.46; Mon, 06 Apr 2020 22:59:58 -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=@alistair23.me header.s=fm3 header.b=iWAedFWI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HU2zYuIb; 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 S1727002AbgDGF67 (ORCPT + 99 others); Tue, 7 Apr 2020 01:58:59 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:38603 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbgDGF6u (ORCPT ); Tue, 7 Apr 2020 01:58:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 678CC580307; Tue, 7 Apr 2020 01:58:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 07 Apr 2020 01:58:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=luaDFvJ4QP7HzTgY7DFCyyfDI0 BXcg59edPeu9moQnE=; b=iWAedFWIY7AyUqXyEMCmfDoc8Nak2DLftjwUhJLLQk KNRmOJFxDfJQelE4tQso8nqPqTCL31xTtxABsBPSsUcMfpIKe1bykpddaAqUbthw /vl/Z9Jq9bNHA24yGTdB69hoCYVyLgtsVsk7fePlLWGZWDXCGTMZdXa8TOgiK85V pd9dsCtIU1YBudJZhbVYYjac0Y5fLIArn6ezaAN9xQZ8SgqJ9uqFjcLMOMc8sYIz pRYAU02EllzACZNByxAtfsQAs/LYL+tVt3ON7SLv7vLHKb1/P6OhdK+5WTx2v1+/ ZC3VWm3Fjv58Przl49QI2qupSTk3MVYS9A+WJ432J4eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=luaDFvJ4QP7HzTgY7 DFCyyfDI0BXcg59edPeu9moQnE=; b=HU2zYuIb3dTywfn6VPUoR6iQ4DvjVfA6a HM+TF/HO7pF27scVLRt1zH0A/0lI70UatZoD3GNQUy243gLrac3W2iCay50Ov+YT K27RqrE9PzGeydBTzz+TX34aCWjfjGqUSjOQiuF3Yrf8V7jEkGczMYXQUOxhp6dF /iBC2Hhu8aP65ZgX5Ldf7ZPKt3kIkaApsciNqonHlE920OwyE2Qfa78gcday7Qwp YgfzosNZnOFO2keUO9YaeEk0bycSC7uosnwKgi/xES5kl3cwi1NmXCK05r9Zp5xc 7DftnpnfR8u1zPQkjZwM8FokfE80X/uvWlbHtWuIxC34zO2n7eDSQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeggdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghirhes rghlihhsthgrihhrvdefrdhmvgeqnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdroh hrghenucfkphepjeefrdelfedrkeegrddvtdeknecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhishhtrghirhdvfe drmhgv X-ME-Proxy: Received: from alistair-xps-14z.alistair23.me (c-73-93-84-208.hsd1.ca.comcast.net [73.93.84.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 869D6328005A; Tue, 7 Apr 2020 01:58:43 -0400 (EDT) From: Alistair Francis To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, marcel@holtmann.org, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, mripard@kernel.org, wens@csie.org Cc: anarsoul@gmail.com, devicetree@vger.kernel.org, alistair23@gmail.com, linux-arm-kernel@lists.infradead.org, Alistair Francis Subject: [PATCH v2 1/3] dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth Date: Mon, 6 Apr 2020 22:58:35 -0700 Message-Id: <20200407055837.3508017-1-alistair@alistair23.me> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vasily Khoruzhick Add binding document for bluetooth part of RTL8723BS/RTL8723CS Signed-off-by: Vasily Khoruzhick Signed-off-by: Alistair Francis --- v2: - Update bindings based on upstream feedback - Add RTL8822CS - Remove unused/unsupported fields - Remove firmware-postfix field - Small formatting changes .../bindings/net/realtek,rtl8723bs-bt.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8723bs-bt.yaml diff --git a/Documentation/devicetree/bindings/net/realtek,rtl8723bs-bt.yaml b/Documentation/devicetree/bindings/net/realtek,rtl8723bs-bt.yaml new file mode 100644 index 000000000000..a03ce1bbc56f --- /dev/null +++ b/Documentation/devicetree/bindings/net/realtek,rtl8723bs-bt.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/realtek,rtl8723bs-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth Device Tree Bindings + +maintainers: + - Vasily Khoruzhick + - Alistair Francis + +description: + RTL8723CS/RTL8723CS/RTL8822CS is WiFi + BT chip. WiFi part is connected over + SDIO, while BT is connected over serial. It speaks H5 protocol with few + extra commands to upload firmware and change module speed. + +properties: + compatible: + oneOf: + - "realtek,rtl8723bs-bt" + - "realtek,rtl8723cs-bt" + - "realtek,rtl8822cs-bt" + + device-wake-gpios: + maxItems: 1 + description: + GPIO specifier, used to wakeup the BT module + + enable-gpios: + maxItems: 1 + description: + GPIO specifier, used to enable the BT module + + host-wake-gpios: + maxItems: 1 + desciption: + GPIO specifier, used to wakeup the host processor + +required: + - compatible + +examples: + - | + &uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts = <1>; + + bluetooth { + compatible = "realtek,rtl8723bs-bt"; + device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ + host-wakeup-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + }; + }; -- 2.25.1