utils: fdt: Add fdt helper functions to parse PMU DT nodes
authorAtish Patra <atish.patra@wdc.com>
Sat, 10 Jul 2021 16:18:12 +0000 (09:18 -0700)
committerAnup Patel <anup@brainfault.org>
Sun, 11 Jul 2021 04:57:57 +0000 (10:27 +0530)
commitae72ec091508196e29c07ae46bca106373d31e39
tree52334794028e4e4f49206d7b4274476e4b108d62
parent13d40f21d588e17a31624ed415f114987b6bd3d0
utils: fdt: Add fdt helper functions to parse PMU DT nodes

The PMU DT node bindings are defined in docs/pmu_support.md
Add few fdt helper functions to parse the DT node and update the
event-counter mapping tables.

Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/fdt/fdt_pmu.h [new file with mode: 0644]
lib/utils/fdt/fdt_fixup.c
lib/utils/fdt/fdt_pmu.c [new file with mode: 0644]
lib/utils/fdt/objects.mk