Skip to content

Commit 3b14973

Browse files
nandojvedkalowsk
authored andcommitted
drivers: rtc: sam: Add platform on API test coverage
The #81456 fixed the driver issue related to issue #81454. This add the RTC configurations on sam_v71_xult board to enable test coverage. Fixes #81454 Signed-off-by: Gerson Fernando Budke <[email protected]> (cherry picked from commit cffb66f)
1 parent aae851f commit 3b14973

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

boards/atmel/sam/sam_v71_xult/sam_v71_xult-common.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2017 Piotr Mienkowski
33
* Copyright (c) 2017 Justin Watson
44
* Copyright (c) 2020 Stephanos Ioannidis <[email protected]>
5-
* Copyright (c) 2019-2022 Gerson Fernando Budke <[email protected]>
5+
* Copyright (c) 2019-2024 Gerson Fernando Budke <[email protected]>
66
*
77
* SPDX-License-Identifier: Apache-2.0
88
*/
@@ -17,6 +17,7 @@
1717
led0 = &yellow_led1;
1818
pwm-led0 = &pwm_led0;
1919
pwm-0 = &pwm0;
20+
rtc = &rtc;
2021
sw0 = &sw0_user_button;
2122
sw1 = &sw1_user_button;
2223
watchdog0 = &wdt;
@@ -336,6 +337,10 @@ zephyr_udc0: &usbhs {
336337
};
337338
};
338339

340+
&rtc {
341+
status = "okay";
342+
};
343+
339344
ext1_spi: &spi0 {
340345
};
341346

boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ supported:
2222
- i2s
2323
- pwm
2424
- netif:eth
25+
- rtc
2526
- spi
2627
- usb_device
2728
- watchdog

boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21b.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ supported:
2222
- i2s
2323
- pwm
2424
- netif:eth
25+
- rtc
2526
- spi
2627
- usb_device
2728
- watchdog
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_RTC_ALARM=y
2+
CONFIG_RTC_UPDATE=y
3+
CONFIG_RTC_CALIBRATION=y
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_RTC_ALARM=y
2+
CONFIG_RTC_UPDATE=y
3+
CONFIG_RTC_CALIBRATION=y

0 commit comments

Comments
 (0)