Skip to contentSkip to conversation

dt-bindings: rtc: pcf8523: Convert to YAML

PATCH Applied Fabio Estevam 4 participants 4 messages Sep 5, 2023 – Oct 15, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: rtc: pcf8523: Convert to YAML

From: Fabio Estevam <[email protected]>

Convert the PCF8523 bindings from text format to YAML.

The YAML format is preferred as it allows validation.

---
Changes since v2:
- Fix the default quartz-load-femtofarads value. (Javier)

 .../devicetree/bindings/rtc/nxp,pcf8523.txt   | 18 --------
 .../devicetree/bindings/rtc/nxp,pcf8523.yaml  | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/nxp,pcf8523.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml
Documentation/devicetree/bindings/rtc/nxp,pcf8523.txt deleted +0 -18
deleted file mode 100644
index 0b1080c60f63..000000000000
@@ -1,18 +0,0 @@
-* NXP PCF8523 Real Time Clock
-
-Required properties:
-- compatible: Should contain "nxp,pcf8523".
-- reg: I2C address for chip.
-
-Optional property:
-- quartz-load-femtofarads: The capacitive load of the quartz(x-tal),
-  expressed in femto Farad (fF). Valid values are 7000 and 12500.
-  Default value (if no value is specified) is 12500fF.
-
-Example:
-
-pcf8523: rtc@68 {
-	compatible = "nxp,pcf8523";
-	reg = <0x68>;
-	quartz-load-femtofarads = <7000>;
-};
Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.34.1
Reviewed-by on v3 1/1
#1 lore raw
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Convert the PCF8523 bindings from text format to YAML.

The YAML format is preferred as it allows validation.

---
Changes since v2:
- Fix the default quartz-load-femtofarads value. (Javier)

For the future, please keep also previous changelogs. Otherwise I would assume that my feedback from v1 was not implemented.

Best regards,
Krzysztof

maintainer Applied
#3 lore raw
In reply to Fabio Estevam
Quoted 5 lines · Fabio Estevam

Convert the PCF8523 bindings from text format to YAML.

The YAML format is preferred as it allows validation.

Applied, thanks!

[1/1] dt-bindings: rtc: pcf8523: Convert to YAML

      commit: 539cbe1b81f44e13103795e41f2e000fdc170859

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com