Commit 1bd524f7 authored by Anup Patel's avatar Anup Patel Committed by Palmer Dabbelt

dt-bindings: Add common bindings for ARM and RISC-V idle states

The RISC-V CPU idle states will be described in under the
/cpus/idle-states DT node in the same way as ARM CPU idle
states.

This patch adds common bindings documentation for both ARM
and RISC-V idle states.
Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 6abf32f1
...@@ -81,4 +81,4 @@ Example: ...@@ -81,4 +81,4 @@ Example:
}; };
}; };
[1]. Documentation/devicetree/bindings/arm/idle-states.yaml [1]. Documentation/devicetree/bindings/cpu/idle-states.yaml
...@@ -101,7 +101,7 @@ properties: ...@@ -101,7 +101,7 @@ properties:
bindings in [1]) must specify this property. bindings in [1]) must specify this property.
[1] Kernel documentation - ARM idle states bindings [1] Kernel documentation - ARM idle states bindings
Documentation/devicetree/bindings/arm/idle-states.yaml Documentation/devicetree/bindings/cpu/idle-states.yaml
patternProperties: patternProperties:
"^power-domain-": "^power-domain-":
......
...@@ -99,6 +99,12 @@ properties: ...@@ -99,6 +99,12 @@ properties:
- compatible - compatible
- interrupt-controller - interrupt-controller
cpu-idle-states:
$ref: '/schemas/types.yaml#/definitions/phandle-array'
description: |
List of phandles to idle state nodes supported
by this hart (see ./idle-states.yaml).
required: required:
- riscv,isa - riscv,isa
- interrupt-controller - interrupt-controller
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment