9eae6fda99
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>
16 lines
377 B
YAML
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.
|