zephyr/dts/bindings/rtc/rtc-device.yaml
Bjarki Arge Andreasen 9eae6fda99 dts/bindings/rtc/rtc-device.yaml: alarms-count optional
This commit makes the alarms-count dts property of the
rtc-device.yaml optional, setting the default to 0.

This simplifies the dts rtc dts node by not requiring
the property to be set to 0 if it is not supported.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
2023-04-20 11:43:35 +02:00

16 lines
377 B
YAML

# Copyright (c) 2022 Bjarki Arge Andreasen
# SPDX-License-Identifier: Apache-2.0
include: base.yaml
description: RTC (real-time clock) device common bindings
properties:
alarms-count:
type: int
default: 0
description: |
Number of alarms supported by RTC device. The number of
alarms defaults to 0, which indicates that the RTC has
no alarms.