From: Rob Herring <robh@kernel.org>
To: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
Cc: Marcel Holtmann <marcel@holtmann.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Mark Rutland <mark.rutland@arm.com>,
Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v4 1/3] dt-bindings: net: bluetooth: add DT bindings for Realtek controllers
Date: Fri, 13 Dec 2019 16:27:35 -0600 [thread overview]
Message-ID: <20191213222735.GA456@bogus> (raw)
In-Reply-To: <20191130202314.142096-2-bonstra@bonstra.fr.eu.org>
On Sat, Nov 30, 2019 at 09:23:12PM +0100, Hugo Grostabussiat wrote:
> The rtl_bt driver already supports some Realtek controllers on ACPI
> platforms.
> This commit adds bindings for DT-only platforms.
>
> Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
> ---
> .../bindings/net/realtek-bluetooth.yaml | 52 +++++++++++++++++++
> 1 file changed, 52 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
> new file mode 100644
> index 000000000000..6b62e5132c90
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
> @@ -0,0 +1,52 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Realtek Bluetooth controllers device tree bindings
> +
> +description: |
> + Device tree bindings for serial attached Realtek Bluetooth controllers.
> +
> +maintainers:
> + - Marcel Holtmann <marcel@holtmann.org>
> + - Johan Hedberg <johan.hedberg@gmail.com>
> +
> +properties:
> + compatible:
> + items:
> + - const: realtek,rt8723bs-bt
> +
> + powerdown-gpios:
> + description: GPIO line controlling the power down (BT_DIS#) signal
> + maxItems: 1
> +
> + device-wake-gpios:
> + description: GPIO line controlling the device wakeup (BT_WAKE) signal
> + maxItems: 1
> +
> + host-wake-gpios:
> + description: GPIO line sampling the host wakeup (BT_HOST_WAKE) signal
> + maxItems: 1
> +
> + firmware-name:
> + description: |
> + Name of the configuration file to load in addition to firmware
> + $ref: http://devicetree.org/schemas/types.yaml#/definitions/string
This should be just:
$ref: /schemas/types.yaml#/definitions/string
> +
> +required:
> + - compatible
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + uart1 {
> + bluetooth {
> + compatible = "realtek,rtl8723bs-bt";
> + powerdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>;
> + host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
> + device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>;
> + firmware-name = "rtl8723bs_config-teres_a64_i.bin";
> + };
> + };
> --
> 2.24.0
>
next prev parent reply other threads:[~2019-12-13 22:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-30 20:23 [PATCH v4 0/3] Add Bluetooth support to Teres A64 I Hugo Grostabussiat
2019-11-30 20:23 ` [PATCH v4 1/3] dt-bindings: net: bluetooth: add DT bindings for Realtek controllers Hugo Grostabussiat
2019-12-02 19:03 ` Maxime Ripard
2019-12-13 22:27 ` Rob Herring [this message]
2019-11-30 20:23 ` [PATCH v4 2/3] Bluetooth: hci_h5: Add DT support for rtl8723bs Hugo Grostabussiat
2019-11-30 20:23 ` [PATCH v4 3/3] arm64: dts: allwinner: a64: Enable Bluetooth on Teres-I Hugo Grostabussiat
2019-12-02 19:03 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191213222735.GA456@bogus \
--to=robh@kernel.org \
--cc=bonstra@bonstra.fr.eu.org \
--cc=devicetree@vger.kernel.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mark.rutland@arm.com \
--cc=mripard@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).