Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml
Extension
.yaml
Size
1293 bytes
Lines
56
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/bluetooth/mediatek,mt7921s-bluetooth.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT7921S Bluetooth

maintainers:
  - Sean Wang <sean.wang@mediatek.com>

description:
  MT7921S is an SDIO-attached dual-radio WiFi+Bluetooth Combo chip; each
  function is its own SDIO function on a shared SDIO interface. The chip
  has two dedicated reset lines, one for each function core.
  This binding only covers the Bluetooth SDIO function, with one device
  node describing only this SDIO function.

allOf:
  - $ref: bluetooth-controller.yaml#

properties:
  compatible:
    enum:
      - mediatek,mt7921s-bluetooth

  reg:
    const: 2

  reset-gpios:
    maxItems: 1
    description:
      An active-low reset line for the Bluetooth core; on typical M.2
      key E modules this is the W_DISABLE2# pin.

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    mmc {
        #address-cells = <1>;
        #size-cells = <0>;

        bluetooth@2 {
            compatible = "mediatek,mt7921s-bluetooth";
            reg = <2>;
            reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
        };
    };

Annotation

Implementation Notes