Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Svyatoslav Ryhel and committed by
Alexandre Belloni
96a77ec5 22543831

+32 -18
-18
Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
··· 1 - Motorola CPCAP PMIC RTC 2 - ----------------------- 3 - 4 - This module is part of the CPCAP. For more details about the whole 5 - chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. 6 - 7 - Requires node properties: 8 - - compatible: should contain "motorola,cpcap-rtc" 9 - - interrupts: An interrupt specifier for alarm and 1 Hz irq 10 - 11 - Example: 12 - 13 - &cpcap { 14 - cpcap_rtc: rtc { 15 - compatible = "motorola,cpcap-rtc"; 16 - interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>; 17 - }; 18 - };
+32
Documentation/devicetree/bindings/rtc/motorola,cpcap-rtc.yaml
··· 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 + ...