mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Bluetooth controllers share the common local-bd-address property. Add a generic YAML schema to replace bluetooth.txt for those. Signed-off-by: Sven Peter <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
30 lines
865 B
YAML
30 lines
865 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/bluetooth/bluetooth-controller.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Bluetooth Controller Generic Binding
|
|
|
|
maintainers:
|
|
- Marcel Holtmann <[email protected]>
|
|
- Johan Hedberg <[email protected]>
|
|
- Luiz Augusto von Dentz <[email protected]>
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^bluetooth(@.*)?$"
|
|
|
|
local-bd-address:
|
|
$ref: /schemas/types.yaml#/definitions/uint8-array
|
|
maxItems: 6
|
|
description:
|
|
Specifies the BD address that was uniquely assigned to the Bluetooth
|
|
device. Formatted with least significant byte first (little-endian), e.g.
|
|
in order to assign the address 00:11:22:33:44:55 this property must have
|
|
the value [55 44 33 22 11 00].
|
|
|
|
additionalProperties: true
|
|
|
|
...
|