-
Notifications
You must be signed in to change notification settings - Fork 7.7k
drivers: rtc_sam: update to support Microchip sama7g54 RTC #91332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
|
Update west.yml for SAMA7G54 HAL Signed-off-by: Tony Han <tony.han@microchip.com>
The basic characteristics of "atmel,sam-rtc" is the same as the ones of sama7g5. Differences between the RTCs listed bellow: | atmel,sam-rtc | rtc in sama7g5 --------------------|---------------|---------------------- Persian calendar | Y | N UTC Mode support | N | Y Tamper Timestamping | N | Y Signed-off-by: Tony Han <tony.han@microchip.com>
The RTC node is added for sama7g5.dtsi file. Signed-off-by: Tony Han <tony.han@microchip.com>
Enable tests: tests/drivers/rtc/rtc_api. Signed-off-by: Tony Han <tony.han@microchip.com>
reg = <0xe001d0a8 0x30>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>; | ||
clocks = <&clk32k 1>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this fixed or user should select it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RTC clock is from the slow clock. Details in datasheet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool :)
Changes listed bellow:
hal_microchip
inyest.yml
drivers/rtc/rtc_sam.c
for undefined registers for sama7g54sama7g5.dtsi
test/drivers/rtc/rtc_api/boards
for sama7g54-ek