Skip to content
Commit 4d276e4d authored by Conor Dooley's avatar Conor Dooley Committed by Rob Herring
Browse files

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: 7e38085d ("dt-bindings: riscv: add SBI PMU event mappings")
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarAtish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20230404-tractor-confusing-8852e552539a@spud


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 37f225ec
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