dts: bindings: added bindings for Reset Controller Driver
added bindings and compatible for reset controller nodes added bindings for devices that use the reset controller Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
This commit is contained in:
parent
8e027b9ad3
commit
ae3d53a491
10
dts/bindings/reset/reset-controller.yaml
Normal file
10
dts/bindings/reset/reset-controller.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2022 Andrei-Edward Popa <andrei.popa105@yahoo.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Reset Controller
|
||||
|
||||
properties:
|
||||
"#reset-cells":
|
||||
type: int
|
||||
required: true
|
||||
description: Number of cells in reset property
|
15
dts/bindings/reset/reset-device.yaml
Normal file
15
dts/bindings/reset/reset-device.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2022 Andrei-Edward Popa
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: This file needs to be included by devices that need a reset controller.
|
||||
|
||||
properties:
|
||||
resets:
|
||||
type: phandle-array
|
||||
required: false
|
||||
description: Reset information
|
||||
|
||||
reset-names:
|
||||
type: string-array
|
||||
required: false
|
||||
description: Name of each reset
|
Loading…
Reference in a new issue