mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

Reference common serial properties schema (for children of UART controllers) to bring common definition of "current-speed" and "max-speed" properties. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240811-dt-bindings-serial-peripheral-props-v1-5-1dba258b7492@linaro.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
50 lines
920 B
YAML
50 lines
920 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/bluetooth/marvell,88w8897.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Marvell Bluetooth chips
|
|
|
|
description: |
|
|
This documents the binding structure and common properties for serial
|
|
attached Marvell Bluetooth devices.
|
|
|
|
maintainers:
|
|
- Rob Herring <robh@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- mrvl,88w8897
|
|
- mrvl,88w8997
|
|
|
|
max-speed: true
|
|
|
|
required:
|
|
- compatible
|
|
|
|
allOf:
|
|
- $ref: /schemas/serial/serial-peripheral-props.yaml#
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: mrvl,88w8997
|
|
then:
|
|
properties:
|
|
max-speed: true
|
|
else:
|
|
properties:
|
|
max-speed: false
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
serial {
|
|
bluetooth {
|
|
compatible = "mrvl,88w8897";
|
|
};
|
|
};
|