Skip to content

Commit 4d276e4

Browse files
ConchuODrobherring
authored andcommitted
dt-bindings: perf: riscv,pmu: fix property dependencies
Seemingly I mis-implemented the dependencies here. The OpenSBI docs only point out that the "riscv,event-to-mhpmcounters property is mandatory if riscv,event-to-mhpmevent is present". It never claims that riscv,event-to-mhpmcounters requires riscv,event-to-mhpmevent. Drop the dependency of riscv,event-to-mhpmcounters on riscv,event-to-mhpmevent. Fixes: 7e38085 ("dt-bindings: riscv: add SBI PMU event mappings") Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20230404-tractor-confusing-8852e552539a@spud Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 37f225e commit 4d276e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Documentation/devicetree/bindings/perf/riscv,pmu.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ properties:
9191

9292
dependencies:
9393
"riscv,event-to-mhpmevent": [ "riscv,event-to-mhpmcounters" ]
94-
"riscv,event-to-mhpmcounters": [ "riscv,event-to-mhpmevent" ]
9594

9695
required:
9796
- compatible

0 commit comments

Comments
 (0)