mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding. Even though the ideal solution would be to use unevaluatedProperties instead, it's not pratical due to the way the bus bindings have been described. Let's add max-speed to remove the warning. Cc: Alistair Francis <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: [email protected] Cc: Vasily Khoruzhick <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth Device Tree Bindings
|
|
|
|
maintainers:
|
|
- Vasily Khoruzhick <[email protected]>
|
|
- Alistair Francis <[email protected]>
|
|
|
|
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:
|
|
enum:
|
|
- 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
|
|
description: GPIO specifier, used to wakeup the host processor
|
|
|
|
max-speed: true
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
|
uart-has-rtscts;
|
|
|
|
bluetooth {
|
|
compatible = "realtek,rtl8723bs-bt";
|
|
device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
|
|
host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
|
};
|
|
};
|