Skip to content

Commit 96a77ec

Browse files
clamor-salexandrebelloni
authored andcommitted
dt-bindings: rtc: cpcap: convert to schema
Convert RTC devicetree bindings for the Motorola CPCAP MFD from TXT to YAML format. This patch does not change any functionality; the bindings remain the same. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Link: https://patch.msgid.link/20260125134302.45958-7-clamor95@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 2254383 commit 96a77ec

2 files changed

Lines changed: 32 additions & 18 deletions

File tree

Documentation/devicetree/bindings/rtc/cpcap-rtc.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/motorola,cpcap-rtc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Motorola CPCAP PMIC RTC
8+
9+
maintainers:
10+
- Svyatoslav Ryhel <clamor95@gmail.com>
11+
12+
description:
13+
This module is part of the Motorola CPCAP MFD device. For more details
14+
see Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml. The
15+
RTC is represented as a sub-node of the PMIC node on the device tree.
16+
17+
properties:
18+
compatible:
19+
const: motorola,cpcap-rtc
20+
21+
interrupts:
22+
items:
23+
- description: alarm interrupt
24+
- description: 1 Hz interrupt
25+
26+
required:
27+
- compatible
28+
- interrupts
29+
30+
additionalProperties: false
31+
32+
...

0 commit comments

Comments
 (0)