OSDN Git Service

dt-bindings: arm: move cpu-capacity to a shared loation
authorConor Dooley <conor.dooley@microchip.com>
Wed, 4 Jan 2023 18:05:13 +0000 (18:05 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 15 Feb 2023 03:24:05 +0000 (19:24 -0800)
commit7d2078310cbf0fa7fb4323d595fe093c418dcd37
tree2d8cd1c0f03edb4819d4e5ed24db584554f3bf6f
parentc1d6105869464635d8a2bcf87a43c05f4c0cfca4
dt-bindings: arm: move cpu-capacity to a shared loation

RISC-V uses the same generic topology code as arm64 & while there
currently exists no binding for cpu-capacity on RISC-V, the code paths
can be hit if the property is present.

Move the documentation of cpu-capacity to a shared location, ahead of
defining a binding for capacity-dmips-mhz on RISC-V. Update some
references to this document in the process.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Link: https://lore.kernel.org/r/20230104180513.1379453-2-conor@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/devicetree/bindings/arm/cpus.yaml
Documentation/devicetree/bindings/cpu/cpu-capacity.txt [moved from Documentation/devicetree/bindings/arm/cpu-capacity.txt with 98% similarity]
Documentation/scheduler/sched-capacity.rst
Documentation/translations/zh_CN/scheduler/sched-capacity.rst