summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-12-21 16:59:40 +0300
committerAnup Patel <anup@brainfault.org>2022-12-24 08:35:09 +0300
commit391ec858751499d0e3de897a931ce045e4e466a7 (patch)
tree4eb4ef0d0a2384a98db182a95bd3de29b7775026
parentb848d8763a737de44b64bfc036c8f51200226440 (diff)
downloadopensbi-391ec858751499d0e3de897a931ce045e4e466a7.tar.xz
docs: pmu: fix binding example
The first PMU binding example does not terminate properties with a ;, which is invalid. Noticed while converting the binding to yaml. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Anup Patel <anup@brainfault.org>
-rw-r--r--docs/pmu_support.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/pmu_support.md b/docs/pmu_support.md
index 1db36fc..1a16bad 100644
--- a/docs/pmu_support.md
+++ b/docs/pmu_support.md
@@ -70,17 +70,17 @@ via platform hooks rather than the device tree.
```
pmu {
compatible = "riscv,pmu";
- riscv,event-to-mhpmevent = <0x0000B 0x0000 0x0001>,
+ riscv,event-to-mhpmevent = <0x0000B 0x0000 0x0001>;
riscv,event-to-mhpmcounters = <0x00001 0x00001 0x00000001>,
<0x00002 0x00002 0x00000004>,
<0x00003 0x0000A 0x00000ff8>,
- <0x10000 0x10033 0x000ff000>,
+ <0x10000 0x10033 0x000ff000>;
/* For event ID 0x0002 */
riscv,raw-event-to-mhpmcounters = <0x0000 0x0002 0xffffffff 0xffffffff 0x00000f8>,
/* For event ID 0-4 */
<0x0 0x0 0xffffffff 0xfffffff0 0x00000ff0>,
/* For event ID 0xffffffff0000000f - 0xffffffff000000ff */
- <0xffffffff 0x0 0xffffffff 0xffffff0f 0x00000ff0>,
+ <0xffffffff 0x0 0xffffffff 0xffffff0f 0x00000ff0>;
};
```