Skip to content

Commit 8b30b09

Browse files
minying0829alexandrebelloni
authored andcommitted
dt-bindings: rtc: nuvoton: add NCT3018Y Real Time Clock
Document devicetree bindings for the Nuvoton NCT3018Y Real Time Clock. Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Mia Lin <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 10e1fb8 commit 8b30b09

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/nuvoton,nct3018y.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NUVOTON NCT3018Y Real Time Clock
8+
9+
allOf:
10+
- $ref: "rtc.yaml#"
11+
12+
maintainers:
13+
- Medad CChien <[email protected]>
14+
- Mia Lin <[email protected]>
15+
16+
properties:
17+
compatible:
18+
const: nuvoton,nct3018y
19+
20+
reg:
21+
maxItems: 1
22+
23+
start-year: true
24+
25+
reset-source: true
26+
27+
required:
28+
- compatible
29+
- reg
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
i2c {
36+
#address-cells = <1>;
37+
#size-cells = <0>;
38+
39+
rtc@6f {
40+
compatible = "nuvoton,nct3018y";
41+
reg = <0x6f>;
42+
};
43+
};
44+
45+
...

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,6 +2446,7 @@ S: Supported
24462446
F: Documentation/devicetree/bindings/*/*/*npcm*
24472447
F: Documentation/devicetree/bindings/*/*npcm*
24482448
F: Documentation/devicetree/bindings/arm/npcm/*
2449+
F: Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml
24492450
F: arch/arm/boot/dts/nuvoton-npcm*
24502451
F: arch/arm/mach-npcm/
24512452
F: drivers/*/*npcm*

0 commit comments

Comments
 (0)