[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 0/2] arm/rtc: enable pl031 for arm64
RTC is important for arm64 to get wall time. pl031 is the first choice for the most arm platform even the virtual platform like qemu. Enable it here. The rtc driver code depends on a fdt interface lies in Justin's patch, so cover it in this patch set. Then this patch can integrate into unikraft without dependency. Change log: v1 to v2: 1) move general terms from pl031.c to rtc.c. 2) add rtc_dev as ops function's parameter. 3) address other comments from Sharan. 4) include fdt patch from Justin to let this patch set be independent. Jia He (1): plat/ofw: add fdt_node_offset_idx_by_compatible_list Jianyong Wu (1): arm/rtc: enable pl031 for arm64. plat/common/arm/time.c | 3 + plat/drivers/include/ofw/fdt.h | 28 +++++ plat/drivers/include/rtc/rtc.h | 75 +++++++++++ plat/drivers/ofw/fdt.c | 18 +++ plat/drivers/rtc/pl031.c | 223 +++++++++++++++++++++++++++++++++ plat/drivers/rtc/rtc.c | 189 ++++++++++++++++++++++++++++ plat/kvm/Config.uk | 5 + plat/kvm/Makefile.uk | 12 +- 8 files changed, 552 insertions(+), 1 deletion(-) create mode 100644 plat/drivers/include/rtc/rtc.h create mode 100644 plat/drivers/rtc/pl031.c create mode 100644 plat/drivers/rtc/rtc.c -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |