# \[PATCH v2 08/52\] dt-bindings: bluetooth: realtek: Add missing max-speed

- Subsystems: NETWORKING DRIVERS, OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, THE REST
- Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds
- Status: REVIEWED · 2 reviews, 1 by a maintainer (M Rob Herring Alistair Francis)
- Reviewed.
- Revision v2 (2 revisions archived); 2 review trailers (1 from subsystem maintainers).
- List: netdev
- 1 message, 1 author
- Page: https://ratatoskr.run/netdev/2021/09/8194435/t

## \[PATCH v2 08/52\] dt-bindings: bluetooth: realtek: Add missing max-speed

- From: Maxime Ripard \<hidden\>
- Date: 2021-09-01 09:19:19 
- Message: https://ratatoskr.run/netdev/2021/09/8194435.md

```text
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 <redacted>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: <redacted>
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Alistair Francis <redacted>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <redacted>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
index 0634e69dd9a6..157d606bf9cb 100644
--- a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
@@ -34,6 +34,8 @@ properties:
     maxItems: 1
     description: GPIO specifier, used to wakeup the host processor
 
+  max-speed: true
+
 required:
   - compatible
 
-- 
2.31.1

```
