Skip to content

Commit 1b2f85a

Browse files
JC-WValexandrebelloni
authored andcommitted
dt-bindings: rtc: nxp,pcf8563: move pcf85263/pcf85363 to a dedicated binding
These Real Time Clocks are managed by the rtc-pcf85363 device driver, which now supports the quartz-load-femtofarads property. Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230215081815.3141776-2-javier.carrasco@wolfvision.net Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent a783c96 commit 1b2f85a

2 files changed

Lines changed: 60 additions & 2 deletions

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/nxp,pcf85363.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Philips PCF85263/PCF85363 Real Time Clock
8+
9+
maintainers:
10+
- Alexandre Belloni <alexandre.belloni@bootlin.com>
11+
12+
allOf:
13+
- $ref: rtc.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- nxp,pcf85263
19+
- nxp,pcf85363
20+
21+
reg:
22+
maxItems: 1
23+
24+
"#clock-cells":
25+
const: 0
26+
27+
clock-output-names:
28+
maxItems: 1
29+
30+
interrupts:
31+
maxItems: 1
32+
33+
quartz-load-femtofarads:
34+
description:
35+
The capacitive load of the quartz(x-tal).
36+
enum: [6000, 7000, 12500]
37+
default: 7000
38+
39+
start-year: true
40+
wakeup-source: true
41+
42+
required:
43+
- compatible
44+
- reg
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
i2c {
51+
#address-cells = <1>;
52+
#size-cells = <0>;
53+
54+
rtc@51 {
55+
compatible = "nxp,pcf85363";
56+
reg = <0x51>;
57+
#clock-cells = <0>;
58+
quartz-load-femtofarads = <12500>;
59+
};
60+
};

Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ properties:
1919
- microcrystal,rv8564
2020
- nxp,pca8565
2121
- nxp,pcf8563
22-
- nxp,pcf85263
23-
- nxp,pcf85363
2422

2523
reg:
2624
maxItems: 1

0 commit comments

Comments
 (0)