Add a 'title' keyword to the binding to provide a short description of the binding, while 'description' serves as the long description. Signed-off-by: James Roy <rruuaanng@outlook.com>
39 lines
590 B
YAML
39 lines
590 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
title: Test binding
|
|
|
|
description: Property default value test
|
|
|
|
compatible: "defaults"
|
|
|
|
properties:
|
|
int:
|
|
type: int
|
|
required: false
|
|
default: 123
|
|
|
|
array:
|
|
type: array
|
|
required: false
|
|
default: [1, 2, 3]
|
|
|
|
uint8-array:
|
|
type: uint8-array
|
|
required: false
|
|
default: [0x89, 0xAB, 0xCD]
|
|
|
|
string:
|
|
type: string
|
|
required: false
|
|
default: "hello"
|
|
|
|
string-array:
|
|
type: string-array
|
|
required: false
|
|
default: ["hello", "there"]
|
|
|
|
default-not-used:
|
|
type: int
|
|
required: false
|
|
default: 123
|