mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
93eff1e0e6
Make the pattern matching node names a bit stricter to improve DTS consistency. The pattern is restricted to: 1. Only one unit address or one -N suffix, 2. -N suffixes to decimal numbers. Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20230530144851.92059-4-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
72 lines
2.0 KiB
YAML
72 lines
2.0 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/rtc/rtc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Real Time Clock Common Properties
|
|
|
|
maintainers:
|
|
- Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
|
|
description: |
|
|
This document describes generic bindings which can be used to
|
|
describe Real Time Clock devices in a device tree.
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$"
|
|
|
|
aux-voltage-chargeable:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum: [0, 1]
|
|
description: |
|
|
Tells whether the battery/supercap of the RTC (if any) is
|
|
chargeable or not:
|
|
0: not chargeable
|
|
1: chargeable
|
|
|
|
quartz-load-femtofarads:
|
|
description:
|
|
The capacitive load of the quartz(x-tal), expressed in femto
|
|
Farad (fF). The default value shall be listed (if optional),
|
|
and likewise all valid values.
|
|
|
|
start-year:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description:
|
|
If provided, the default hardware range supported by the RTC is
|
|
shifted so the first usable year is the specified one.
|
|
|
|
trickle-diode-disable:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Do not use internal trickle charger diode. Should be given if
|
|
internal trickle charger diode should be disabled.
|
|
deprecated: true
|
|
|
|
trickle-resistor-ohms:
|
|
description:
|
|
Selected resistor for trickle charger. Should be given
|
|
if trickle charger should be enabled.
|
|
|
|
trickle-voltage-millivolt:
|
|
description:
|
|
Selected voltage for trickle charger. Should be given
|
|
if trickle charger should be enabled and the trickle voltage is different
|
|
from the RTC main power supply.
|
|
|
|
wakeup-source:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Enables wake up of host system on alarm.
|
|
|
|
reset-source:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
The RTC is able to reset the machine.
|
|
|
|
additionalProperties: true
|
|
|
|
...
|